commit: ba648348c4cdbe3ed09c38c55c92ce7afe384855
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 6 11:50:52 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 11 20:31:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba648348
dev-python/tikzplotlib: Use distutils-r1 pyproject.toml support
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
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 b1d6c8827e1..eec9580243f 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