pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-pygments
Module Name: pkgsrc
Committed By: abs
Date: Mon Nov 28 20:54:40 UTC 2022
Modified Files:
pkgsrc/textproc/py-pygments: Makefile
Log Message:
Fix _PYTHON_VERSION check to avoid error
Replace .if ${_PYTHON_VERSION} < 38 with .if ${_PYTHON_VERSION} == 37
as otherwise will fail when ${_PYTHON_VERSION} is "none".
Triggered for "make clean-depends" for a package with
PYTHON_VERSIONS_ACCEPTED=27 which depends on textproc/py-pygments
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/textproc/py-pygments/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-pygments/Makefile
diff -u pkgsrc/textproc/py-pygments/Makefile:1.43 pkgsrc/textproc/py-pygments/Makefile:1.44
--- pkgsrc/textproc/py-pygments/Makefile:1.43 Mon Sep 5 07:38:41 2022
+++ pkgsrc/textproc/py-pygments/Makefile Mon Nov 28 20:54:40 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2022/09/05 07:38:41 martin Exp $
+# $NetBSD: Makefile,v 1.44 2022/11/28 20:54:40 abs Exp $
DISTNAME= Pygments-2.13.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -19,7 +19,7 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} < 38
+.if ${_PYTHON_VERSION} == 37
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
.endif
Home |
Main Index |
Thread Index |
Old Index