commit: 692dfa803db1ee26ba850909c561bf79d958d121
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 02:40:05 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 18 02:40:05 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=692dfa80
dev-python/rfc3161-client: Unpin cryptography
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
...fc3161-client-0.1.2.ebuild => rfc3161-client-0.1.2-r1.ebuild} | 9 ++++++++-
...fc3161-client-1.0.1.ebuild => rfc3161-client-1.0.1-r1.ebuild} | 9 ++++++++-
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/dev-python/rfc3161-client/rfc3161-client-0.1.2.ebuild
b/dev-python/rfc3161-client/rfc3161-client-0.1.2-r1.ebuild
similarity index 92%
rename from dev-python/rfc3161-client/rfc3161-client-0.1.2.ebuild
rename to dev-python/rfc3161-client/rfc3161-client-0.1.2-r1.ebuild
index 2666b58bfa0d..f8cb11a250e5 100644
--- a/dev-python/rfc3161-client/rfc3161-client-0.1.2.ebuild
+++ b/dev-python/rfc3161-client/rfc3161-client-0.1.2-r1.ebuild
@@ -89,7 +89,7 @@ SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
- =dev-python/cryptography-44*[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-43[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
@@ -99,6 +99,13 @@ BDEPEND="
distutils_enable_tests pytest
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # unpin
+ sed -i '/cryptography/s:,<[0-9]*::' pyproject.toml || die
+}
+
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
diff --git a/dev-python/rfc3161-client/rfc3161-client-1.0.1.ebuild
b/dev-python/rfc3161-client/rfc3161-client-1.0.1-r1.ebuild
similarity index 93%
rename from dev-python/rfc3161-client/rfc3161-client-1.0.1.ebuild
rename to dev-python/rfc3161-client/rfc3161-client-1.0.1-r1.ebuild
index 8980f5a624c7..765af386c56b 100644
--- a/dev-python/rfc3161-client/rfc3161-client-1.0.1.ebuild
+++ b/dev-python/rfc3161-client/rfc3161-client-1.0.1-r1.ebuild
@@ -101,7 +101,7 @@ SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
- =dev-python/cryptography-44*[${PYTHON_USEDEP}]
+ >=dev-python/cryptography-43[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
@@ -111,6 +111,13 @@ BDEPEND="
distutils_enable_tests pytest
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # unpin
+ sed -i '/cryptography/s:,<[0-9]*::' pyproject.toml || die
+}
+
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest