dev-python/nitrokey: new package, add 0.2.4, add 0.3.2

Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
This commit is contained in:
Mattéo Rossillol‑‑Laruelle
2025-07-19 12:09:27 +02:00
parent ac8574435a
commit c1775d8167
4 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST nitrokey-0.2.4.gh.tar.gz 1228955 BLAKE2B 3284bd8bd52d075445e544099d70080e25c429485fc0e0a3ce7adc7ea4dfadc2de74422720cdc59939818eedbd4336f05ea398c49216daf465b4474856e9629e SHA512 b66dac46c6fc400a4d3bff0d2aa45bcda364d092797b70c1e273413600080e4dbb74634d0bf3886fe9717c2b1419ac9e5b8852147c9fa29c64eb826f37bfde7e
DIST nitrokey-0.3.2.gh.tar.gz 1234369 BLAKE2B f4024eacc4974710a6754e2091835b0d7b533d1ce44ee08d9d0287a2fc794d8c0feb8f5a5f99152c553546f740d47bbcdf11e19b4a28b88e2c13a8384de17fd4 SHA512 f49788388dda6a9f06e09fca7b68b34dfb70693e323982db92fc96a8775c67d49447cabd57d77cf2fc9075eeb5901d8260c608b5b2b3a222f9b06605d074932f

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>beatussum@protonmail.com</email>
<name>Mattéo RossillolLaruelle</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<maintainer status="active">
<name>Nitrokey</name>
<email>pypi@nitrokey.com</email>
</maintainer>
<changelog>https://github.com/Nitrokey/nitrokey-sdk-py/blob/main/CHANGELOG.md</changelog>
<bugs-to>https://github.com/Nitrokey/nitrokey-sdk-py/issues</bugs-to>
<remote-id type="github">Nitrokey/nitrokey-sdk-py</remote-id>
<remote-id type="pypi">nitrokey</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1
DESCRIPTION="Python SDK for Nitrokey devices"
HOMEPAGE="https://github.com/Nitrokey/nitrokey-sdk-py https://pypi.org/project/nitrokey/"
SRC_URI="https://github.com/Nitrokey/nitrokey-sdk-py/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/nitrokey-sdk-py-${PV}"
LICENSE="Apache-2.0 MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
>=dev-python/cryptography-41[${PYTHON_USEDEP}]
>=dev-python/fido2-1.1.2:=[${PYTHON_USEDEP}]
>=dev-python/hidapi-0.14[${PYTHON_USEDEP}]
>=dev-python/protobuf-5.26:=[${PYTHON_USEDEP}]
>=dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/requests-2[${PYTHON_USEDEP}]
>=dev-python/semver-3[${PYTHON_USEDEP}]
>=dev-python/tlv8-0.10[${PYTHON_USEDEP}]
>=dev-python/types-protobuf-5.26[${PYTHON_USEDEP}]
>=dev-python/types-requests-2.32[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4[${PYTHON_USEDEP}]
"
distutils_enable_sphinx docs
distutils_enable_tests pytest

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{12..13} )
inherit distutils-r1
DESCRIPTION="Python SDK for Nitrokey devices"
HOMEPAGE="https://github.com/Nitrokey/nitrokey-sdk-py https://pypi.org/project/nitrokey/"
SRC_URI="https://github.com/Nitrokey/nitrokey-sdk-py/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/nitrokey-sdk-py-${PV}"
LICENSE="Apache-2.0 MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
>=dev-python/cryptography-41[${PYTHON_USEDEP}]
>=dev-python/fido2-1.1.2:=[${PYTHON_USEDEP}]
>=dev-python/hidapi-0.14[${PYTHON_USEDEP}]
>=dev-python/protobuf-5.26:=[${PYTHON_USEDEP}]
>=dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/requests-2[${PYTHON_USEDEP}]
>=dev-python/semver-3[${PYTHON_USEDEP}]
>=dev-python/tlv8-0.10[${PYTHON_USEDEP}]
>=dev-python/types-protobuf-5.26[${PYTHON_USEDEP}]
>=dev-python/types-requests-2.32[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}]
"
distutils_enable_sphinx docs
distutils_enable_tests pytest