pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-lazr.delegates Deal with Python 3.x code in p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d8fa5938cfbc
branches: trunk
changeset: 363836:d8fa5938cfbc
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Jun 17 19:38:10 2017 +0000
description:
Deal with Python 3.x code in py27 build.
diffstat:
devel/py-lazr.delegates/Makefile | 9 ++++++++-
devel/py-lazr.delegates/PLIST | 6 +++---
2 files changed, 11 insertions(+), 4 deletions(-)
diffs (42 lines):
diff -r fca24a90ab83 -r d8fa5938cfbc devel/py-lazr.delegates/Makefile
--- a/devel/py-lazr.delegates/Makefile Sat Jun 17 19:37:39 2017 +0000
+++ b/devel/py-lazr.delegates/Makefile Sat Jun 17 19:38:10 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2017/04/25 19:32:11 fhajny Exp $
+# $NetBSD: Makefile,v 1.2 2017/06/17 19:38:10 joerg Exp $
#
DISTNAME= lazr.delegates-2.0.3
@@ -21,5 +21,12 @@
PYSETUPTESTTARGET= nosetests
+.include "../../lang/python/pyversion.mk"
+
+PLIST_VARS+= python3
+.if !empty(PYVERSSUFFIX:M3.*)
+PLIST.python3= yes
+.endif
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r fca24a90ab83 -r d8fa5938cfbc devel/py-lazr.delegates/PLIST
--- a/devel/py-lazr.delegates/PLIST Sat Jun 17 19:37:39 2017 +0000
+++ b/devel/py-lazr.delegates/PLIST Sat Jun 17 19:38:10 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/04/25 19:32:11 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/06/17 19:38:10 joerg Exp $
${PYSITELIB}/${EGG_NAME}-nspkg.pth
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -16,8 +16,8 @@
${PYSITELIB}/lazr/delegates/_passthrough.pyc
${PYSITELIB}/lazr/delegates/_python2.pyo
${PYSITELIB}/lazr/delegates/_python2.pyc
-${PYSITELIB}/lazr/delegates/_python3.pyo
-${PYSITELIB}/lazr/delegates/_python3.pyc
+${PLIST.python3}${PYSITELIB}/lazr/delegates/_python3.pyo
+${PLIST.python3}${PYSITELIB}/lazr/delegates/_python3.pyc
${PYSITELIB}/lazr/delegates/_delegates.py
${PYSITELIB}/lazr/delegates/_passthrough.py
${PYSITELIB}/lazr/delegates/_python2.py
Home |
Main Index |
Thread Index |
Old Index