Date: Saturday, December 4, 2021 @ 18:40:35 Author: dvzrv Revision: 1065058
upgpkg: python-pynitrokey 0.4.6-1: Upgrade to 0.4.6. Switch to signed tags for releases. Add PGP key 868184069239FF65DE0BCD7DD9BAE35991DE5B22 for release validation. Modified: python-pynitrokey/trunk/PKGBUILD ----------+ PKGBUILD | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-12-04 18:36:47 UTC (rev 1065057) +++ PKGBUILD 2021-12-04 18:40:35 UTC (rev 1065058) @@ -2,32 +2,28 @@ _name=pynitrokey pkgname=python-pynitrokey -pkgver=0.4.5 -pkgrel=2 +pkgver=0.4.6 +pkgrel=1 pkgdesc="A command line interface for the Nitrokey FIDO2 and Nitrokey Start" -arch=('any') -url="https://github.com/Nitrokey/pynitrokey/releases" -license=('Apache') -depends=('python-cbor' 'python-cffi' 'python-click' 'python-cryptography' -'python-dateutil' 'python-ecdsa' 'python-fido2' 'python-intelhex' -'python-nkdfu' 'python-pygments' 'python-pyserial' 'python-pyusb' -'python-requests' 'python-urllib3') -makedepends=('python-build' 'python-flit' 'python-install') -source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") -sha512sums=('8a3f5ad1f13fb9e9e43ee639b0c87839b938efc32fb7bc9574610a0b5e510d4a822a1e93dc9b3c048ff5a56e304714c7c91de3e4e2dfa1802b44c18c6b9c35ba') -b2sums=('f53c047fe2a582284e3abe465c075e85fc7f0e1a488b83be0ea151b47c7eb01ea8523198ce01e39de980488fa0ad8328d0fe8429e0da82cf6f8cd6f1f857e4e7') +arch=(any) +url="https://github.com/Nitrokey/pynitrokey" +license=(Apache) +depends=(python-cbor python-cffi python-click python-cryptography +python-dateutil python-ecdsa python-fido2 python-intelhex python-nkdfu +python-pygments python-pyserial python-pyusb python-requests python-urllib3) +makedepends=(git python-build python-flit python-install) +source=("git+https://github.com/nitrokey/pynitrokey#tag=v${pkgver}.nitrokey?signed") +sha512sums=('SKIP') +b2sums=('SKIP') +validpgpkeys=(868184069239FF65DE0BCD7DD9BAE35991DE5B22) # Szczepan Zalega (Nitrokey) <szcze...@nitrokey.com> -prepare() { - mv -v "${_name}-$pkgver" "$pkgname-$pkgver" -} - build() { - cd "$pkgname-$pkgver" + cd "${_name}" python -m build --wheel --skip-dependency-check --no-isolation } package() { - cd "$pkgname-$pkgver" + cd "${_name}" python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl # https://github.com/FFY00/python-install/pull/6 chmod +x "$pkgdir"/usr/bin/*