pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-notebook www/py-notebook: Use PLIST.py3x instea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba999c2cfd50
branches:  trunk
changeset: 380099:ba999c2cfd50
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri May 11 19:46:36 2018 +0000

description:
www/py-notebook: Use PLIST.py3x instead of defining new one

Suggested by leot@.

diffstat:

 www/py-notebook/Makefile |  9 +--------
 www/py-notebook/PLIST    |  6 +++---
 2 files changed, 4 insertions(+), 11 deletions(-)

diffs (43 lines):

diff -r 3c47bee6dba4 -r ba999c2cfd50 www/py-notebook/Makefile
--- a/www/py-notebook/Makefile  Fri May 11 19:24:58 2018 +0000
+++ b/www/py-notebook/Makefile  Fri May 11 19:46:36 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2018/05/11 19:24:58 minskim Exp $
+# $NetBSD: Makefile,v 1.8 2018/05/11 19:46:36 minskim Exp $
 
 DISTNAME=      notebook-5.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -25,13 +25,6 @@
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/pyversion.mk"
-
-PLIST_VARS+=   py3
-.if "${PYPKGPREFIX}" != "py27"
-PLIST.py3=     yes
-.endif
-
 post-install:
        for f in jupyter-bundlerextension jupyter-nbextension jupyter-notebook jupyter-serverextension; do \
                ${MV} ${DESTDIR}${PREFIX}/bin/$$f ${DESTDIR}${PREFIX}/bin/$${f}${PYVERSSUFFIX} || ${TRUE}; \
diff -r 3c47bee6dba4 -r ba999c2cfd50 www/py-notebook/PLIST
--- a/www/py-notebook/PLIST     Fri May 11 19:24:58 2018 +0000
+++ b/www/py-notebook/PLIST     Fri May 11 19:46:36 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2018/05/11 19:24:58 minskim Exp $
+@comment $NetBSD: PLIST,v 1.6 2018/05/11 19:46:36 minskim Exp $
 bin/jupyter-bundlerextension${PYVERSSUFFIX}
 bin/jupyter-nbextension${PYVERSSUFFIX}
 bin/jupyter-notebook${PYVERSSUFFIX}
@@ -1421,8 +1421,8 @@
 ${PYSITELIB}/notebook/tests/selenium/undelete.pyc
 ${PYSITELIB}/notebook/tests/selenium/undelete.pyo
 ${PYSITELIB}/notebook/tests/selenium/utils.py
-${PLIST.py3}${PYSITELIB}/notebook/tests/selenium/utils.pyc
-${PLIST.py3}${PYSITELIB}/notebook/tests/selenium/utils.pyo
+${PLIST.py3x}${PYSITELIB}/notebook/tests/selenium/utils.pyc
+${PLIST.py3x}${PYSITELIB}/notebook/tests/selenium/utils.pyo
 ${PYSITELIB}/notebook/tests/services/kernel.js
 ${PYSITELIB}/notebook/tests/services/serialize.js
 ${PYSITELIB}/notebook/tests/services/session.js



Home | Main Index | Thread Index | Old Index