aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flask-httpauth/APKBUILD
blob: 970bc4f2519aeb4b3c28787afe7152ea375872fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-httpauth
_pkgname=Flask-HTTPAuth
pkgver=3.3.0
pkgrel=1
pkgdesc="Basic and Digest HTTP authentication for Flask routes"
url="https://pypi.python.org/pypi/Flask-HTTPAuth"
arch="noarch"
license="MIT"
depends="python3 py3-flask"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-flask-httpauth" # Backwards compatibility
provides="py-flask-httpauth=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6b278a7e7d7bf8ab370bff0a53deb482a36c21558a42dd32d941bb7996e799d7bed15b25a148e7706ef053632bdc23ddf8feb7f5687a67dd687de94bcf447f4b  Flask-HTTPAuth-3.3.0.tar.gz"