commit: f2760302b9d8f62eb7ac6f02395d7a2ecd7b7b59
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 27 15:45:09 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 27 15:45:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2760302
dev-python/signature-dispatch: Unpin dependencies
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
...e-dispatch-1.0.1.ebuild => signature-dispatch-1.0.1-r1.ebuild} | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/dev-python/signature-dispatch/signature-dispatch-1.0.1.ebuild
b/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild
similarity index 80%
rename from dev-python/signature-dispatch/signature-dispatch-1.0.1.ebuild
rename to dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild
index 19d13a97f45b..4a16a8c0d836 100644
--- a/dev-python/signature-dispatch/signature-dispatch-1.0.1.ebuild
+++ b/dev-python/signature-dispatch/signature-dispatch-1.0.1-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=flit
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1 pypi
@@ -24,6 +24,12 @@ RDEPEND="
>=dev-python/typeguard-3.0.0[${PYTHON_USEDEP}]
"
+src_prepare() {
+ # unpin deps
+ sed -i -e 's:~=:>=:' pyproject.toml || die
+ distutils-r1_src_prepare
+}
+
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -o addopts=