Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2024 06:18:17 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 931d4dc9fe5f - main - devel/py-anywidget: Add py-anywidget 0.9.13
Message-ID:  <202409180618.48I6IHwm030947@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=931d4dc9fe5fbc2126627d212589256ac3980c89

commit 931d4dc9fe5fbc2126627d212589256ac3980c89
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:50:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:12:59 +0000

    devel/py-anywidget: Add py-anywidget 0.9.13
    
    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, marimo and more
    - Develop with instant HMR, like modern web frameworks
---
 devel/Makefile               |  1 +
 devel/py-anywidget/Makefile  | 26 ++++++++++++++++++++++++++
 devel/py-anywidget/distinfo  |  3 +++
 devel/py-anywidget/pkg-descr |  8 ++++++++
 4 files changed, 38 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index c6371ba4a173..8ed179805bc8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4359,6 +4359,7 @@
     SUBDIR += py-anyio3
     SUBDIR += py-anyjson
     SUBDIR += py-anytree
+    SUBDIR += py-anywidget
     SUBDIR += py-apache_conf_parser
     SUBDIR += py-apipkg
     SUBDIR += py-apispec
diff --git a/devel/py-anywidget/Makefile b/devel/py-anywidget/Makefile
new file mode 100644
index 000000000000..6bdcee50ef8e
--- /dev/null
+++ b/devel/py-anywidget/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	anywidget
+PORTVERSION=	0.9.13
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Custom jupyter widgets made easy
+WWW=		https://anywidget.dev/ \
+		https://github.com/manzt/anywidget
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-jupyter-builder>=0.5.0:devel/py-hatch-jupyter-builder@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+xRUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ipywidgets>=7.6.0:devel/py-ipywidgets@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}psygnal>=0.8.1:devel/py-psygnal@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.2.0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-anywidget/distinfo b/devel/py-anywidget/distinfo
new file mode 100644
index 000000000000..de945edf2341
--- /dev/null
+++ b/devel/py-anywidget/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726487272
+SHA256 (anywidget-0.9.13.tar.gz) = c655455bf51f82182eb23c5947d37cc41f0b1ffacaf7e2b763147a2332cb3f07
+SIZE (anywidget-0.9.13.tar.gz) = 9666998
diff --git a/devel/py-anywidget/pkg-descr b/devel/py-anywidget/pkg-descr
new file mode 100644
index 000000000000..a17cb2ab90a7
--- /dev/null
+++ b/devel/py-anywidget/pkg-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, marimo and more
+- Develop with instant HMR, like modern web frameworks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409180618.48I6IHwm030947>