commit: 14bcf3f23253d69f3821bf25628d83c5d2876ad1
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 20 03:17:23 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 20 03:17:23 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14bcf3f2
dev-python/fido2: Bump to 2.1.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/fido2/Manifest | 1 +
dev-python/fido2/fido2-2.1.1.ebuild | 56 +++++++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/dev-python/fido2/Manifest b/dev-python/fido2/Manifest
index 444d6c033193..8bb86b2ebc9c 100644
--- a/dev-python/fido2/Manifest
+++ b/dev-python/fido2/Manifest
@@ -1,3 +1,4 @@
DIST fido2-0.9.3.tar.gz 217894 BLAKE2B
ccc3a9b59045216037664b5bf4b969a79b86b300f67fc4253b563acbbee98912ea076996772f17b88141d2a36a933b4926de96f05c53e204d0bb4eaaa2daad6b
SHA512
f105c347784cdfab88ab08852227d24f4bca623145f7f76bd066dadab6ada1eae751934fd4dc7436a5c5fb3a0ed2fc4d5c59bb2a93888d470028f0713ca7e09e
DIST fido2-2.0.0.tar.gz 274942 BLAKE2B
5c19ffa6edc58ddcf05be24ad06d0a367b21d3a4e1ba392d2d84e99fbdeb7d36a0514cebcbf9de3f49c956b37f638024ceae2db252d705f5484574703cb1b1b3
SHA512
15640aae4a8aba8a4b7eec1c1da21dc52bd25f0759ff49f7b86609c1e15cf2150bf189b651e505a0042e0f05e554adec86dd0c42be71e9b4d9857d2883a15c1a
DIST fido2-2.1.0.tar.gz 4455878 BLAKE2B
b16051ad4127a455d04c2196da7e7e71566c280e703f755754fa8c5e15dac20365bd02ddf0c1023881b5923a06d68edba806c82fdbed89c7157fdf7b030d68a0
SHA512
e5a1b756a51844c8d11a82078a13ef22ff3556449e69574334f9f9a367e6c9e00aace5831d6ebabd93c20733b0d417326b0fdbae1e74939c08c256580079739c
+DIST fido2-2.1.1.tar.gz 4455940 BLAKE2B
1d45ca8b3ebd3a010c8b055b169340a2c288ed53f52d6341a3cc887b873c44d10c8734e3d908c746ea77131fb80013f94a53f7fb70702c8f51bb564ad8906657
SHA512
883cfaf0c0cd304f467fcd515417c456fde353fcd991fa6aaf74fb12ba97a378d082f2fe0ae435bcf14a8c284e0b4665c721410ad2315bc8922e2f09d16d7cac
diff --git a/dev-python/fido2/fido2-2.1.1.ebuild
b/dev-python/fido2/fido2-2.1.1.ebuild
new file mode 100644
index 000000000000..7c65f0aa1a3b
--- /dev/null
+++ b/dev-python/fido2/fido2-2.1.1.ebuild
@@ -0,0 +1,56 @@
+# 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_{11..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python based FIDO 2.0 library"
+HOMEPAGE="
+ https://github.com/Yubico/python-fido2/
+ https://pypi.org/project/fido2/
+"
+SRC_URI="
+
https://github.com/Yubico/python-fido2/releases/download/${PV}/${P}.tar.gz
+"
+
+LICENSE="Apache-2.0 BSD-2 MIT MPL-2.0"
+SLOT="0/1.0" # Bumped every time a backwards-incompatible version is released
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="examples"
+
+RDEPEND="
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ <dev-python/pyscard-3[${PYTHON_USEDEP}]
+ examples? (
+ dev-python/flask[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # unpin
+ sed -i -e '/cryptography/s:, <[0-9]*::' pyproject.toml || die
+}
+
+python_test() {
+ # skip device integration tests
+ epytest --no-device
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ if use examples; then
+ docinto examples
+ dodoc -r "${S}"/examples/.
+ docompress -x "/usr/share/doc/${PF}/examples"
+ fi
+}