mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
app-crypt/pynitrokey: add 0.12.3
Signed-off-by: Jernej Jakob <jernej.jakob@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST pynitrokey-0.12.1.gh.tar.gz 223235 BLAKE2B ae58a9d6b82a748809ba85a99445f1f2d54e459ab4ce2953bf29d1647d1d4890902d646c24f62ea09a952d7b99c0ad2cd68f6974184e87f8ec6a67f6c3579311 SHA512 458a2b3a0210eb27c057d57ba117b0feaf515b6c042d44b980bda91afe2e0da91795c51b2b9117c30beb85c367cd26cabbdcc92c75ff9daa30da7b6fef243526
|
||||
DIST pynitrokey-0.12.3.gh.tar.gz 220806 BLAKE2B 3c595f6efdc2a6c07b7fa776460c4a0a78101e1c5b12869fb4345d757cbe793021374f515d35a749cfd64bb8d18a14728d58b10ba16f0b54570625896c3b91a3 SHA512 6929b7b4573beea7b1c6ff4569c80e682d5dad1d67e03380c138a41fe6a882fde19de65b72f765a4e580ad26b142ae94b710dd8004ce11804f760b8a5a7b3e04
|
||||
|
||||
50
app-crypt/pynitrokey/pynitrokey-0.12.3.ebuild
Normal file
50
app-crypt/pynitrokey/pynitrokey-0.12.3.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="A command line interface for the Nitrokey FIDO2, Start, 3 and NetHSM"
|
||||
HOMEPAGE="https://github.com/Nitrokey/pynitrokey"
|
||||
|
||||
SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 MIT )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/cffi-1.15[${PYTHON_USEDEP}]
|
||||
<dev-python/cffi-3[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-8.2[${PYTHON_USEDEP}]
|
||||
<dev-python/click-9[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-43[${PYTHON_USEDEP}]
|
||||
<dev-python/cryptography-50[${PYTHON_USEDEP}]
|
||||
=dev-python/fido2-2*[${PYTHON_USEDEP}]
|
||||
>=dev-python/hidapi-0.14[${PYTHON_USEDEP}]
|
||||
=dev-python/intelhex-2*[${PYTHON_USEDEP}]
|
||||
>=dev-python/nitrokey-0.4.2[${PYTHON_USEDEP}]
|
||||
<dev-python/nitrokey-0.5[${PYTHON_USEDEP}]
|
||||
=dev-python/nkdfu-0.2*[${PYTHON_USEDEP}]
|
||||
=dev-python/pyusb-1*[${PYTHON_USEDEP}]
|
||||
=dev-python/requests-2*[${PYTHON_USEDEP}]
|
||||
=dev-python/tqdm-4*[${PYTHON_USEDEP}]
|
||||
=dev-python/tlv8-0.10*[${PYTHON_USEDEP}]
|
||||
=dev-python/semver-3*[${PYTHON_USEDEP}]
|
||||
>=dev-python/nethsm-2.1.1[${PYTHON_USEDEP}]
|
||||
<dev-python/nethsm-3[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
# tests require a connected nitrokey device and will destroy the data on it!
|
||||
# it would be bad if the user was not expecting this.
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_postinst(){
|
||||
optfeature "'piv' subcommand support" dev-python/pyscard
|
||||
}
|
||||
Reference in New Issue
Block a user