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:   martin
Date:           Mon Sep  5 07:38:41 UTC 2022

Modified Files:
        pkgsrc/textproc/py-pygments: Makefile

Log Message:
Revert previous - this seems to be only papering over a not yet discovered
bug somewhere else that (sometimes) makes _PYTHON_VERSION non-numerical.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 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.42 pkgsrc/textproc/py-pygments/Makefile:1.43
--- pkgsrc/textproc/py-pygments/Makefile:1.42   Sun Sep  4 05:48:05 2022
+++ pkgsrc/textproc/py-pygments/Makefile        Mon Sep  5 07:38:41 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2022/09/04 05:48:05 martin Exp $
+# $NetBSD: Makefile,v 1.43 2022/09/05 07:38:41 martin Exp $
 
 DISTNAME=      Pygments-2.13.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -18,11 +18,10 @@ USE_LANGUAGES=      # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-# XXXX the < comparision does not work!
-# .include "../../lang/python/pyversion.mk"
-# .if ${_PYTHON_VERSION} < 38
-# DEPENDS+=    ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
-# .endif
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+.endif
 
 USE_PKG_RESOURCES=     yes
 



Home | Main Index | Thread Index | Old Index