pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python Add PYVERSSUFFIX to PLIST and FILES substi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3a48bc1ab5c
branches:  trunk
changeset: 351787:d3a48bc1ab5c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Aug 27 20:42:47 2016 +0000

description:
Add PYVERSSUFFIX to PLIST and FILES substitutions

Used by many python packages with versioned binaries.

diffstat:

 lang/python/extension.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 6a7f7e9c92f3 -r d3a48bc1ab5c lang/python/extension.mk
--- a/lang/python/extension.mk  Sat Aug 27 18:12:01 2016 +0000
+++ b/lang/python/extension.mk  Sat Aug 27 20:42:47 2016 +0000
@@ -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 @@
 
 .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