aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-cmudict
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-cmudict')
-rw-r--r--community/py3-cmudict/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-cmudict/APKBUILD b/community/py3-cmudict/APKBUILD
new file mode 100644
index 0000000000..d9a8e8bee3
--- /dev/null
+++ b/community/py3-cmudict/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=py3-cmudict
+pkgver=0.4.5
+pkgrel=1
+pkgdesc="A versioned Python wrapper package for The CMU Pronouncing Dictionary data files"
+url="https://github.com/prosegrinder/python-cmudict"
+arch="noarch"
+license="GPL-3.0-only"
+depends="python3"
+makedepends="py3-setuptools"
+checkdepends="py3-pytest"
+source="https://pypi.python.org/packages/source/c/cmudict/cmudict-$pkgver.tar.gz"
+builddir="$srcdir/cmudict-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ PYTHONPATH="$PWD/build/lib" pytest
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="a7866de394b5f0a2ff5dfaa383c76beca1bfb7d97ccb4559e097185cdd83895b5f662d7a97030062836fbd77dff865fa2a6a6ed90005f6d0d2a3ce1a1fb98e6c cmudict-0.4.5.tar.gz"