diff options
author | wiz <wiz@pkgsrc.org> | 2022-01-02 00:14:29 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-01-02 00:14:29 +0000 |
commit | fa135c83d3e02527715f7a60a2270a3b26cf36a6 (patch) | |
tree | 5354b314bd2421334d031ffe3f36246e56eb5a8a /www | |
parent | 0a97d364344727a85306938866ebceeb5c468867 (diff) | |
download | pkgsrc-fa135c83d3e02527715f7a60a2270a3b26cf36a6.tar.gz |
py-nbformat: convert to egg.mk
Bump PKGREVISION.
Diffstat (limited to 'www')
-rw-r--r-- | www/py-nbformat/ALTERNATIVES | 1 | ||||
-rw-r--r-- | www/py-nbformat/Makefile | 8 | ||||
-rw-r--r-- | www/py-nbformat/PLIST | 10 |
3 files changed, 15 insertions, 4 deletions
diff --git a/www/py-nbformat/ALTERNATIVES b/www/py-nbformat/ALTERNATIVES new file mode 100644 index 00000000000..e3dc32c1e54 --- /dev/null +++ b/www/py-nbformat/ALTERNATIVES @@ -0,0 +1 @@ +bin/jupyter-trust @PREFIX@/bin/jupyter-trust-@PYVERSSUFFIX@ diff --git a/www/py-nbformat/Makefile b/www/py-nbformat/Makefile index 747c0a10fab..77c24ffd331 100644 --- a/www/py-nbformat/Makefile +++ b/www/py-nbformat/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2021/12/30 13:05:41 adam Exp $ +# $NetBSD: Makefile,v 1.10 2022/01/02 00:14:29 wiz Exp $ DISTNAME= nbformat-5.1.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=n/nbformat/} @@ -22,8 +23,11 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +post-install: + cd ${DESTDIR}${PREFIX}/bin && mv jupyter-trust jupyter-trust-${PYVERSSUFFIX} || ${TRUE} + do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} -.include "../../lang/python/distutils.mk" +.include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-nbformat/PLIST b/www/py-nbformat/PLIST index 83605e6337a..b662b81f893 100644 --- a/www/py-nbformat/PLIST +++ b/www/py-nbformat/PLIST @@ -1,5 +1,11 @@ -@comment $NetBSD: PLIST,v 1.5 2021/06/10 18:57:58 adam Exp $ -${PYSITELIB}/${EGG_FILE} +@comment $NetBSD: PLIST,v 1.6 2022/01/02 00:14:29 wiz Exp $ +bin/jupyter-trust-${PYVERSSUFFIX} +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/entry_points.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt ${PYSITELIB}/nbformat/__init__.py ${PYSITELIB}/nbformat/__init__.pyc ${PYSITELIB}/nbformat/__init__.pyo |