pkgsrc-Changes-HG archive

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

[.joined/pkgsrc/trunk]: .joined/pkgsrc/devel/py-ipython_genutils py-ipython_g...



details:   https://anonhg.NetBSD.org/.joined/pkgsrc/rev/1b9473a24de1
branches:  trunk
changeset: 370917:1b9473a24de1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 01 17:45:21 2022 +0000

description:
py-ipython_genutils: fix for python 2.7

diffstat:

 devel/py-ipython_genutils/Makefile |   7 ++++++-
 devel/py-ipython_genutils/PLIST    |  10 +++++-----
 2 files changed, 11 insertions(+), 6 deletions(-)

diffs (36 lines):

diff -r 796233ba3160 -r 1b9473a24de1 devel/py-ipython_genutils/Makefile
--- a/devel/py-ipython_genutils/Makefile        Sat Jan 01 17:43:42 2022 +0000
+++ b/devel/py-ipython_genutils/Makefile        Sat Jan 01 17:45:21 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2022/01/01 16:26:34 ryoon Exp $
+# $NetBSD: Makefile,v 1.7 2022/01/01 17:45:21 wiz Exp $
 
 DISTNAME=      ipython_genutils-0.2.0
 PKGREVISION=   2
@@ -14,4 +14,9 @@
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
+
+.if ${PYPKGPREFIX} == "py27"
+_PYSETUPTOOLSINSTALLARGS:=     ${PYSETUPTOOLSINSTALLARGS:N--single-version-externally-managed}
+.endif
+
 .include "../../mk/bsd.pkg.mk"
diff -r 796233ba3160 -r 1b9473a24de1 devel/py-ipython_genutils/PLIST
--- a/devel/py-ipython_genutils/PLIST   Sat Jan 01 17:43:42 2022 +0000
+++ b/devel/py-ipython_genutils/PLIST   Sat Jan 01 17:45:21 2022 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2022/01/01 16:26:34 ryoon Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.4 2022/01/01 17:45:21 wiz Exp $
+${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/ipython_genutils/__init__.py
 ${PYSITELIB}/ipython_genutils/__init__.pyc
 ${PYSITELIB}/ipython_genutils/__init__.pyo



Home | Main Index | Thread Index | Old Index