Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib2tikz/
Date: Fri, 17 Nov 2017 18:47:10
Message-Id: 1510944213.5e1167894d7eb47ec8318367deb21825b71dfff2.soap@gentoo
1 commit: 5e1167894d7eb47ec8318367deb21825b71dfff2
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Fri Nov 10 09:17:29 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 17 18:43:33 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e116789
7
8 dev-python/matplotlib2tikz: Version bump to 0.6.14
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11 Closes: https://github.com/gentoo/gentoo/pull/6166
12
13 dev-python/matplotlib2tikz/Manifest | 1 +
14 .../matplotlib2tikz/matplotlib2tikz-0.6.14.ebuild | 37 ++++++++++++++++++++++
15 2 files changed, 38 insertions(+)
16
17 diff --git a/dev-python/matplotlib2tikz/Manifest b/dev-python/matplotlib2tikz/Manifest
18 index e58a82f8833..d1fff6aa191 100644
19 --- a/dev-python/matplotlib2tikz/Manifest
20 +++ b/dev-python/matplotlib2tikz/Manifest
21 @@ -1 +1,2 @@
22 DIST matplotlib2tikz-0.6.13.tar.gz 524735 SHA256 ce6de9226316d4b5ae3ce0d57c7cf445d219e6842bdc041820c0c39ee9af339c SHA512 f42e96ab60005b96f9327e34ff9df444e9a371334c77b0bad85343beeb20a5c4c2df5539fd0200cf306a4cfed6926f191d547bf2ed69a98c4a9f2e1c2ae0da7b WHIRLPOOL f6ff4d4d8837394e1aacc2c66686cc711b64b6d7aad95620e402b4f1494436b8d2248ce8fbb947ec9d4a93442aba1c1cf03eed9423ff19f31b98060678274785
23 +DIST matplotlib2tikz-0.6.14.tar.gz 525576 SHA256 c0f7e526029f6811d8f4f75851e6a1dbd23090190b1eec68dfaf4ce082bb550d SHA512 d69b5bbb3e5aa298fe38ca0599436e12a8cf7628936fc24a641fff38b4429e1117f2f239fc41338e8459f8be1be55d7607808ad171bc256eff1f76a69079ac1a WHIRLPOOL c395b6110bece4b272945e5d0ad35640595dac93b009bcd0c2a89d2881f95efa5802908996dbbb8a1d436a44574a9a538106f14eb43658f5b86b82b08f3ae44c
24
25 diff --git a/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.14.ebuild b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.14.ebuild
26 new file mode 100644
27 index 00000000000..28505b0459e
28 --- /dev/null
29 +++ b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.14.ebuild
30 @@ -0,0 +1,37 @@
31 +# Copyright 1999-2017 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} )
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 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
54 + test? (
55 + ${RDEPEND}
56 + dev-python/ImageHash[${PYTHON_USEDEP}]
57 + dev-python/pytest[${PYTHON_USEDEP}]
58 + dev-tex/pgf
59 + )"
60 +
61 +# we have not succeeded in getting the tests to work yet ;-)
62 +RESTRICT="test"
63 +
64 +python_test() {
65 + local -x MPLBACKEND=Agg
66 + virtx py.test -v || die "Tests failed with ${EPYTHON}"
67 +}