From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 707081584AD for ; Sat, 26 Apr 2025 01:56:38 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 58103343075 for ; Sat, 26 Apr 2025 01:56:38 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 987601104B8; Sat, 26 Apr 2025 01:56:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 8ED2A1104B8 for ; Sat, 26 Apr 2025 01:56:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 46007342FED for ; Sat, 26 Apr 2025 01:56:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D191B133B for ; Sat, 26 Apr 2025 01:56:32 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1745632493.0b87d8068499276aaf944b06d6c9dc4ba5716e20.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/yubikey-manager/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/yubikey-manager/yubikey-manager-5.5.1-r1.ebuild app-crypt/yubikey-manager/yubikey-manager-5.6.1-r1.ebuild X-VCS-Directories: app-crypt/yubikey-manager/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0b87d8068499276aaf944b06d6c9dc4ba5716e20 X-VCS-Branch: master Date: Sat, 26 Apr 2025 01:56:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f12f8ab1-6981-4033-8c67-097a2c9077b2 X-Archives-Hash: 2caf0d78625d7d5ae8fcf2d2e2c02016 commit: 0b87d8068499276aaf944b06d6c9dc4ba5716e20 Author: Joe Kappus wt gd> AuthorDate: Fri Apr 25 07:57:19 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 26 01:54:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b87d806 app-crypt/yubikey-manager: lock pyscard RDEPEND Lock pyscard to <2.2.2, new version not compatible: https://github.com/Yubico/yubikey-manager/commit/b951fcd0c6e916a5ccf751307b8dcdf71149b38a Closes: https://bugs.gentoo.org/953840 Signed-off-by: Joe Kappus wt.gd> Part-of: https://github.com/gentoo/gentoo/pull/41738 Closes: https://github.com/gentoo/gentoo/pull/41738 Signed-off-by: Sam James gentoo.org> .../yubikey-manager-5.5.1-r1.ebuild | 54 ++++++++++++++++++++++ .../yubikey-manager-5.6.1-r1.ebuild | 52 +++++++++++++++++++++ 2 files changed, 106 insertions(+) diff --git a/app-crypt/yubikey-manager/yubikey-manager-5.5.1-r1.ebuild b/app-crypt/yubikey-manager/yubikey-manager-5.5.1-r1.ebuild new file mode 100644 index 000000000000..a3eb09582ddf --- /dev/null +++ b/app-crypt/yubikey-manager/yubikey-manager-5.5.1-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +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/pyscard-2.0[${PYTHON_USEDEP}] + =dev-python/pyopenssl-0.15.1[${PYTHON_USEDEP}] )" +BDEPEND=" + test? ( dev-python/makefun[${PYTHON_USEDEP}] ) + verify-sig? ( >=sec-keys/openpgp-keys-yubico-20240628 )" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + doman man/ykman.1 +} diff --git a/app-crypt/yubikey-manager/yubikey-manager-5.6.1-r1.ebuild b/app-crypt/yubikey-manager/yubikey-manager-5.6.1-r1.ebuild new file mode 100644 index 000000000000..233567cd0ce9 --- /dev/null +++ b/app-crypt/yubikey-manager/yubikey-manager-5.6.1-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +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" +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/pyscard-2.0[${PYTHON_USEDEP}] +