pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-gmpy



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jan  2 22:57:36 UTC 2022

Modified Files:
        pkgsrc/math/py-gmpy: Makefile PLIST

Log Message:
py-gmpy: fix for python 2.7


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/math/py-gmpy/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/math/py-gmpy/PLIST

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

Modified files:

Index: pkgsrc/math/py-gmpy/Makefile
diff -u pkgsrc/math/py-gmpy/Makefile:1.11 pkgsrc/math/py-gmpy/Makefile:1.12
--- pkgsrc/math/py-gmpy/Makefile:1.11   Sat Jan  1 16:31:02 2022
+++ pkgsrc/math/py-gmpy/Makefile        Sun Jan  2 22:57:36 2022
@@ -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 @@ do-test:
 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"

Index: pkgsrc/math/py-gmpy/PLIST
diff -u pkgsrc/math/py-gmpy/PLIST:1.4 pkgsrc/math/py-gmpy/PLIST:1.5
--- pkgsrc/math/py-gmpy/PLIST:1.4       Sat Jan  1 16:31:02 2022
+++ pkgsrc/math/py-gmpy/PLIST   Sun Jan  2 22:57:36 2022
@@ -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