diff --git a/devel/py-termcolor/Makefile b/devel/py-termcolor/Makefile index cf8a7ea42345..796d7e5e3102 100644 --- a/devel/py-termcolor/Makefile +++ b/devel/py-termcolor/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2017/10/09 08:46:25 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2022/01/07 11:25:59 adam Exp $ DISTNAME= termcolor-1.1.0 +PKGREVISION= 1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=t/termcolor/} @@ -16,5 +17,8 @@ USE_LANGUAGES= # none do-test: ${NADA} -.include "../../lang/python/distutils.mk" +.include "../../lang/python/egg.mk" +.if ${_PYTHON_VERSION} == 27 +_PYSETUPTOOLSINSTALLARGS:= ${PYSETUPTOOLSINSTALLARGS:N--single-version-externally-managed} +.endif .include "../../mk/bsd.pkg.mk" diff --git a/devel/py-termcolor/PLIST b/devel/py-termcolor/PLIST index 93ffc1c8722d..b9fd45a8b4ea 100644 --- a/devel/py-termcolor/PLIST +++ b/devel/py-termcolor/PLIST @@ -1,5 +1,8 @@ -@comment $NetBSD: PLIST,v 1.1 2017/09/29 14:07:49 joerg Exp $ -${PYSITELIB}/${EGG_FILE} +@comment $NetBSD: PLIST,v 1.2 2022/01/07 11:25:59 adam 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}/termcolor.py ${PYSITELIB}/termcolor.pyc ${PYSITELIB}/termcolor.pyo