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:   wiz
Date:           Sat Aug 27 20:42:47 UTC 2016

Modified Files:
        pkgsrc/lang/python: extension.mk

Log Message:
Add PYVERSSUFFIX to PLIST and FILES substitutions

Used by many python packages with versioned binaries.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/lang/python/extension.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/extension.mk
diff -u pkgsrc/lang/python/extension.mk:1.48 pkgsrc/lang/python/extension.mk:1.49
--- pkgsrc/lang/python/extension.mk:1.48        Sat Jul  9 10:00:26 2016
+++ pkgsrc/lang/python/extension.mk     Sat Aug 27 20:42:47 2016
@@ -1,4 +1,4 @@
-# $NetBSD: extension.mk,v 1.48 2016/07/09 10:00:26 rillig Exp $
+# $NetBSD: extension.mk,v 1.49 2016/08/27 20:42:47 wiz Exp $
 
 .include "../../lang/python/pyversion.mk"
 
@@ -57,8 +57,12 @@ INSTALL_ENV+=                PKGSRC_PYTHON_NO_EGG=defi
 
 .if defined(PY_PATCHPLIST)
 PLIST_SUBST+=  PYINC=${PYINC} PYLIB=${PYLIB} PYSITELIB=${PYSITELIB}
+PLIST_SUBST+=  PYVERSSUFFIX=${PYVERSSUFFIX}
 .endif
 
+# mostly for ALTERNATIVES files
+FILES_SUBST+=  PYVERSSUFFIX=${PYVERSSUFFIX}
+
 # prepare Python>=3.2 bytecode file location change
 # http://www.python.org/dev/peps/pep-3147/
 .if empty(_PYTHON_VERSION:M2?)



Home | Main Index | Thread Index | Old Index