dev-python/nkdfu: new package, add 0.2

Required by app-crypt/pynitrokey

Signed-off-by: Jernej Jakob <jernej.jakob@gmail.com>
This commit is contained in:
Jernej Jakob
2026-05-03 22:53:00 +02:00
parent 3a43c8b001
commit b63bb322c9
3 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST nkdfu-0.2.gh.tar.gz 16046 BLAKE2B dbd01a333391ae94fccae6cf7cecccce2b742fcb91fab421208236cfa7576b1a31ebf21dd168813534c8ca401d964c12b73d340ddd8e6e6ca009257a1a306f5e SHA512 3b94b65115e84ca0a065746f92415d7be436484fd9a949ac841955ffd98a061ec7c9016f1d9bc05af1006fcfc2ca21a94f51a0d3a036c27945cf568b75cc7d58

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>jernej.jakob@gmail.com</email>
<name>Jernej Jakob</name>
</maintainer>
<upstream>
<remote-id type="github">Nitrokey/nkdfu</remote-id>
<remote-id type="pypi">nkdfu</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,24 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# officially supports only py3.11 but works on newer too
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1
DESCRIPTION="Python DFU tool for updating Nitrokey firmware"
HOMEPAGE="https://github.com/Nitrokey/nkdfu"
SRC_URI="https://github.com/Nitrokey/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/intelhex-2.3.0[${PYTHON_USEDEP}]
>=dev-python/libusb1-1.9.3[${PYTHON_USEDEP}]
dev-python/python-fire[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
"