pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-nbformat



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jan  2 00:14:29 UTC 2022

Modified Files:
        pkgsrc/www/py-nbformat: Makefile PLIST
Added Files:
        pkgsrc/www/py-nbformat: ALTERNATIVES

Log Message:
py-nbformat: convert to egg.mk

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.3 pkgsrc/www/py-nbformat/ALTERNATIVES
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/py-nbformat/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-nbformat/PLIST

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

Modified files:

Index: pkgsrc/www/py-nbformat/Makefile
diff -u pkgsrc/www/py-nbformat/Makefile:1.9 pkgsrc/www/py-nbformat/Makefile:1.10
--- pkgsrc/www/py-nbformat/Makefile:1.9 Thu Dec 30 13:05:41 2021
+++ pkgsrc/www/py-nbformat/Makefile     Sun Jan  2 00:14:29 2022
@@ -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"

Index: pkgsrc/www/py-nbformat/PLIST
diff -u pkgsrc/www/py-nbformat/PLIST:1.5 pkgsrc/www/py-nbformat/PLIST:1.6
--- pkgsrc/www/py-nbformat/PLIST:1.5    Thu Jun 10 18:57:58 2021
+++ pkgsrc/www/py-nbformat/PLIST        Sun Jan  2 00:14:29 2022
@@ -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

Added files:

Index: pkgsrc/www/py-nbformat/ALTERNATIVES
diff -u /dev/null pkgsrc/www/py-nbformat/ALTERNATIVES:1.3
--- /dev/null   Sun Jan  2 00:14:29 2022
+++ pkgsrc/www/py-nbformat/ALTERNATIVES Sun Jan  2 00:14:29 2022
@@ -0,0 +1 @@
+bin/jupyter-trust @PREFIX@/bin/jupyter-trust-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index