py-termcolor: switch to egg.mk

This commit is contained in:
adam 2022-01-07 11:25:59 +00:00
parent 21c84a17b8
commit 33e6abf1ce
2 changed files with 11 additions and 4 deletions

View file

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

View file

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