Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tikzplotlib/
Date: Thu, 11 Feb 2021 20:31:22
Message-Id: 1613075473.ba648348c4cdbe3ed09c38c55c92ce7afe384855.mgorny@gentoo
1 commit: ba648348c4cdbe3ed09c38c55c92ce7afe384855
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 6 11:50:52 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 11 20:31:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba648348
7
8 dev-python/tikzplotlib: Use distutils-r1 pyproject.toml support
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/tikzplotlib/tikzplotlib-0.9.7.ebuild | 16 +---------------
13 1 file changed, 1 insertion(+), 15 deletions(-)
14
15 diff --git a/dev-python/tikzplotlib/tikzplotlib-0.9.7.ebuild b/dev-python/tikzplotlib/tikzplotlib-0.9.7.ebuild
16 index b1d6c8827e1..eec9580243f 100644
17 --- a/dev-python/tikzplotlib/tikzplotlib-0.9.7.ebuild
18 +++ b/dev-python/tikzplotlib/tikzplotlib-0.9.7.ebuild
19 @@ -3,6 +3,7 @@
20
21 EAPI=7
22
23 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
24 PYTHON_COMPAT=( python3_{7..9} )
25
26 inherit distutils-r1 virtualx
27 @@ -35,21 +36,6 @@ BDEPEND="
28 distutils_enable_tests pytest
29 distutils_enable_sphinx doc dev-python/mock
30
31 -python_prepare_all() {
32 - # setup.py was removed in commit f04323cfa575caf8a25a9236f55fe6baf1a33b20
33 - # for some reason, DISTUTULS_USE_SETUPTOOLS="pyproject.toml" is not working
34 - # it complains about file not found, setup.cfg does exist
35 -
36 - cat > setup.py <<EOF || die
37 -from setuptools import setup
38 -
39 -if __name__ == "__main__":
40 - setup()
41 -EOF
42 -
43 - distutils-r1_python_prepare_all
44 -}
45 -
46 python_test() {
47 local -x MPLBACKEND=Agg
48 virtx pytest -vv