mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
32 lines
1013 B
Plaintext
32 lines
1013 B
Plaintext
# Contributor: Anjandev Momi <anjan@momi.ca>
|
|
# Maintainer: Anjandev Momi <anjan@momi.ca>
|
|
pkgname=py3-flask-restx
|
|
pkgver=1.3.0
|
|
pkgrel=1
|
|
pkgdesc="Fully featured framework for fast, easy and documented API development with Flask"
|
|
url="https://flask-restx.readthedocs.io/en/latest/"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="py3-flask py3-aniso8601 py3-jsonschema py3-tz py3-werkzeug py3-setuptools"
|
|
checkdepends="py3-pytest py3-faker py3-blinker py3-mock py3-pytest-cov py3-pytest-mock"
|
|
subpackages="$pkgname-pyc"
|
|
source="flask-restx-$pkgver.tar.gz::https://github.com/python-restx/flask-restx/archive/refs/tags/$pkgver.tar.gz"
|
|
builddir="$srcdir/flask-restx-$pkgver"
|
|
options="!check" # cannot get checks working
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
6e1148e124fb84b486b799f7dc11dd627e8da43af89f51f603267d9e569c8517280fca7898309dbacb9213131419fa745725b7ffa5af40c17aaeeee0453f6146 flask-restx-1.3.0.tar.gz
|
|
"
|