[arch-commits] Commit in python-pynitrokey/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sat Dec 4 18:40:43 UTC 2021


    Date: Saturday, December 4, 2021 @ 18:40:43
  Author: dvzrv
Revision: 1065059

archrelease: copy trunk to community-any

Added:
  python-pynitrokey/repos/community-any/PKGBUILD
    (from rev 1065058, python-pynitrokey/trunk/PKGBUILD)
Deleted:
  python-pynitrokey/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 31 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-04 18:40:35 UTC (rev 1065058)
+++ PKGBUILD	2021-12-04 18:40:43 UTC (rev 1065059)
@@ -1,35 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pynitrokey
-pkgname=python-pynitrokey
-pkgver=0.4.5
-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')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
-  # https://github.com/FFY00/python-install/pull/6
-  chmod +x "$pkgdir"/usr/bin/*
-  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-pynitrokey/repos/community-any/PKGBUILD (from rev 1065058, python-pynitrokey/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-04 18:40:43 UTC (rev 1065059)
@@ -0,0 +1,31 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pynitrokey
+pkgname=python-pynitrokey
+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"
+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) <szczepan at nitrokey.com>
+
+build() {
+  cd "${_name}"
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+  cd "${_name}"
+  python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+  # https://github.com/FFY00/python-install/pull/6
+  chmod +x "$pkgdir"/usr/bin/*
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list