user/py3-openid: new aport
This commit is contained in:
parent
2dd21acbe7
commit
abddfa0a83
1 changed files with 33 additions and 0 deletions
33
user/py3-openid/APKBUILD
Normal file
33
user/py3-openid/APKBUILD
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||||
|
|
||||||
|
pkgname=py3-openid
|
||||||
|
_pyname="python3-openid"
|
||||||
|
pkgver=3.2.0
|
||||||
|
pkgrel=0
|
||||||
|
arch="!armv7 noarch"
|
||||||
|
pkgdesc="OpenID support for modern servers and consumers."
|
||||||
|
url="https://pypi.python.org/project/$_pyname"
|
||||||
|
license="Apache-2.0"
|
||||||
|
depends="py3-defusedxml"
|
||||||
|
makedepends="py3-setuptools"
|
||||||
|
checkdepends="py3-coverage py3-django py3-pytest py3-psycopg2"
|
||||||
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
||||||
|
builddir="$srcdir"/$_pyname-$pkgver
|
||||||
|
|
||||||
|
build() {
|
||||||
|
python3 setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
check() {
|
||||||
|
export PYTHONPATH="build:$PYTHONPATH"
|
||||||
|
coverage run -m unittest openid.test.test_suite
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
|
||||||
|
}
|
||||||
|
sha512sums="
|
||||||
|
54412820fef21928e1bf30d16c9bc73d454e9ff41df028a12047c08abdb4c2c9e1d9053daebab8b0327cb0fe0f67e364c2506a47509fef6db5bff42f8399b799 py3-openid-3.2.0.tar.gz
|
||||||
|
"
|
Loading…
Reference in a new issue