aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flask-json-schema/APKBUILD
blob: adbaf68a4464ec57c5c338bb4dd5c189e7064135 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
"