David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
python-nkdfu


Commits:
73ee7ddd by David Runge at 2024-04-09T23:12:07+02:00
Switch to correct SPDX license identifier

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
c5329c80 by David Runge at 2024-04-09T23:13:57+02:00
Switch to upstream provided auto-generated source tarball

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
d40bc67a by David Runge at 2024-04-09T23:14:43+02:00
Use bash arrays with one entry per line for easier handling.

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -
c9807043 by David Runge at 2024-04-09T23:15:28+02:00
Add nvchecker integration

Signed-off-by: David Runge <dv...@archlinux.org>

- - - - -


2 changed files:

- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,3 @@
+[python-nkdfu]
+source = "pypi"
+pypi = "nkdfu"


=====================================
PKGBUILD
=====================================
@@ -1,18 +1,29 @@
 # Maintainer: David Runge <dv...@archlinux.org>
 
-_name=nkdfu
 pkgname=python-nkdfu
+_name="${pkgname#python-}"
 pkgver=0.2
 pkgrel=2
 pkgdesc="Python tool for Nitrokeys' firmware update"
 arch=(any)
 url="https://github.com/Nitrokey/nkdfu";
-license=(GPL2)
-depends=(python-fire python-tqdm python-intelhex python-libusb1)
-makedepends=(python-build python-flit-core python-installer python-wheel)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha256sums=('f25f75ddd382c47285b6943cde9f51577b1496ed284f93d58b5e054ae609f5f8')
-b2sums=('8251d54f02d7fa114a00037409cbc35fd0991d45465351dd3247c70d52aa299e260bacca69aa7e8958b9b50996141ee589c3c663c84523ff7488911ee0e3b9b3')
+license=(GPL-2.0-only)
+depends=(
+  python
+  python-fire
+  python-tqdm
+  python-intelhex
+  python-libusb1
+)
+makedepends=(
+  python-build
+  python-flit-core
+  python-installer
+  python-wheel
+)
+source=($pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz)
+sha512sums=('3b94b65115e84ca0a065746f92415d7be436484fd9a949ac841955ffd98a061ec7c9016f1d9bc05af1006fcfc2ca21a94f51a0d3a036c27945cf568b75cc7d58')
+b2sums=('dbd01a333391ae94fccae6cf7cecccce2b742fcb91fab421208236cfa7576b1a31ebf21dd168813534c8ca401d964c12b73d340ddd8e6e6ca009257a1a306f5e')
 
 build() {
   cd $_name-$pkgver



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-nkdfu/-/compare/a823c4cce58d201309dbeb2ea13f1879dfeb5c09...c9807043ea0280364711cf0a31f7dc76f4c2f48d

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-nkdfu/-/compare/a823c4cce58d201309dbeb2ea13f1879dfeb5c09...c9807043ea0280364711cf0a31f7dc76f4c2f48d
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to