Signed-off-by: Michał Górny <[email protected]>
---
 dev-python/tikzplotlib/tikzplotlib-0.9.7.ebuild | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/dev-python/tikzplotlib/tikzplotlib-0.9.7.ebuild 
b/dev-python/tikzplotlib/tikzplotlib-0.9.7.ebuild
index b1d6c8827e1d..eec9580243fc 100644
--- a/dev-python/tikzplotlib/tikzplotlib-0.9.7.ebuild
+++ b/dev-python/tikzplotlib/tikzplotlib-0.9.7.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
 PYTHON_COMPAT=( python3_{7..9} )
 
 inherit distutils-r1 virtualx
@@ -35,21 +36,6 @@ BDEPEND="
 distutils_enable_tests pytest
 distutils_enable_sphinx doc dev-python/mock
 
-python_prepare_all() {
-       # setup.py was removed in commit 
f04323cfa575caf8a25a9236f55fe6baf1a33b20
-       # for some reason, DISTUTULS_USE_SETUPTOOLS="pyproject.toml" is not 
working
-       # it complains about file not found, setup.cfg does exist
-
-       cat > setup.py <<EOF || die
-from setuptools import setup
-
-if __name__ == "__main__":
-       setup()
-EOF
-
-       distutils-r1_python_prepare_all
-}
-
 python_test() {
        local -x MPLBACKEND=Agg
        virtx pytest -vv
-- 
2.30.0


Reply via email to