pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-cyordereddict Fix py-cyordereddict's PLIST fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74c8985f5768
branches:  trunk
changeset: 361035:74c8985f5768
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Apr 14 00:40:29 2017 +0000

description:
Fix py-cyordereddict's PLIST for python27

diffstat:

 devel/py-cyordereddict/Makefile |  10 +++++++++-
 devel/py-cyordereddict/PLIST    |   5 ++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 7f59fc056099 -r 74c8985f5768 devel/py-cyordereddict/Makefile
--- a/devel/py-cyordereddict/Makefile   Fri Apr 14 00:36:25 2017 +0000
+++ b/devel/py-cyordereddict/Makefile   Fri Apr 14 00:40:29 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2017/03/31 01:16:18 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2017/04/14 00:40:29 minskim Exp $
 
 DISTNAME=      cyordereddict-1.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,5 +12,13 @@
 
 USE_LANGUAGES= c
 
+PLIST_VARS+=   python2
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(PYVERSSUFFIX:M2.*)
+PLIST.python2= yes
+.endif
+
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7f59fc056099 -r 74c8985f5768 devel/py-cyordereddict/PLIST
--- a/devel/py-cyordereddict/PLIST      Fri Apr 14 00:36:25 2017 +0000
+++ b/devel/py-cyordereddict/PLIST      Fri Apr 14 00:40:29 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/04/14 00:36:25 minskim Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/04/14 00:40:29 minskim Exp $
 ${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/cyordereddict/__init__.py
 ${PYSITELIB}/cyordereddict/__init__.pyc
@@ -22,6 +22,9 @@
 ${PYSITELIB}/cyordereddict/test/_mapping_tests.py
 ${PYSITELIB}/cyordereddict/test/_mapping_tests.pyc
 ${PYSITELIB}/cyordereddict/test/_mapping_tests.pyo
+${PLIST.python2}${PYSITELIB}/cyordereddict/test/_test_support.py
+${PLIST.python2}${PYSITELIB}/cyordereddict/test/_test_support.pyc
+${PLIST.python2}${PYSITELIB}/cyordereddict/test/_test_support.pyo
 ${PYSITELIB}/cyordereddict/test/test_cyordereddict.py
 ${PYSITELIB}/cyordereddict/test/test_cyordereddict.pyc
 ${PYSITELIB}/cyordereddict/test/test_cyordereddict.pyo



Home | Main Index | Thread Index | Old Index