aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-05 05:22:22 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-05 05:22:22 +0100
commit023b04e49fae923a8dba7673f63b47aafe188662 (patch)
tree07e406d3513f8d02167f8a478b747f5302afd6ef /testing
parent745a29ae16dea060501ac6bd639be859862a6183 (diff)
downloadaports-023b04e49fae923a8dba7673f63b47aafe188662.tar.bz2
aports-023b04e49fae923a8dba7673f63b47aafe188662.tar.xz
testing/py3-validators: new aport
https://github.com/kvesteri/validators Python3 Data Validation for Humans
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-validators/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-validators/APKBUILD b/testing/py3-validators/APKBUILD
new file mode 100644
index 0000000000..c5398a318c
--- /dev/null
+++ b/testing/py3-validators/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=py3-validators
+pkgver=0.14.2
+pkgrel=0
+pkgdesc="Python3 Data Validation for Humans"
+url="https://github.com/kvesteri/validators"
+arch="all"
+license="MIT"
+depends="python3 py3-six py3-decorator"
+makedepends="py3-setuptools"
+checkdepends="py3-isort py3-pytest py3-flake8"
+source="$pkgname-$pkgver.tar.gz::https://github.com/kvesteri/validators/archive/$pkgver.tar.gz"
+builddir="$srcdir/validators-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ py.test-3
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="c38c0bd7c18e1a0e70c28bcb4730ef1b5ed71409e2bf40ea70dd75b6a3829a8b0ced00d110e1351aa087285260e8764eace9c19cb631198bf76cc4c3c0e33185 py3-validators-0.14.2.tar.gz"