diff --git a/devel/py-ipympl/Makefile b/devel/py-ipympl/Makefile index f26161235e0d..2aeb96d945e5 100644 --- a/devel/py-ipympl/Makefile +++ b/devel/py-ipympl/Makefile @@ -1,39 +1,31 @@ PORTNAME= ipympl -DISTVERSION= 0.9.3 -PORTREVISION= 2 +DISTVERSION= 0.9.4 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= makc@FreeBSD.org COMMENT= Matplotlib Jupyter extension WWW= https://github.com/matplotlib/ipympl LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-packaging>0:devel/py-jupyter-packaging@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipykernel>=4.7:devel/py-ipykernel@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}ipywidgets>=7.6.0:devel/py-ipywidgets@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.0.0:math/py-matplotlib@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-jupyter-builder>=0.8.3:devel/py-hatch-jupyter-builder@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatch-nodejs-version>=0.3.2:devel/py-hatch-nodejs-version@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.0.0:devel/py-jupyterlab@${PY_FLAVOR} +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.0.0:devel/py-jupyterlab@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.4.0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}traitlets>0:devel/py-traitlets@${PY_FLAVOR} -USES= python -USE_PYTHON= autoplist distutils +USES= nodejs:build python +USE_PYTHON= autoplist pep517 NO_ARCH= yes -post-install: -# Enable extension for jupyter lab and notebook - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/jupyter/nbconfig/notebook.d && \ - ${INSTALL_DATA} ${WRKSRC}/jupyter-matplotlib.json \ - ${STAGEDIR}${PREFIX}/etc/jupyter/nbconfig/notebook.d/ - ${INSTALL_DATA} ${WRKSRC}/ipympl/labextension/package.json \ - ${STAGEDIR}${PYTHON_SITELIBDIR}/ipympl/nbextension/ - ${MKDIR} ${STAGEDIR}${PREFIX}/share/jupyter/labextensions/ && \ - ${LN} -sf ${PYTHON_SITELIBDIR}/ipympl/labextension \ - ${STAGEDIR}${PREFIX}/share/jupyter/labextensions/jupyter-matplotlib - ${MKDIR} ${STAGEDIR}${PREFIX}/share/jupyter/nbextensions/ && \ - ${LN} -sf ${PYTHON_SITELIBDIR}/ipympl/nbextension \ - ${STAGEDIR}${PREFIX}/share/jupyter/nbextensions/jupyter-matplotlib - .include diff --git a/devel/py-ipympl/distinfo b/devel/py-ipympl/distinfo index e21655257e5e..70fd3c1ad458 100644 --- a/devel/py-ipympl/distinfo +++ b/devel/py-ipympl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1676804541 -SHA256 (ipympl-0.9.3.tar.gz) = 49bab75c05673a6881d1aaec5d8ac81d4624f73d292d154c5fb7096f10236a2b -SIZE (ipympl-0.9.3.tar.gz) = 267567 +TIMESTAMP = 1726831140 +SHA256 (ipympl-0.9.4.tar.gz) = cfb53c5b4fcbcee6d18f095eecfc6c6c474303d5b744e72cc66e7a2804708907 +SIZE (ipympl-0.9.4.tar.gz) = 58552737 diff --git a/devel/py-ipympl/pkg-plist b/devel/py-ipympl/pkg-plist deleted file mode 100644 index c2d944b67976..000000000000 --- a/devel/py-ipympl/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -etc/jupyter/nbconfig/notebook.d/jupyter-matplotlib.json -%%PYTHON_SITELIBDIR%%/ipympl/nbextension/package.json -share/jupyter/labextensions/jupyter-matplotlib -share/jupyter/nbextensions/jupyter-matplotlib