1 |
commit: a7c565e7d167ab8e9b426d9852429dc415fdb000 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Sun Oct 4 20:23:22 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 13 12:06:09 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7c565e7 |
7 |
|
8 |
dev-python/tikzplotlib: version bump 0.9.4 |
9 |
|
10 |
also bumped the python targets |
11 |
|
12 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
13 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
dev-python/tikzplotlib/Manifest | 1 + |
17 |
dev-python/tikzplotlib/metadata.xml | 8 ++- |
18 |
dev-python/tikzplotlib/tikzplotlib-0.9.4.ebuild | 66 +++++++++++++++++++++++++ |
19 |
3 files changed, 73 insertions(+), 2 deletions(-) |
20 |
|
21 |
diff --git a/dev-python/tikzplotlib/Manifest b/dev-python/tikzplotlib/Manifest |
22 |
index 9d2e25fabe2..95c27dc5d26 100644 |
23 |
--- a/dev-python/tikzplotlib/Manifest |
24 |
+++ b/dev-python/tikzplotlib/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST tikzplotlib-0.9.1.tar.gz 584961 BLAKE2B 62737db9117c96484de690b26c3f13d5a872a3c70ad4ebe635bcba348dfa7f0eb944b8c469807c4c474351a9fae7db6dd71df82e33ee33cbdd8b1abeb9686e1b SHA512 10f3be8b843ea81d48bd6fad494a7e7a0cc5afd45a96c26be7f4dfbac929bdb3010fd355c6e1ef262273fd0783fc5b5b4a7b41a0c01e18cff5446bb9d96ee2b7 |
27 |
+DIST tikzplotlib-0.9.4.tar.gz 588518 BLAKE2B 3f6ec8b9149ef86e8a0dd551d4aeca4f676df3ca86de8bb9bfbf2abed81afab50adef99752970a40f174258f4d14c245366c5159f241d2cd10f7cebdfd6bbbfb SHA512 0d654dbecc473f5bc20dc128ad55852c3787ddd50cf730ed57b25a25e6a55e79bfd451eb28188d75ac6b61a53a6a6e244bef2ca366dcb636e0d325c74b32d1cd |
28 |
|
29 |
diff --git a/dev-python/tikzplotlib/metadata.xml b/dev-python/tikzplotlib/metadata.xml |
30 |
index 50a33145b07..34881f6ec28 100644 |
31 |
--- a/dev-python/tikzplotlib/metadata.xml |
32 |
+++ b/dev-python/tikzplotlib/metadata.xml |
33 |
@@ -1,9 +1,13 @@ |
34 |
<?xml version="1.0" encoding="UTF-8"?> |
35 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
36 |
<pkgmetadata> |
37 |
+ <maintainer type="person"> |
38 |
+ <email>andrewammerlaan@××××××.net</email> |
39 |
+ <name>Andrew Ammerlaan</name> |
40 |
+ </maintainer> |
41 |
<maintainer type="project"> |
42 |
- <email>sci@g.o</email> |
43 |
- <name>Gentoo Science Project</name> |
44 |
+ <email>proxy-maint@g.o</email> |
45 |
+ <name>Proxy Maintainers</name> |
46 |
</maintainer> |
47 |
<longdescription>tikzplotlib is a Python tool for converting matplotlib figures into PGFPlots (TikZ) figures like for native inclusion into LaTeX documents. The output of tikzplotlib is in PGFPlots, a LaTeX library that sits on top of TikZ and describes graphs in terms of axes, data etc. Consequently, the output of tikzplotlib retains more information, can be more easily understood, and is more easily editable than raw TikZ output.</longdescription> |
48 |
<upstream> |
49 |
|
50 |
diff --git a/dev-python/tikzplotlib/tikzplotlib-0.9.4.ebuild b/dev-python/tikzplotlib/tikzplotlib-0.9.4.ebuild |
51 |
new file mode 100644 |
52 |
index 00000000000..95096bfb665 |
53 |
--- /dev/null |
54 |
+++ b/dev-python/tikzplotlib/tikzplotlib-0.9.4.ebuild |
55 |
@@ -0,0 +1,66 @@ |
56 |
+# Copyright 2019-2020 Gentoo Authors |
57 |
+# Distributed under the terms of the GNU General Public License v2 |
58 |
+ |
59 |
+EAPI=7 |
60 |
+ |
61 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
62 |
+ |
63 |
+inherit distutils-r1 virtualx |
64 |
+ |
65 |
+if [[ ${PV} == 9999 ]]; then |
66 |
+ inherit git-r3 |
67 |
+ EGIT_REPO_URI="https://github.com/nschloe/${PN}.git git://github.com/nschloe/${PN}.git" |
68 |
+else |
69 |
+ SRC_URI="https://github.com/nschloe/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
70 |
+ KEYWORDS="~amd64 ~x86" |
71 |
+fi |
72 |
+ |
73 |
+DESCRIPTION="Convert matplotlib figures into TikZ/PGFPlots" |
74 |
+HOMEPAGE="https://github.com/nschloe/tikzplotlib" |
75 |
+ |
76 |
+LICENSE="MIT" |
77 |
+SLOT="0" |
78 |
+ |
79 |
+RDEPEND=" |
80 |
+ app-text/texlive |
81 |
+ $( python_gen_cond_dep \ |
82 |
+ 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_7 ) |
83 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
84 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
85 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
86 |
+" |
87 |
+ |
88 |
+BDEPEND=" |
89 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
90 |
+ test? ( |
91 |
+ dev-python/exdown[${PYTHON_USEDEP}] |
92 |
+ dev-python/pandas[${PYTHON_USEDEP}] |
93 |
+ dev-python/scipy[${PYTHON_USEDEP}] |
94 |
+)" |
95 |
+ |
96 |
+distutils_enable_tests pytest |
97 |
+distutils_enable_sphinx doc dev-python/mock |
98 |
+ |
99 |
+python_prepare_all() { |
100 |
+ # setup.py was removed in commit f04323cfa575caf8a25a9236f55fe6baf1a33b20 |
101 |
+ # for some reason, DISTUTULS_USE_SETUPTOOLS="pyproject.toml" is not working |
102 |
+ # it complains about file not found, setup.cfg does exist |
103 |
+ |
104 |
+ cat > setup.py <<EOF || die |
105 |
+from setuptools import setup |
106 |
+ |
107 |
+if __name__ == "__main__": |
108 |
+ setup() |
109 |
+EOF |
110 |
+ |
111 |
+ # Lots of TeX errors |
112 |
+ rm test/test_patches.py || die |
113 |
+ rm test/test_context.py || die |
114 |
+ |
115 |
+ distutils-r1_python_prepare_all |
116 |
+} |
117 |
+ |
118 |
+python_test() { |
119 |
+ local -x MPLBACKEND=Agg |
120 |
+ virtx pytest -vv |
121 |
+} |