pkgsrc-Changes-HG archive

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

[.joined/pkgsrc/trunk]: .joined/pkgsrc/sysutils/py-ptyprocess py-ptyprocess: ...



details:   https://anonhg.NetBSD.org/.joined/pkgsrc/rev/e60a830dcb2e
branches:  trunk
changeset: 370915:e60a830dcb2e
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Jan 01 17:42:47 2022 +0000

description:
py-ptyprocess: fix package for python 2.7

diffstat:

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

diffs (36 lines):

diff -r 93855dfde5d2 -r e60a830dcb2e sysutils/py-ptyprocess/Makefile
--- a/sysutils/py-ptyprocess/Makefile   Sat Jan 01 17:33:02 2022 +0000
+++ b/sysutils/py-ptyprocess/Makefile   Sat Jan 01 17:42:47 2022 +0000
@@ -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 @@
        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"
diff -r 93855dfde5d2 -r e60a830dcb2e sysutils/py-ptyprocess/PLIST
--- a/sysutils/py-ptyprocess/PLIST      Sat Jan 01 17:33:02 2022 +0000
+++ b/sysutils/py-ptyprocess/PLIST      Sat Jan 01 17:42:47 2022 +0000
@@ -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