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:   joerg
Date:           Mon Jul  3 18:13:43 UTC 2017

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

Log Message:
Recognize python3 as interpreter for replacement.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/python/application.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/application.mk
diff -u pkgsrc/lang/python/application.mk:1.11 pkgsrc/lang/python/application.mk:1.12
--- pkgsrc/lang/python/application.mk:1.11      Sat Jan 25 10:45:50 2014
+++ pkgsrc/lang/python/application.mk   Mon Jul  3 18:13:43 2017
@@ -1,4 +1,4 @@
-# $NetBSD: application.mk,v 1.11 2014/01/25 10:45:50 wiz Exp $
+# $NetBSD: application.mk,v 1.12 2017/07/03 18:13:43 joerg Exp $
 #
 # Replace the #! interpreter for Python scripts.
 #
@@ -19,7 +19,7 @@
 
 .if defined(REPLACE_PYTHON)
 REPLACE_INTERPRETER+=  python
-REPLACE.python.old=    .*python[^ ]*
+REPLACE.python.old=    .*python3\{0,1\}[^ ]*
 REPLACE.python.new=    ${PYTHONBIN}
 REPLACE_FILES.python=  ${REPLACE_PYTHON}
 .endif



Home | Main Index | Thread Index | Old Index