aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/py3-flask-json-schema/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/py3-flask-json-schema/APKBUILD b/testing/py3-flask-json-schema/APKBUILD
new file mode 100644
index 0000000000..adbaf68a44
--- /dev/null
+++ b/testing/py3-flask-json-schema/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
+# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
+pkgname=py3-flask-json-schema
+pkgver=0.0.5
+pkgrel=0
+pkgdesc="Flask extension to validate JSON requests"
+url="https://pypi.org/project/flask-json-schema/"
+arch="all"
+license="MIT"
+depends="python3 py3-flask py3-jsonschema"
+makedepends="py3-setuptools py3-wheel"
+source="https://pypi.org/packages/source/f/flask-json-schema/Flask-json-schema-$pkgver.tar.gz"
+builddir="$srcdir/Flask-json-schema-$pkgver"
+options="!check" # no tests provided
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="
+43564624775972d90ff38a8f1f81385975bf201e1915f4e9e01ba1efbd2f09a61669748d74d508861ecb346e37bdbc065b330da9a493cfe397eb58ed9215590c Flask-json-schema-0.0.5.tar.gz
+"