py-pexpect: fix for python 2.7

This commit is contained in:
wiz 2022-01-01 17:43:42 +00:00
parent 58d342a2c0
commit 2fc20503e3
2 changed files with 12 additions and 7 deletions

View file

@ -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"

View file

@ -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