pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-termcolor



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jan  7 11:26:00 UTC 2022

Modified Files:
        pkgsrc/devel/py-termcolor: Makefile PLIST

Log Message:
py-termcolor: switch to egg.mk


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-termcolor/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-termcolor/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-termcolor/Makefile
diff -u pkgsrc/devel/py-termcolor/Makefile:1.2 pkgsrc/devel/py-termcolor/Makefile:1.3
--- pkgsrc/devel/py-termcolor/Makefile:1.2      Mon Oct  9 08:46:25 2017
+++ pkgsrc/devel/py-termcolor/Makefile  Fri Jan  7 11:25:59 2022
@@ -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"

Index: pkgsrc/devel/py-termcolor/PLIST
diff -u pkgsrc/devel/py-termcolor/PLIST:1.1 pkgsrc/devel/py-termcolor/PLIST:1.2
--- pkgsrc/devel/py-termcolor/PLIST:1.1 Fri Sep 29 14:07:49 2017
+++ pkgsrc/devel/py-termcolor/PLIST     Fri Jan  7 11:25:59 2022
@@ -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