pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-pygments Revert previous - this seems to b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d2af43fafdd
branches:  trunk
changeset: 384792:7d2af43fafdd
user:      martin <martin%pkgsrc.org@localhost>
date:      Mon Sep 05 07:38:41 2022 +0000

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

diffstat:

 textproc/py-pygments/Makefile |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r c8451f5f4ed1 -r 7d2af43fafdd textproc/py-pygments/Makefile
--- a/textproc/py-pygments/Makefile     Sun Sep 04 21:38:47 2022 +0000
+++ b/textproc/py-pygments/Makefile     Mon Sep 05 07:38:41 2022 +0000
@@ -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 @@
 
 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