ports/devel/py-anywidget/Makefile
Po-Chuan Hsieh 931d4dc9fe
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
2024-09-18 14:12:59 +08:00

26 lines
841 B
Makefile

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>