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-pexpect py-pexpect: fix for p...



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

description:
py-pexpect: fix for python 2.7

diffstat:

 devel/py-pexpect/Makefile |   7 ++++++-
 devel/py-pexpect/PLIST    |  12 ++++++------
 2 files changed, 12 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r e60a830dcb2e -r 796233ba3160 devel/py-pexpect/Makefile
--- a/devel/py-pexpect/Makefile Sat Jan 01 17:42:47 2022 +0000
+++ b/devel/py-pexpect/Makefile Sat Jan 01 17:43:42 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2022/01/01 12:40:32 martin Exp $
+# $NetBSD: Makefile,v 1.28 2022/01/01 17:43:42 wiz Exp $
 
 DISTNAME=      pexpect-4.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -16,4 +16,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 e60a830dcb2e -r 796233ba3160 devel/py-pexpect/PLIST
--- a/devel/py-pexpect/PLIST    Sat Jan 01 17:42:47 2022 +0000
+++ b/devel/py-pexpect/PLIST    Sat Jan 01 17:43:42 2022 +0000
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.9 2022/01/01 12:40:32 martin Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.10 2022/01/01 17:43:42 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}/requires.txt
+${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/pexpect/ANSI.py
 ${PYSITELIB}/pexpect/ANSI.pyc
 ${PYSITELIB}/pexpect/ANSI.pyo



Home | Main Index | Thread Index | Old Index