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:   gdt
Date:           Wed Jan 20 23:56:51 UTC 2021

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

Log Message:
python/egg.mk: Increase quoting

When building some package, I found that the lack of quoting of
PYVERSSUFFIX caused a syntax error due to it ending up empty.  Add
quotes, which should be harmless to others and resolved the issue.
(Leftover from the freeze.)


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 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/egg.mk
diff -u pkgsrc/lang/python/egg.mk:1.30 pkgsrc/lang/python/egg.mk:1.31
--- pkgsrc/lang/python/egg.mk:1.30      Tue Sep  1 03:58:08 2020
+++ pkgsrc/lang/python/egg.mk   Wed Jan 20 23:56:51 2021
@@ -1,4 +1,4 @@
-# $NetBSD: egg.mk,v 1.30 2020/09/01 03:58:08 wiz Exp $
+# $NetBSD: egg.mk,v 1.31 2021/01/20 23:56:51 gdt Exp $
 #
 # Common logic to handle Python Eggs
 #
@@ -50,7 +50,7 @@ do-build: ensurepip
 ensurepip:
        ${SETENV} ${MAKE_ENV} ${PYTHONBIN} -m ensurepip --user
 .else
-.  if ${PYVERSSUFFIX} == "2.7"
+.  if "${PYVERSSUFFIX}" == "2.7"
 DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools44
 .  else
 DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools



Home | Main Index | Thread Index | Old Index