pkgsrc-Changes-HG archive

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

[.joined/pkgsrc/trunk]: .joined/pkgsrc/math/py-gmpy py-gmpy: fix for python 2.7



details:   https://anonhg.NetBSD.org/.joined/pkgsrc/rev/b2c835817ae8
branches:  trunk
changeset: 370991:b2c835817ae8
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 02 22:57:36 2022 +0000

description:
py-gmpy: fix for python 2.7

diffstat:

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

diffs (34 lines):

diff -r e7de8351c46b -r b2c835817ae8 math/py-gmpy/Makefile
--- a/math/py-gmpy/Makefile     Sun Jan 02 22:57:18 2022 +0000
+++ b/math/py-gmpy/Makefile     Sun Jan 02 22:57:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/01/01 16:31:02 ryoon Exp $
+# $NetBSD: Makefile,v 1.12 2022/01/02 22:57:36 wiz Exp $
 
 DISTNAME=      gmpy-1.17
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -23,4 +23,9 @@
 BUILDLINK_API_DEPENDS.gmp+=    gmp>=4.2.1
 .include "../../devel/gmp/buildlink3.mk"
 .include "../../lang/python/egg.mk"
+
+.if ${PYPKGPREFIX} == "py27"
+_PYSETUPTOOLSINSTALLARGS:=     ${PYSETUPTOOLSINSTALLARGS:N--single-version-externally-managed}
+.endif
+
 .include "../../mk/bsd.pkg.mk"
diff -r e7de8351c46b -r b2c835817ae8 math/py-gmpy/PLIST
--- a/math/py-gmpy/PLIST        Sun Jan 02 22:57:18 2022 +0000
+++ b/math/py-gmpy/PLIST        Sun Jan 02 22:57:36 2022 +0000
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.4 2022/01/01 16:31:02 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.5 2022/01/02 22:57:36 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}/gmpy.so



Home | Main Index | Thread Index | Old Index