pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-lazr.delegates



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sat Jun 17 19:38:10 UTC 2017

Modified Files:
        pkgsrc/devel/py-lazr.delegates: Makefile PLIST

Log Message:
Deal with Python 3.x code in py27 build.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-lazr.delegates/Makefile \
    pkgsrc/devel/py-lazr.delegates/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-lazr.delegates/Makefile
diff -u pkgsrc/devel/py-lazr.delegates/Makefile:1.1 pkgsrc/devel/py-lazr.delegates/Makefile:1.2
--- pkgsrc/devel/py-lazr.delegates/Makefile:1.1 Tue Apr 25 19:32:11 2017
+++ pkgsrc/devel/py-lazr.delegates/Makefile     Sat Jun 17 19:38:10 2017
@@ -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 @@ BUILD_DEPENDS+=      ${PYPKGPREFIX}-coverage-
 
 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"
Index: pkgsrc/devel/py-lazr.delegates/PLIST
diff -u pkgsrc/devel/py-lazr.delegates/PLIST:1.1 pkgsrc/devel/py-lazr.delegates/PLIST:1.2
--- pkgsrc/devel/py-lazr.delegates/PLIST:1.1    Tue Apr 25 19:32:11 2017
+++ pkgsrc/devel/py-lazr.delegates/PLIST        Sat Jun 17 19:38:10 2017
@@ -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
 ${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