pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-cmudict



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Thu Mar 16 00:11:52 UTC 2023

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

Log Message:
py-cmudict: adjust version check per pkglint


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-cmudict/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-cmudict/Makefile
diff -u pkgsrc/textproc/py-cmudict/Makefile:1.5 pkgsrc/textproc/py-cmudict/Makefile:1.6
--- pkgsrc/textproc/py-cmudict/Makefile:1.5     Sat Feb 18 02:14:26 2023
+++ pkgsrc/textproc/py-cmudict/Makefile Thu Mar 16 00:11:52 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2023/02/18 02:14:26 gutteridge Exp $
+# $NetBSD: Makefile,v 1.6 2023/03/16 00:11:52 gutteridge Exp $
 
 DISTNAME=      cmudict-1.0.12
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -18,7 +18,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
 # is incorrect. What's recorded below are correct minimums for the actual
 # functionality required. This has been tested with Python 3.8 and 3.9.
 .include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} < 310
+.if ${_PYTHON_VERSION} == 38 || ${_PYTHON_VERSION} == 39
 DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=4.6:../../devel/py-importlib-metadata
 DEPENDS+=      ${PYPKGPREFIX}-importlib-resources>=5.0:../../devel/py-importlib-resources
 .endif



Home | Main Index | Thread Index | Old Index