pkgsrc-Changes-HG archive

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

[.joined/pkgsrc/trunk]: .joined/pkgsrc/lang/py-byterun py-byterun: convert to...



details:   https://anonhg.NetBSD.org/.joined/pkgsrc/rev/fb14256aa3e2
branches:  trunk
changeset: 370992:fb14256aa3e2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 02 22:57:57 2022 +0000

description:
py-byterun: convert to egg.mk

Bump PKGREVISION

diffstat:

 lang/py-byterun/Makefile |  10 ++++++++--
 lang/py-byterun/PLIST    |   8 ++++++--
 2 files changed, 14 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r b2c835817ae8 -r fb14256aa3e2 lang/py-byterun/Makefile
--- a/lang/py-byterun/Makefile  Sun Jan 02 22:57:36 2022 +0000
+++ b/lang/py-byterun/Makefile  Sun Jan 02 22:57:57 2022 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2019/11/03 19:04:05 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2022/01/02 22:57:57 wiz Exp $
 
 DISTNAME=      byterun
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}-20160218
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=nedbat/}
 GITHUB_PROJECT=        byterun
@@ -18,5 +19,10 @@
 
 EGG_NAME=      Byterun-1.0
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
+
+.if ${PYPKGPREFIX} == "py27"
+_PYSETUPTOOLSINSTALLARGS:=     ${PYSETUPTOOLSINSTALLARGS:N--single-version-externally-managed}
+.endif
+
 .include "../../mk/bsd.pkg.mk"
diff -r b2c835817ae8 -r fb14256aa3e2 lang/py-byterun/PLIST
--- a/lang/py-byterun/PLIST     Sun Jan 02 22:57:36 2022 +0000
+++ b/lang/py-byterun/PLIST     Sun Jan 02 22:57:57 2022 +0000
@@ -1,5 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2016/09/17 23:46:37 wiz Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.4 2022/01/02 22:57:57 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}/byterun/__init__.py
 ${PYSITELIB}/byterun/__init__.pyc
 ${PYSITELIB}/byterun/__init__.pyo



Home | Main Index | Thread Index | Old Index