pkgsrc-Changes-HG archive

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

[.joined/pkgsrc/trunk]: .joined/pkgsrc/www/py-nbformat py-nbformat: convert t...



details:   https://anonhg.NetBSD.org/.joined/pkgsrc/rev/1239c6e4ae1f
branches:  trunk
changeset: 370937:1239c6e4ae1f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 02 00:14:29 2022 +0000

description:
py-nbformat: convert to egg.mk

Bump PKGREVISION.

diffstat:

 www/py-nbformat/ALTERNATIVES |   1 +
 www/py-nbformat/Makefile     |   8 ++++++--
 www/py-nbformat/PLIST        |  10 ++++++++--
 3 files changed, 15 insertions(+), 4 deletions(-)

diffs (48 lines):

diff -r 9ae53cf65199 -r 1239c6e4ae1f www/py-nbformat/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-nbformat/ALTERNATIVES      Sun Jan 02 00:14:29 2022 +0000
@@ -0,0 +1,1 @@
+bin/jupyter-trust @PREFIX@/bin/jupyter-trust-@PYVERSSUFFIX@
diff -r 9ae53cf65199 -r 1239c6e4ae1f www/py-nbformat/Makefile
--- a/www/py-nbformat/Makefile  Sun Jan 02 00:01:09 2022 +0000
+++ b/www/py-nbformat/Makefile  Sun Jan 02 00:14:29 2022 +0000
@@ -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 @@
 
 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 -r 9ae53cf65199 -r 1239c6e4ae1f www/py-nbformat/PLIST
--- a/www/py-nbformat/PLIST     Sun Jan 02 00:01:09 2022 +0000
+++ b/www/py-nbformat/PLIST     Sun Jan 02 00:14:29 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index