diff --git a/devel/py-pexpect/Makefile b/devel/py-pexpect/Makefile index d77e3c862029..75ca4ece57ec 100644 --- a/devel/py-pexpect/Makefile +++ b/devel/py-pexpect/Makefile @@ -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 @@ DEPENDS+= ${PYPKGPREFIX}-ptyprocess>=0.5:../../sysutils/py-ptyprocess 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 --git a/devel/py-pexpect/PLIST b/devel/py-pexpect/PLIST index 6f0775c74a86..42453559838d 100644 --- a/devel/py-pexpect/PLIST +++ b/devel/py-pexpect/PLIST @@ -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