aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-09-09 00:36:30 +0300
committerprspkt <prspkt@protonmail.com>2019-09-09 00:45:26 +0300
commitba0b3fecc09e845c54b60ac23736c58bedb76ce2 (patch)
treec917292415ed1b2ad6127f556d3d946ffa6a99a9
parent64cb6e89bcfa3b03b947bfb54e372247f7a49680 (diff)
downloadaports-ba0b3fecc09e845c54b60ac23736c58bedb76ce2.tar.bz2
aports-ba0b3fecc09e845c54b60ac23736c58bedb76ce2.tar.xz
testing/py3-ddt: new aport
Signed-off-by: prspkt <prspkt@protonmail.com>
-rw-r--r--testing/py3-ddt/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-ddt/APKBUILD b/testing/py3-ddt/APKBUILD
new file mode 100644
index 0000000000..8a0110d76c
--- /dev/null
+++ b/testing/py3-ddt/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: prspkt <prspkt@protonmail.com>
+# Contributor: prspkt <prspkt@protonmail.com>
+pkgname=py3-ddt
+_pkgname=ddt
+pkgver=1.2.1
+pkgrel=0
+pkgdesc="Python library to multiply test cases"
+url="https://github.com/txels/ddt"
+arch="noarch"
+license="MIT"
+depends="python3"
+makedepends="py3-setuptools"
+checkdepends="py3-mock py3-nose py3-yaml"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="ac1c562e69efaf18ad2168d74af691dad3386adb81327d9e79db342eee262ddf797cfbc713cbb3028379d9b129233c33f78e4f6beb08de9e5d0bea9aa42d87ec ddt-1.2.1.tar.gz"