# Contributor: Fabian Affolter # Maintainer: Fabian Affolter 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"