commit:     cf712e50afeceaff98702e5e7a84075a85767366
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 02:32:47 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 18 02:32:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf712e50

dev-python/fido2: Unpin cryptography

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/fido2/{fido2-1.2.0.ebuild => fido2-1.2.0-r1.ebuild} | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-python/fido2/fido2-1.2.0.ebuild 
b/dev-python/fido2/fido2-1.2.0-r1.ebuild
similarity index 85%
rename from dev-python/fido2/fido2-1.2.0.ebuild
rename to dev-python/fido2/fido2-1.2.0-r1.ebuild
index e92209d41382..d73a8692653c 100644
--- a/dev-python/fido2/fido2-1.2.0.ebuild
+++ b/dev-python/fido2/fido2-1.2.0-r1.ebuild
@@ -23,7 +23,7 @@ KEYWORDS="amd64 arm arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc x86"
 IUSE="examples"
 
 RDEPEND="
-       <dev-python/cryptography-45[${PYTHON_USEDEP}]
+       dev-python/cryptography[${PYTHON_USEDEP}]
        <dev-python/pyscard-3[${PYTHON_USEDEP}]
        examples? (
                dev-python/flask[${PYTHON_USEDEP}]
@@ -33,6 +33,13 @@ RDEPEND="
 
 distutils_enable_tests pytest
 
+src_prepare() {
+       distutils-r1_src_prepare
+
+       # unpin
+       sed -i -e '/cryptography/s:, <[0-9]*::' pyproject.toml || die
+}
+
 python_install_all() {
        distutils-r1_python_install_all
 

Reply via email to