pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-cyordereddict devel/py-cyordereddict: Simplif...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ebe2e5af26c
branches:  trunk
changeset: 383800:9ebe2e5af26c
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Aug 10 15:36:16 2018 +0000

description:
devel/py-cyordereddict: Simplify Makefile using py2x

diffstat:

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

diffs (45 lines):

diff -r b7034c99bf8f -r 9ebe2e5af26c devel/py-cyordereddict/Makefile
--- a/devel/py-cyordereddict/Makefile   Fri Aug 10 12:19:48 2018 +0000
+++ b/devel/py-cyordereddict/Makefile   Fri Aug 10 15:36:16 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2017/04/14 00:40:29 minskim Exp $
+# $NetBSD: Makefile,v 1.3 2018/08/10 15:36:16 minskim Exp $
 
 DISTNAME=      cyordereddict-1.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,13 +12,5 @@
 
 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 b7034c99bf8f -r 9ebe2e5af26c devel/py-cyordereddict/PLIST
--- a/devel/py-cyordereddict/PLIST      Fri Aug 10 12:19:48 2018 +0000
+++ b/devel/py-cyordereddict/PLIST      Fri Aug 10 15:36:16 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2017/04/14 00:40:29 minskim Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/08/10 15:36:16 minskim Exp $
 ${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/cyordereddict/__init__.py
 ${PYSITELIB}/cyordereddict/__init__.pyc
@@ -22,9 +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
+${PLIST.py2x}${PYSITELIB}/cyordereddict/test/_test_support.py
+${PLIST.py2x}${PYSITELIB}/cyordereddict/test/_test_support.pyc
+${PLIST.py2x}${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