commit:     aa05edaa74db2238d30a6317206d2e334c699db2
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 19 14:24:32 2022 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Sun Jun 19 14:32:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa05edaa

dev-python/pyfuse3: 3.2.1-r1: fix Python 3.10 support.

Closes: https://bugs.gentoo.org/841704
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 .../pyfuse3/{pyfuse3-3.2.1.ebuild => pyfuse3-3.2.1-r1.ebuild}      | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-python/pyfuse3/pyfuse3-3.2.1.ebuild 
b/dev-python/pyfuse3/pyfuse3-3.2.1-r1.ebuild
similarity index 79%
rename from dev-python/pyfuse3/pyfuse3-3.2.1.ebuild
rename to dev-python/pyfuse3/pyfuse3-3.2.1-r1.ebuild
index 47024ff967e7..f89d8c1c07a0 100644
--- a/dev-python/pyfuse3/pyfuse3-3.2.1.ebuild
+++ b/dev-python/pyfuse3/pyfuse3-3.2.1-r1.ebuild
@@ -30,3 +30,10 @@ BDEPEND="test? (
 )"
 
 distutils_enable_tests pytest
+
+python_prepare_all() {
+       python_setup
+       # Shipped pre-generated .pyx do not work with Python 3.10.
+       esetup.py build_cython
+       distutils-r1_python_prepare_all
+}

Reply via email to