Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: python-pynitrokey 0.4.16-2: Rebuild to add python-spsdk to de…
Browse files Browse the repository at this point in the history
…pends.

Python-spsdk is required for nitrokey3 support.
Unfortunately the spsdk project is problematic in regards to packaging:
Nitrokey/pynitrokey#162
Problems might occur due to required extensive devendoring.

git-svn-id: file:///srv/repos/svn-community/svn@1133102 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
dvzrv authored and svntogit committed Feb 13, 2022
1 parent 765dc49 commit 1a3db99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 53 deletions.
17 changes: 4 additions & 13 deletions trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,22 @@
_name=pynitrokey
pkgname=python-pynitrokey
pkgver=0.4.16
pkgrel=1
pkgrel=2
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-pyusb python-requests python-tqdm python-urllib3)
python-pyusb python-requests python-spsdk python-tqdm python-urllib3)
makedepends=(git python-build python-flit python-install)
source=(
"git+https://github.com/nitrokey/pynitrokey#tag=v${pkgver}.nitrokey?signed"
"${pkgname}-0.4.15-remove_spsdk.patch"
)
sha512sums=('SKIP'
'4f5abd730bf6c23f69e8d2252b97e729273a0d48fe85708f9ea623afc10ef0d9ac07b25d17479edc3e7da70af0fe3956b4ecf93f3af69392f57974c6b3f76d94')
b2sums=('SKIP'
'133d8770ec99db1ead4e9d175ec84ad229dd8e94c0772f2406e63d6cabf372446ba76814f7f71fc10ba3128ae0be6b5a68e859bf768be44c70ed8b87d12014b9')
sha512sums=('SKIP')
b2sums=('SKIP')
validpgpkeys=(868184069239FF65DE0BCD7DD9BAE35991DE5B22) # Szczepan Zalega (Nitrokey) <szczepan@nitrokey.com>

prepare() {
cd "${_name}"
# remove nitrokey3 support for now, until spsdk is packaged: https://github.com/Nitrokey/pynitrokey/issues/162
patch -Np1 -i ../"${pkgname}-0.4.15-remove_spsdk.patch"
}

build() {
cd "${_name}"
python -m build --wheel --skip-dependency-check --no-isolation
Expand Down
40 changes: 0 additions & 40 deletions trunk/python-pynitrokey-0.4.15-remove_spsdk.patch

This file was deleted.

0 comments on commit 1a3db99

Please sign in to comment.