pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/python
Module Name: pkgsrc
Committed By: richard
Date: Sun Aug 28 09:40:35 UTC 2016
Modified Files:
pkgsrc/lang/python: distutils.mk egg.mk
Log Message:
Let print-PLIST generate python version agnostic PYVERSSUFFIX in filenames.
This is somewhat related to the recent PLIST_SUBST commit. Ok'd by wiz@
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/python/distutils.mk
cvs rdiff -u -r1.23 -r1.24 pkgsrc/lang/python/egg.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/python/distutils.mk
diff -u pkgsrc/lang/python/distutils.mk:1.7 pkgsrc/lang/python/distutils.mk:1.8
--- pkgsrc/lang/python/distutils.mk:1.7 Wed Dec 31 13:57:28 2014
+++ pkgsrc/lang/python/distutils.mk Sun Aug 28 09:40:35 2016
@@ -1,4 +1,4 @@
-# $NetBSD: distutils.mk,v 1.7 2014/12/31 13:57:28 wiz Exp $
+# $NetBSD: distutils.mk,v 1.8 2016/08/28 09:40:35 richard Exp $
#
# Common logic for python distributions that use distutils.
#
@@ -28,5 +28,7 @@ PY_NO_EGG?= no
PLIST_SUBST+= EGG_FILE=${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
PRINT_PLIST_AWK+= { gsub("${EGG_NAME}-py${PYVERSSUFFIX}.egg-info", \
"$${EGG_FILE}") }
+PRINT_PLIST_AWK+= { gsub(/${PYVERSSUFFIX}/, \
+ "$${PYVERSSUFFIX}") }
.include "../../lang/python/extension.mk"
Index: pkgsrc/lang/python/egg.mk
diff -u pkgsrc/lang/python/egg.mk:1.23 pkgsrc/lang/python/egg.mk:1.24
--- pkgsrc/lang/python/egg.mk:1.23 Wed Jun 1 09:44:52 2016
+++ pkgsrc/lang/python/egg.mk Sun Aug 28 09:40:35 2016
@@ -1,4 +1,4 @@
-# $NetBSD: egg.mk,v 1.23 2016/06/01 09:44:52 wiz Exp $
+# $NetBSD: egg.mk,v 1.24 2016/08/28 09:40:35 richard Exp $
#
# Common logic to handle Python Eggs
#
@@ -32,6 +32,8 @@ PRINT_PLIST_AWK+= { gsub(/${EGG_NAME}-py
"$${EGG_INFODIR}") }
PRINT_PLIST_AWK+= { gsub(/${EGG_NAME}-py${PYVERSSUFFIX}-nspkg.pth/, \
"$${EGG_NAME}-nspkg.pth") }
+PRINT_PLIST_AWK+= { gsub(/${PYVERSSUFFIX}/, \
+ "$${PYVERSSUFFIX}") }
_PYSETUPTOOLSINSTALLARGS= --single-version-externally-managed
Home |
Main Index |
Thread Index |
Old Index