summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2022-12-17 03:14:24 +0000
committergutteridge <gutteridge@pkgsrc.org>2022-12-17 03:14:24 +0000
commit9dc0736c7aa6e0ecead3918c5cefb6b421e8d1bb (patch)
treed44aa6c197a78656da356c80eae25274363f34b1
parent2625b951c765f358f16e5e33398992990e584368 (diff)
downloadpkgsrc-9dc0736c7aa6e0ecead3918c5cefb6b421e8d1bb.tar.gz
py-cmudict: update to 1.0.12
(Change log entries absent for some releases. Mostly commits and subsequent reversions it seems. Also some dictionary updates.) v1.0.12 Bug Fixes restored returning a file-like object by _stream() (fa145ec) use backported importlib_resources for python 3.9 (1adee16) Continuous Integration removed dependabot-batcher (a517ca4) dependabot: updated dependabot prefixes to use conventional commits (570b36c) Tests test_cmudict: added test case for dict_stream() (08f2a08) ignore deprecation warning for is_binary (839cd75) v1.0.3 Maintenance: dependency updates migrated to poetry added bump, publish, release pipeline
-rw-r--r--textproc/py-cmudict/Makefile12
-rw-r--r--textproc/py-cmudict/PLIST4
-rw-r--r--textproc/py-cmudict/distinfo8
3 files changed, 16 insertions, 8 deletions
diff --git a/textproc/py-cmudict/Makefile b/textproc/py-cmudict/Makefile
index 8a9e4102384..1f95143e148 100644
--- a/textproc/py-cmudict/Makefile
+++ b/textproc/py-cmudict/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2022/02/09 01:11:07 gutteridge Exp $
+# $NetBSD: Makefile,v 1.2 2022/12/17 03:14:24 gutteridge Exp $
-DISTNAME= cmudict-1.0.2
+DISTNAME= cmudict-1.0.12
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cmudict/}
@@ -12,6 +12,14 @@ LICENSE= gnu-gpl-v3
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 310
+DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=4.6:../../devel/py-importlib-metadata
+DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=5.0:../../devel/py-importlib-resources
+.endif
+
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
do-test:
diff --git a/textproc/py-cmudict/PLIST b/textproc/py-cmudict/PLIST
index 50bf8816c1c..0acaedfb5ed 100644
--- a/textproc/py-cmudict/PLIST
+++ b/textproc/py-cmudict/PLIST
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2022/02/09 01:11:07 gutteridge Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/12/17 03:14:24 gutteridge Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/cmudict/VERSION
${PYSITELIB}/cmudict/__init__.py
${PYSITELIB}/cmudict/__init__.pyc
${PYSITELIB}/cmudict/__init__.pyo
diff --git a/textproc/py-cmudict/distinfo b/textproc/py-cmudict/distinfo
index 30ef857bc8b..c5d251a2689 100644
--- a/textproc/py-cmudict/distinfo
+++ b/textproc/py-cmudict/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/02/09 01:11:07 gutteridge Exp $
+$NetBSD: distinfo,v 1.2 2022/12/17 03:14:24 gutteridge Exp $
-BLAKE2s (cmudict-1.0.2.tar.gz) = caa3c1c666a177eed26efe42d5e32b49e73f3609a3d36288a4c99b15374f0fd7
-SHA512 (cmudict-1.0.2.tar.gz) = e6ff259e130bf95d36b1c7e116ec6ef28699629ac29dfb3ed3d66f17cecda643abfa864b703d45af3f92dc0c5be1e45329b28d61586a42b1899dae5359ee1e9b
-Size (cmudict-1.0.2.tar.gz) = 938903 bytes
+BLAKE2s (cmudict-1.0.12.tar.gz) = 88b946c4d69df53b35d72da2251d17b73f0dbc87ad4a69b06f202a9c2ed99517
+SHA512 (cmudict-1.0.12.tar.gz) = 1a7bcba85675e7496772406754469c4ead39c77f62a23a61ea87d24e89fdef1b234114352f6ff6d8a03bdfc286f086977c2454a0d1eaa25f3dc6f80d5b33a7b5
+Size (cmudict-1.0.12.tar.gz) = 936428 bytes