pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/py-ptyprocess



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Jan  1 17:42:47 UTC 2022

Modified Files:
        pkgsrc/sysutils/py-ptyprocess: Makefile PLIST

Log Message:
py-ptyprocess: fix package for python 2.7


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/py-ptyprocess/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/py-ptyprocess/PLIST

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

Modified files:

Index: pkgsrc/sysutils/py-ptyprocess/Makefile
diff -u pkgsrc/sysutils/py-ptyprocess/Makefile:1.5 pkgsrc/sysutils/py-ptyprocess/Makefile:1.6
--- pkgsrc/sysutils/py-ptyprocess/Makefile:1.5  Sat Jan  1 12:29:27 2022
+++ pkgsrc/sysutils/py-ptyprocess/Makefile      Sat Jan  1 17:42:47 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/01/01 12:29:27 martin Exp $
+# $NetBSD: Makefile,v 1.6 2022/01/01 17:42:47 wiz Exp $
 
 DISTNAME=      ptyprocess-0.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -17,4 +17,9 @@ do-test:
        cd ${WRKSRC} && ${PYTHONBIN} -m unittest tests/test_*
 
 .include "../../lang/python/egg.mk"
+
+.if ${PYPKGPREFIX} == "py27"
+_PYSETUPTOOLSINSTALLARGS:=     ${PYSETUPTOOLSINSTALLARGS:N--single-version-externally-managed}
+.endif
+
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/py-ptyprocess/PLIST
diff -u pkgsrc/sysutils/py-ptyprocess/PLIST:1.2 pkgsrc/sysutils/py-ptyprocess/PLIST:1.3
--- pkgsrc/sysutils/py-ptyprocess/PLIST:1.2     Sat Jan  1 12:29:27 2022
+++ pkgsrc/sysutils/py-ptyprocess/PLIST Sat Jan  1 17:42:47 2022
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2022/01/01 12:29:27 martin 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.3 2022/01/01 17:42:47 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}/ptyprocess/__init__.py
 ${PYSITELIB}/ptyprocess/__init__.pyc
 ${PYSITELIB}/ptyprocess/__init__.pyo



Home | Main Index | Thread Index | Old Index