1 |
commit: ab5683c8e84aa2568bdb29ddd18b1d7e32d956b2 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 23 17:57:44 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 23 18:03:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab5683c8 |
7 |
|
8 |
dev-python/tikzplotlib: add 0.9.17 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/tikzplotlib/Manifest | 1 + |
13 |
dev-python/tikzplotlib/tikzplotlib-0.9.17.ebuild | 39 ++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tikzplotlib/Manifest b/dev-python/tikzplotlib/Manifest |
17 |
index 08ee20e637d9..ed97defb17f0 100644 |
18 |
--- a/dev-python/tikzplotlib/Manifest |
19 |
+++ b/dev-python/tikzplotlib/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST tikzplotlib-0.9.16.tar.gz 98162 BLAKE2B de32064cd8cb6f3fbd8e067c8126a86da6d9836dc42d91d42fd8ad6ba9f8fc2a1001904d370cb756e76112a0d746247f6235fe40af277a7142bdc6264b1ee531 SHA512 7633b7e8ee23aed8da3df249a7dbc4e36667950d2c5caef5845b5468a61f5cb0191cad3253cc7940d19be56a7981d33c70c9d45ce0d9329286266af6f36c2d94 |
22 |
+DIST tikzplotlib-0.9.17.tar.gz 98194 BLAKE2B 746bd940805fa7bcef56398f974ad13c54814c7192ed8c85bdcfdf2fbeb93a0016d810a0b532120a404053e0666352c07f5f0db97b3241574fbcda3ad464664f SHA512 3708eba0d77890a919c7e974569fcf4cf1c798199927bd2771e8952f6ea49a10a6b85d605c3d6c4969e16bf47eb1683557f8bbefdf986f043049aa6b0c37a8ff |
23 |
|
24 |
diff --git a/dev-python/tikzplotlib/tikzplotlib-0.9.17.ebuild b/dev-python/tikzplotlib/tikzplotlib-0.9.17.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..444f03ff1e9c |
27 |
--- /dev/null |
28 |
+++ b/dev-python/tikzplotlib/tikzplotlib-0.9.17.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 2019-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 virtualx |
39 |
+ |
40 |
+DESCRIPTION="Convert matplotlib figures into TikZ/PGFPlots" |
41 |
+HOMEPAGE="https://github.com/nschloe/tikzplotlib" |
42 |
+SRC_URI="https://github.com/nschloe/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ app-text/texlive[extra] |
50 |
+ <dev-python/matplotlib-3.5[latex,${PYTHON_USEDEP}] |
51 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
52 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+ |
55 |
+BDEPEND=" |
56 |
+ test? ( |
57 |
+ dev-python/exdown[${PYTHON_USEDEP}] |
58 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
59 |
+ dev-python/scipy[${PYTHON_USEDEP}] |
60 |
+ )" |
61 |
+ |
62 |
+distutils_enable_tests pytest |
63 |
+distutils_enable_sphinx doc dev-python/mock |
64 |
+ |
65 |
+python_test() { |
66 |
+ local -x MPLBACKEND=Agg |
67 |
+ virtx epytest |
68 |
+} |