aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-12-04 13:28:09 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-12-05 16:24:57 -0300
commite6a94737bb97ac45d6ecb7d4b1cfdbdaec3f7c77 (patch)
tree5c9b935c5b8ff2e6c4f57f917dac3057cc521384
parent1aac3c913ee4cec2514190ad98ebbb75b7f3b75e (diff)
downloadaports-e6a94737bb97ac45d6ecb7d4b1cfdbdaec3f7c77.tar.gz
aports-e6a94737bb97ac45d6ecb7d4b1cfdbdaec3f7c77.tar.bz2
aports-e6a94737bb97ac45d6ecb7d4b1cfdbdaec3f7c77.tar.xz
testing/py3-cmudict: new aport
-rw-r--r--testing/py3-cmudict/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-cmudict/APKBUILD b/testing/py3-cmudict/APKBUILD
new file mode 100644
index 0000000000..d13396877e
--- /dev/null
+++ b/testing/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=0
+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"