mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 06:32:59 -04:00
This version updates the dependency on dev-python/hidapi-0.14 which has
already been removed from the tree to 0.15 which is current.
Consequently the package mask added in 1005e14c56 can be removed.
I've contacted the maintainer about updating the Nitrokey packages
on 2026-04-21 but haven't received a reply yet.
Signed-off-by: Jernej Jakob <jernej.jakob@gmail.com>
42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=poetry
|
|
PYTHON_COMPAT=( python3_{12..14} )
|
|
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/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
S="${WORKDIR}/nitrokey-sdk-py-${PV}"
|
|
|
|
LICENSE="|| ( Apache-2.0 MIT )"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
IUSE="udev"
|
|
|
|
RDEPEND="
|
|
>=dev-python/cryptography-41[${PYTHON_USEDEP}]
|
|
>=dev-python/crcmod-1.7[${PYTHON_USEDEP}]
|
|
<dev-python/crcmod-2[${PYTHON_USEDEP}]
|
|
>=dev-python/fido2-1.1.2[${PYTHON_USEDEP}]
|
|
<dev-python/fido2-3[${PYTHON_USEDEP}]
|
|
>=dev-python/hidapi-0.14[${PYTHON_USEDEP}]
|
|
udev? ( app-crypt/nitrokey-udev-rules )
|
|
=dev-python/requests-2*[${PYTHON_USEDEP}]
|
|
>=dev-python/tlv8-0.10[${PYTHON_USEDEP}]
|
|
<dev-python/tlv8-1[${PYTHON_USEDEP}]
|
|
>=dev-python/pyserial-3.5[${PYTHON_USEDEP}]
|
|
<dev-python/pyserial-4[${PYTHON_USEDEP}]
|
|
>=dev-python/protobuf-5.26[${PYTHON_USEDEP}]
|
|
<dev-python/protobuf-7[${PYTHON_USEDEP}]
|
|
=dev-python/semver-3*[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
distutils_enable_sphinx docs
|
|
distutils_enable_tests pytest
|