1 |
commit: 479564d03cc2e06c0f9cd78f6581109d9fc5357e |
2 |
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
3 |
AuthorDate: Wed Sep 5 12:40:40 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 10 13:23:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=479564d0 |
7 |
|
8 |
dev-python/matplotlib2tikz: version bump to 0.6.18. |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/9785 |
12 |
|
13 |
dev-python/matplotlib2tikz/Manifest | 1 + |
14 |
.../matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild | 38 ++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/matplotlib2tikz/Manifest b/dev-python/matplotlib2tikz/Manifest |
18 |
index 0994fa38eb5..8096f92f6f2 100644 |
19 |
--- a/dev-python/matplotlib2tikz/Manifest |
20 |
+++ b/dev-python/matplotlib2tikz/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST matplotlib2tikz-0.6.17.tar.gz 526409 BLAKE2B 704ede0539aeb9668b4c1534b6dd13bb2a5bc18e7861bfdbe2e9002cc5a8b8c4639ac77384e1249c52ef33e04986b85f27dc5219e9c9c7c8b7b03cb5a7bf586c SHA512 9a8f34a69147271bb252a4e04bc5ce27c39fc976c29d1530df109287bbfd163f37a3b5f3d6a03def962e06c2a69e7d256028b12372847fbe14459cc664eca199 |
23 |
+DIST matplotlib2tikz-0.6.18.tar.gz 527262 BLAKE2B 370a1e088a17a98afd29e1e465c93b98b10100c85a277be3130f5c39bc236a9efab9241f9edffdbd430f9645cba4ff00ebda73dddeda024e3f545b21e548e786 SHA512 e12db2dd54a2145e1d66e19158c8a9305243beea60add0559959d801d319c43a28aa779048764d2adf29f878f7ccca9b2363bbc5034135a9d9002a8815fe37ab |
24 |
|
25 |
diff --git a/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..bc9212c7a05 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
37 |
+ |
38 |
+inherit distutils-r1 virtualx |
39 |
+ |
40 |
+DESCRIPTION="Convert matplotlib figures into TikZ/PGFPlots" |
41 |
+HOMEPAGE="https://github.com/nschloe/matplotlib2tikz" |
42 |
+SRC_URI="https://github.com/nschloe/matplotlib2tikz/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+KEYWORDS="~amd64" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+IUSE="test" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/matplotlib[${PYTHON_USEDEP}] |
51 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
52 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
53 |
+ dev-python/six[${PYTHON_USEDEP}]" |
54 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
+ test? ( |
56 |
+ ${RDEPEND} |
57 |
+ dev-python/ImageHash[${PYTHON_USEDEP}] |
58 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
59 |
+ dev-tex/pgf |
60 |
+ )" |
61 |
+ |
62 |
+# we have not succeeded in getting the tests to work yet ;-) |
63 |
+RESTRICT="test" |
64 |
+ |
65 |
+python_test() { |
66 |
+ local -x MPLBACKEND=Agg |
67 |
+ virtx py.test -v || die "Tests failed with ${EPYTHON}" |
68 |
+} |