commit: f1c296ac784183126fc5707fe08742b1a8e302d4 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Aug 24 12:34:31 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Aug 24 12:35:12 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1c296ac
dev-python/pycurl: Force building using distutils Bug: https://bugs.gentoo.org/738798 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pycurl/pycurl-7.43.0.5.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-python/pycurl/pycurl-7.43.0.5.ebuild b/dev-python/pycurl/pycurl-7.43.0.5.ebuild index d4876adf5b1..208be0af1b8 100644 --- a/dev-python/pycurl/pycurl-7.43.0.5.ebuild +++ b/dev-python/pycurl/pycurl-7.43.0.5.ebuild @@ -3,6 +3,7 @@ EAPI=7 +DISTUTILS_USE_SETUPTOOLS=manual # The selftests fail with pypy, and urlgrabber segfaults for me. PYTHON_COMPAT=( python3_{6,7,8,9} ) @@ -54,6 +55,8 @@ PATCHES=( python_prepare_all() { sed -e "/setup_args\['data_files'\] = /d" -i setup.py || die + # disable automagic use of setuptools + sed -e 's:import wheel:raise ImportError:' -i setup.py || die # these tests are broken with newer versions of bottle sed -e 's:test.*_invalid_utf8:_&:' -i tests/getinfo_test.py || die distutils-r1_python_prepare_all
