pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-anywidget: New Package for custom jupyter widgets



Module Name:	pkgsrc-wip
Committed By:	Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By:	matthewd
Date:		Thu Jun 27 06:41:01 2024 -0600
Changeset:	a115fcd160af7e2f3b4744726dca904fb5a13fe8

Added Files:
	py-anywidget/DESCR
	py-anywidget/Makefile
	py-anywidget/PLIST
	py-anywidget/distinfo

Log Message:
py-anywidget: New Package for custom jupyter widgets

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a115fcd160af7e2f3b4744726dca904fb5a13fe8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-anywidget/DESCR    |  8 ++++++++
 py-anywidget/Makefile | 28 ++++++++++++++++++++++++++
 py-anywidget/PLIST    | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
 py-anywidget/distinfo |  7 +++++++
 4 files changed, 97 insertions(+)

diffs:
diff --git a/py-anywidget/DESCR b/py-anywidget/DESCR
new file mode 100644
index 0000000000..1063e0ad09
--- /dev/null
+++ b/py-anywidget/DESCR
@@ -0,0 +1,8 @@
+anywidget uses modern web standards to simplify authoring and
+distributing custom Jupyter Widgets.
+
+* create widgets without complicated cookiecutter templates
+* publish to PyPI like any other Python package
+* prototype within .ipynb or .py files
+* run in Jupyter, JupyterLab, Google Colab, VSCode, and more
+* develop with instant HMR, like modern web frameworks
diff --git a/py-anywidget/Makefile b/py-anywidget/Makefile
new file mode 100644
index 0000000000..4ca0baca25
--- /dev/null
+++ b/py-anywidget/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+DISTNAME=	anywidget-0.9.13
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	# TODO: add primary category
+MASTER_SITES=	${MASTER_SITE_PYPI:=a/anywidget/}
+
+MAINTAINER=	matthewd%fastmail.us@localhost # or use pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://pypi.org/project/anywidget/
+COMMENT=	Custom jupyter widgets made easy
+LICENSE=	mit
+
+USE_LANGUAGES=	# none
+PYTHON_VERSIONS_INCOMPATIBLE= 27 38
+
+DEPENDS+=	${PYPKGPREFIX}-ipywidgets>=7.0.0:../../www/py-ipywidgets
+DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=4.12.2:../../devel/py-typing-extensions
+DEPENDS+=	${PYPKGPREFIX}-psygnal>=0.11.1:../../wip/py-psygnal
+DEPENDS+=	${PYPKGPREFIX}-hatch-jupyter-builder>=0.9.1:../../devel/py-hatch-jupyter-builder
+
+TEST_DEPENDS+=	${PYPKGPREFIX}-test>=4.3.1:../../devel/py-test
+TEST_DEPENDS+=	${PYPKGPREFIX}-watchfiles>=0.22.0:../../misc/py-watchfiles
+
+CONF_FILES=	${PREFIX}/share/examples/jupyter/nbconfig/notebook.d/anywidget.json \
+			${PKG_SYSCONFDIR}/jupyter/nbconfig/notebook.d/anywidget.json
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-anywidget/PLIST b/py-anywidget/PLIST
new file mode 100644
index 0000000000..e8a7a34782
--- /dev/null
+++ b/py-anywidget/PLIST
@@ -0,0 +1,54 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/anywidget/__init__.py
+${PYSITELIB}/anywidget/__init__.pyc
+${PYSITELIB}/anywidget/__init__.pyo
+${PYSITELIB}/anywidget/_cellmagic.py
+${PYSITELIB}/anywidget/_cellmagic.pyc
+${PYSITELIB}/anywidget/_cellmagic.pyo
+${PYSITELIB}/anywidget/_descriptor.py
+${PYSITELIB}/anywidget/_descriptor.pyc
+${PYSITELIB}/anywidget/_descriptor.pyo
+${PYSITELIB}/anywidget/_file_contents.py
+${PYSITELIB}/anywidget/_file_contents.pyc
+${PYSITELIB}/anywidget/_file_contents.pyo
+${PYSITELIB}/anywidget/_protocols.py
+${PYSITELIB}/anywidget/_protocols.pyc
+${PYSITELIB}/anywidget/_protocols.pyo
+${PYSITELIB}/anywidget/_util.py
+${PYSITELIB}/anywidget/_util.pyc
+${PYSITELIB}/anywidget/_util.pyo
+${PYSITELIB}/anywidget/_version.py
+${PYSITELIB}/anywidget/_version.pyc
+${PYSITELIB}/anywidget/_version.pyo
+${PYSITELIB}/anywidget/experimental.py
+${PYSITELIB}/anywidget/experimental.pyc
+${PYSITELIB}/anywidget/experimental.pyo
+${PYSITELIB}/anywidget/labextension/package.json
+${PYSITELIB}/anywidget/labextension/static/154.6fb5ba6e.js
+${PYSITELIB}/anywidget/labextension/static/154.6fb5ba6e.js.map
+${PYSITELIB}/anywidget/labextension/static/814.869fa0ef.js
+${PYSITELIB}/anywidget/labextension/static/814.869fa0ef.js.map
+${PYSITELIB}/anywidget/labextension/static/main.921b5eef.js
+${PYSITELIB}/anywidget/labextension/static/main.921b5eef.js.map
+${PYSITELIB}/anywidget/labextension/static/remoteEntry.66089da2.js
+${PYSITELIB}/anywidget/nbextension/extension.js
+${PYSITELIB}/anywidget/nbextension/index.js
+${PYSITELIB}/anywidget/py.typed
+${PYSITELIB}/anywidget/widget.py
+${PYSITELIB}/anywidget/widget.pyc
+${PYSITELIB}/anywidget/widget.pyo
+share/examples/jupyter/nbconfig/notebook.d/anywidget.json
+share/jupyter/labextensions/anywidget/package.json
+share/jupyter/labextensions/anywidget/static/154.6fb5ba6e.js
+share/jupyter/labextensions/anywidget/static/154.6fb5ba6e.js.map
+share/jupyter/labextensions/anywidget/static/814.869fa0ef.js
+share/jupyter/labextensions/anywidget/static/814.869fa0ef.js.map
+share/jupyter/labextensions/anywidget/static/main.921b5eef.js
+share/jupyter/labextensions/anywidget/static/main.921b5eef.js.map
+share/jupyter/labextensions/anywidget/static/remoteEntry.66089da2.js
+share/jupyter/nbextensions/anywidget/extension.js
+share/jupyter/nbextensions/anywidget/index.js
diff --git a/py-anywidget/distinfo b/py-anywidget/distinfo
new file mode 100644
index 0000000000..94d9bb9ad3
--- /dev/null
+++ b/py-anywidget/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+BLAKE2s (anywidget-0.9.13.tar.gz) = ce31743c80a42633c76eed332744612038890b0091e0a15ce884432f4bb30497
+SHA512 (anywidget-0.9.13.tar.gz) = 8822a086d7e41006fa1e0d0aebdf56af17c0a98eaf827ab9f8a655bc74f5991491a9c13b50a3359b4d441afbb41cbe3163c5cad5672d5763397117283f1328c8
+Size (anywidget-0.9.13.tar.gz) = 9666998 bytes
+SHA1 (patch-pyproject.toml) = d5777bdfe486e527d91ae9f31c43d6ca4bcc27ae
+SHA1 (patch-tests_test__widget.py) = e2739834c13871ed6041a1252fa35a493e30d1b0


Home | Main Index | Thread Index | Old Index