pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-cmudict py-cmudict: add new package, versi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f8ff3b8b4990
branches:  trunk
changeset: 373224:f8ff3b8b4990
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Wed Feb 09 01:11:07 2022 +0000

description:
py-cmudict: add new package, version 1.0.2

CMUdict is a versioned Python wrapper package for the CMU Pronouncing
Dictionary data files. The main purpose is to expose the data with little
or no assumption on how it is to be used.

Similar functionality is also provided by nltk. My motivations for
importing this package are that (1) nltk doesn't appear to be keeping
its packaging of the dictionary data up to date, and (2) this has no
dependency chain beyond Python itself.

diffstat:

 textproc/py-cmudict/DESCR    |   3 +++
 textproc/py-cmudict/Makefile |  21 +++++++++++++++++++++
 textproc/py-cmudict/PLIST    |  16 ++++++++++++++++
 textproc/py-cmudict/distinfo |   5 +++++
 4 files changed, 45 insertions(+), 0 deletions(-)

diffs (61 lines):

diff -r c0b579ce3191 -r f8ff3b8b4990 textproc/py-cmudict/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-cmudict/DESCR Wed Feb 09 01:11:07 2022 +0000
@@ -0,0 +1,3 @@
+CMUdict is a versioned Python wrapper package for the CMU Pronouncing
+Dictionary data files. The main purpose is to expose the data with little
+or no assumption on how it is to be used.
diff -r c0b579ce3191 -r f8ff3b8b4990 textproc/py-cmudict/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-cmudict/Makefile      Wed Feb 09 01:11:07 2022 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2022/02/09 01:11:07 gutteridge Exp $
+
+DISTNAME=      cmudict-1.0.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cmudict/}
+
+MAINTAINER=    gutteridge%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/prosegrinder/python-cmudict
+COMMENT=       Versioned Python wrapper package for cmudict
+LICENSE=       gnu-gpl-v3
+
+USE_LANGUAGES= # none
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c0b579ce3191 -r f8ff3b8b4990 textproc/py-cmudict/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-cmudict/PLIST Wed Feb 09 01:11:07 2022 +0000
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/09 01:11:07 gutteridge Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/cmudict/VERSION
+${PYSITELIB}/cmudict/__init__.py
+${PYSITELIB}/cmudict/__init__.pyc
+${PYSITELIB}/cmudict/__init__.pyo
+${PYSITELIB}/cmudict/data/LICENSE
+${PYSITELIB}/cmudict/data/README
+${PYSITELIB}/cmudict/data/README.developer
+${PYSITELIB}/cmudict/data/cmudict.dict
+${PYSITELIB}/cmudict/data/cmudict.phones
+${PYSITELIB}/cmudict/data/cmudict.symbols
+${PYSITELIB}/cmudict/data/cmudict.vp
diff -r c0b579ce3191 -r f8ff3b8b4990 textproc/py-cmudict/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-cmudict/distinfo      Wed Feb 09 01:11:07 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/09 01:11:07 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



Home | Main Index | Thread Index | Old Index