1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 20:55:19 +03:00
aports/testing/py3-flask-httpauth/APKBUILD
2020-05-26 12:33:52 +00:00

33 lines
970 B
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-httpauth
pkgver=4.0.0
pkgrel=0
pkgdesc="Basic and Digest HTTP authentication for Flask routes"
url="https://pypi.python.org/pypi/Flask-HTTPAuth"
arch="noarch"
license="MIT"
depends="
py3-flask
python3
"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/F/Flask-HTTPAuth/Flask-HTTPAuth-$pkgver.tar.gz"
builddir="$srcdir"/Flask-HTTPAuth-$pkgver
replaces="py-flask-httpauth" # Backwards compatibility
provides="py-flask-httpauth=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="cdf37ebca72d9cf290cd2ff1fcf1bc5196af94d83310d6b267a9e7cd0db7be807ec775c8d5abf79c00373a119a9a922c8ace62253677562fd482390b5c01cc3a Flask-HTTPAuth-4.0.0.tar.gz"