Date: Friday, December 2, 2022 @ 11:41:07 Author: dvzrv Revision: 1356155
upgpkg: python-pynitrokey 0.4.31-1: Upgrade to 0.4.31. Add note about tests being integration tests: https://github.com/Nitrokey/pynitrokey/issues/294 Modified: python-pynitrokey/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-12-02 11:30:52 UTC (rev 1356154) +++ PKGBUILD 2022-12-02 11:41:07 UTC (rev 1356155) @@ -2,8 +2,8 @@ _name=pynitrokey pkgname=python-pynitrokey -_commit=48b69bc30afb6bd8eafcfa206437819ff1daa321 # v0.4.30.nitrokey -pkgver=0.4.30 +_commit=e975169f02e448a80a56ebbcfc7350fa1aac1f44 # v0.4.31.nitrokey +pkgver=0.4.31 pkgrel=1 pkgdesc="A command line interface for the Nitrokey FIDO2 and Nitrokey Start" arch=(any) @@ -24,10 +24,12 @@ python-pyusb python-requests python-spsdk + python-tlv8 python-tqdm python-urllib3 ) makedepends=(git python-build python-flit-core python-installer python-wheel) +checkdepends=(python-pytest) source=(git+https://github.com/nitrokey/pynitrokey#tag=$_commit?signed) sha512sums=('SKIP') b2sums=('SKIP') @@ -38,6 +40,12 @@ python -m build --wheel --skip-dependency-check --no-isolation } +# tests seem all to be integration tests currently: https://github.com/Nitrokey/pynitrokey/issues/294 +# check() { +# cd $_name +# pytest -vv +# } + package() { cd $_name python -m installer --destdir="$pkgdir" dist/*.whl
