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/matplotlib2tikz/
Date: Fri, 16 Feb 2018 18:49:49
Message-Id: 1518806978.a2b2001b49b15736f684406aa7b1f0820175e7a7.mgorny@gentoo
1 commit: a2b2001b49b15736f684406aa7b1f0820175e7a7
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Sat Feb 10 11:02:11 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 16 18:49:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2b2001b
7
8 dev-python/matplotlib2tikz: Version bump to 0.6.15
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.3
11
12 dev-python/matplotlib2tikz/Manifest | 1 +
13 .../matplotlib2tikz/matplotlib2tikz-0.6.15.ebuild | 38 ++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/matplotlib2tikz/Manifest b/dev-python/matplotlib2tikz/Manifest
17 index 27b875ae8b5..30cbb805d65 100644
18 --- a/dev-python/matplotlib2tikz/Manifest
19 +++ b/dev-python/matplotlib2tikz/Manifest
20 @@ -1 +1,2 @@
21 DIST matplotlib2tikz-0.6.14.tar.gz 525576 BLAKE2B e8190eca79b1b8fd1ae2852984ff2e5740b945fe541a39449906fb9da7cfa3a8be0a5ad8e22a6a35ce9e687e0c9a091a776a1e2534836b35ef48aa980eb46ccb SHA512 d69b5bbb3e5aa298fe38ca0599436e12a8cf7628936fc24a641fff38b4429e1117f2f239fc41338e8459f8be1be55d7607808ad171bc256eff1f76a69079ac1a
22 +DIST matplotlib2tikz-0.6.15.tar.gz 526046 BLAKE2B 4cc3585fe1a83c563fd00928843a16b4ba1ab2fecf8b662beaf40cd9e0211fb4fdb09c4bc4c1f110452621cf5d92f86bb492d0838be20693b86c3b4e9bd73566 SHA512 1f5b05319090d74fbd7ec99ad0e3f236f44107de2381d69e423f5878ba4c7666caca46ab87ae187f52f3ffa907cc4d75018b2ce6c9bcef44062e369f9a26be11
23
24 diff --git a/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.15.ebuild b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.15.ebuild
25 new file mode 100644
26 index 00000000000..6aaaf8cd6d9
27 --- /dev/null
28 +++ b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.15.ebuild
29 @@ -0,0 +1,38 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python2_7 python3_{4,5} )
36 +
37 +inherit distutils-r1 virtualx
38 +
39 +DESCRIPTION="Convert matplotlib figures into TikZ/PGFPlots"
40 +HOMEPAGE="https://github.com/nschloe/matplotlib2tikz"
41 +SRC_URI="https://github.com/nschloe/matplotlib2tikz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +KEYWORDS="~amd64"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +IUSE="test"
47 +
48 +RDEPEND="
49 + dev-python/matplotlib[${PYTHON_USEDEP}]
50 + dev-python/numpy[${PYTHON_USEDEP}]
51 + dev-python/pillow[${PYTHON_USEDEP}]
52 + dev-python/six[${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 +}