commit:     609fb59499c4ac815db4f409e3af3ae8f6531034
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  1 16:07:05 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Apr  1 16:16:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=609fb594

dev-util/maturin: remove problematic pyproject.toml for now

Will likely look at using PEP517 in a new version soon'ish, but the
file is unused at the moment and cause issues with >=setuptools-61.3.0

Closes: https://bugs.gentoo.org/836597
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-util/maturin/maturin-0.12.11.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-util/maturin/maturin-0.12.11.ebuild 
b/dev-util/maturin/maturin-0.12.11.ebuild
index f26b7c9e2d0d..859c85ba6eb0 100644
--- a/dev-util/maturin/maturin-0.12.11.ebuild
+++ b/dev-util/maturin/maturin-0.12.11.ebuild
@@ -306,6 +306,9 @@ PATCHES=(
 python_prepare_all() {
        distutils-r1_python_prepare_all
 
+       # TODO: migrate to pep517, deleted meanwhile for bug #836597
+       rm pyproject.toml || die
+
        # use setup.py only for pure python and handle cargo manually
        sed -i 's/cmdclass.*/packages=["'${PN}'"],/' setup.py || die
 

Reply via email to