diff options
Diffstat (limited to 'app-crypt/yubikey-manager')
-rw-r--r-- | app-crypt/yubikey-manager/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/yubikey-manager/yubikey-manager-5.4.0-r1.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/app-crypt/yubikey-manager/Manifest b/app-crypt/yubikey-manager/Manifest index 7f1f3b19775a..dba988be54e1 100644 --- a/app-crypt/yubikey-manager/Manifest +++ b/app-crypt/yubikey-manager/Manifest @@ -3,5 +3,6 @@ DIST yubikey_manager-5.2.0.tar.gz.sig 309 BLAKE2B bb1a012832c99aaa94404717560e72 DIST yubikey_manager-5.4.0.tar.gz 188859 BLAKE2B e83d74b0d512b7a1076bf6de0860c3a29259e337ccf508e81572e5802b1b1dced4c098ea21b4a3d63294b51a042780bf875536c30f65d46ce76b7a80c0bc1fce SHA512 c773895957d17ceac8e944958435071fbb3a80469016a22aa13785a5bc009406870366e5b65d3d2ddbd2ed1722f84b377a49101f4db67f0d3c04daee852301b3 DIST yubikey_manager-5.4.0.tar.gz.sig 310 BLAKE2B 933a6638b754a8d3f23486f8adeb03e1b9c54d313370675f3e9e517751b495a5f3afae048b9740360459c86bef754618d9b8308cc30d8ae027421ee6f972fef1 SHA512 825d3e455b9cb9263a1336ac2d601fc2e25146ca45f143c16e559c5374c2aa0fc27f0330f5114e58186e02784e1ebda5e864726fea009dfb47377dcf5a3a32f4 EBUILD yubikey-manager-5.2.0.ebuild 1662 BLAKE2B c18184a7e54caf9c8b0a081d7ab070f2779fb2ad50a2b7dfca8c126def4e411bc60fde4d7ec474f6453e332b8fdc8f3b5563f4b91986ed54038cee40703e739a SHA512 5612bd8f4726774b69782b15fed9398c1cbd0d6bdfdc405552f2e1dcb49a69c13c353c14e6d943e00363620d1d65bb5fada754b09de20789c1081041629ed50a +EBUILD yubikey-manager-5.4.0-r1.ebuild 1657 BLAKE2B b8c75cf4b316aa47c4bf4b91133146abf3aba5df99aa73e086f7f12665e5b8d3dc287c507e4d3b218ddd155442665c60b589f2987a7be6eaf49793e1c7695a2d SHA512 34a71c2f5404be45ebd61930ea0a5c17592d681c368ec681e520e56df3f1b91679281dc7bfb210e3082bc35d81154a8c3a50117d22cc270acbc4ee4d53ad7400 EBUILD yubikey-manager-5.4.0.ebuild 1661 BLAKE2B ad28a63babbb61734ade2d895914972f8159ec558765782e99c2fcb7b8f8a3140c993080722b3a0b84e01e609301f5d632c95656b5c33e4b1d2ad68b94166e71 SHA512 9e9d58de47af7b044c0b5ef39804cbd3193fcc95e6aedd3f0a05048c59155cd5a8259bd4964d18d852a5068984f82c89eae738c07b7f28ba5bae3c87d71dae96 MISC metadata.xml 534 BLAKE2B 1dc91b31fae812c9abf38e762d18db228cf07cb29dc41f5c7928ef417002826acaaabaa3b1374433f9fdfc251b5f5fbabbc43e66e3b94cc6df3174d3ae5aa059 SHA512 cf47e3400679f7f4feb73ef3b8282d3f4dae6b6d0e5034cbc22935fd0196be0784946bf9ac93dea7fb36a16347f867d092845c1ce3528a00c704de9657ad3821 diff --git a/app-crypt/yubikey-manager/yubikey-manager-5.4.0-r1.ebuild b/app-crypt/yubikey-manager/yubikey-manager-5.4.0-r1.ebuild new file mode 100644 index 000000000000..fc22190f735e --- /dev/null +++ b/app-crypt/yubikey-manager/yubikey-manager-5.4.0-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=poetry + +inherit distutils-r1 verify-sig + +MY_PN="${PN/-/_}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python library and command line tool for configuring a YubiKey" +HOMEPAGE="https://developers.yubico.com/yubikey-manager/" +# According to https://github.com/Yubico/yubikey-manager/issues/518 the release +# tarballs on Yubico Web site and on GitHub should be identical, and at least +# for recent releases the latter are signed as well. Only the automatically +# generated "Source code (tar.gz)" tarballs should not be used. +# Still, prefer the former if available. +SRC_URI="https://developers.yubico.com/${PN}/Releases/${MY_P}.tar.gz + verify-sig? ( https://developers.yubico.com/${PN}/Releases/${MY_P}.tar.gz.sig )" + +S="${WORKDIR}"/${MY_P} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="ssl" +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/yubico.com.asc" + +# app-crypt/ccid required for +# - 'ykman oath' +# - 'ykman openpgp' +# - 'ykman piv' +RDEPEND=" + app-crypt/ccid + >=dev-python/click-8.0[${PYTHON_USEDEP}] + <dev-python/cryptography-45[${PYTHON_USEDEP}] + dev-python/fido2:0/1.0[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + >=dev-python/pyscard-2.0[${PYTHON_USEDEP}] + ssl? ( >=dev-python/pyopenssl-0.15.1[${PYTHON_USEDEP}] )" +BDEPEND=" + test? ( dev-python/makefun[${PYTHON_USEDEP}] ) + verify-sig? ( >=sec-keys/openpgp-keys-yubico-20220824 )" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + doman man/ykman.1 +} |