pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-termcolor py-termcolor: switch to egg.mk
details: https://anonhg.NetBSD.org/pkgsrc/rev/7e19622db63a
branches: trunk
changeset: 371210:7e19622db63a
user: adam <adam%pkgsrc.org@localhost>
date: Fri Jan 07 11:25:59 2022 +0000
description:
py-termcolor: switch to egg.mk
diffstat:
devel/py-termcolor/Makefile | 8 ++++++--
devel/py-termcolor/PLIST | 7 +++++--
2 files changed, 11 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r e78438d6bae0 -r 7e19622db63a devel/py-termcolor/Makefile
--- a/devel/py-termcolor/Makefile Fri Jan 07 08:23:23 2022 +0000
+++ b/devel/py-termcolor/Makefile Fri Jan 07 11:25:59 2022 +0000
@@ -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 @@
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 -r e78438d6bae0 -r 7e19622db63a devel/py-termcolor/PLIST
--- a/devel/py-termcolor/PLIST Fri Jan 07 08:23:23 2022 +0000
+++ b/devel/py-termcolor/PLIST Fri Jan 07 11:25:59 2022 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index