1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/testing/py3-flask-httpauth/APKBUILD
2020-06-08 04:05:38 +00:00

30 lines
965 B
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-httpauth
pkgver=4.1.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="5d4a88d04363a1dee5969d437fd05464c577f6ed8c04a254226d29d50150de2b8284e0e6a2e441ddff431e611510838546f5bf7f0f999e8817b2ef54928b6f08 Flask-HTTPAuth-4.1.0.tar.gz"