mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-15 20:25:17 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
28 lines
902 B
Text
28 lines
902 B
Text
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=py3-flask-json-schema
|
|
pkgver=0.0.5
|
|
pkgrel=1
|
|
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() {
|
|
export SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
export SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
43564624775972d90ff38a8f1f81385975bf201e1915f4e9e01ba1efbd2f09a61669748d74d508861ecb346e37bdbc065b330da9a493cfe397eb58ed9215590c Flask-json-schema-0.0.5.tar.gz
|
|
"
|