testing/py3-webauthn: move from user
This commit is contained in:
parent
657f3d8521
commit
2b5ea79474
1 changed files with 16 additions and 13 deletions
|
@ -3,30 +3,33 @@
|
|||
|
||||
_pyname=webauthn
|
||||
pkgname="py3-$_pyname"
|
||||
pkgver=1.8.0
|
||||
pkgver=1.9.0
|
||||
pkgrel=0
|
||||
arch="noarch"
|
||||
pkgdesc="A Python3 implementation of the WebAuthn API focused on making it easy to leverage the power of WebAuthn."
|
||||
url="https://pypi.python.org/project/$_pyname"
|
||||
license="BSD-3-CLAUSE"
|
||||
depends="python3"
|
||||
makedepends="py3-setuptools"
|
||||
checkdepends="py3-pytest"
|
||||
license="BSD-3-Clause"
|
||||
makedepends="
|
||||
py3-setuptools
|
||||
py3-gpep517
|
||||
py3-wheel
|
||||
py3-installer
|
||||
"
|
||||
options="!check" # No testsuite
|
||||
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$_pyname-$pkgver
|
||||
subpackages="$pkgname-pyc"
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
PYTHONPATH="$srcdir" pytest || true
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
|
||||
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/*.whl
|
||||
}
|
||||
sha512sums="
|
||||
70a6038bfa04583aebe1ea306d28de2b37ff3c0f0bbfce39749d2312ad0450257215d95fd388b99d84bdd7954f0c371ec90b3d2a951861c9ff6d1a0f3ef4df7b py3-webauthn-1.8.0.tar.gz
|
||||
d9c538f6c62792cd7e2e4bafb77b7d3735f2ae4484ff8cafdcd6ac5f9355e2e0f7da6fc996b85f489294eb504b3e4c012ce717fa103d1689eb2bd5351f158f27 py3-webauthn-1.9.0.tar.gz
|
||||
"
|
Loading…
Reference in a new issue