Gentoo Archives: gentoo-commits

From: Marius Brehler <marbre@××××××××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/matplotlib2tikz/files/, dev-python/matplotlib2tikz/
Date: Mon, 06 Mar 2017 15:29:08
Message-Id: 1488814053.e32d38ace7b10c5ce96074138975c010e11c358f.marbre@gentoo
1 commit: e32d38ace7b10c5ce96074138975c010e11c358f
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Mon Mar 6 15:27:33 2017 +0000
4 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
5 CommitDate: Mon Mar 6 15:27:33 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e32d38ac
7
8 dev-python/matplotlib2tikz: Version bump to 0.6.2
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 .../files/matplotlib2tikz-0.6-init_pipdated.patch | 15 +++++++++++++
13 .../matplotlib2tikz/matplotlib2tikz-0.6.2.ebuild | 26 ++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.6-init_pipdated.patch b/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.6-init_pipdated.patch
17 new file mode 100644
18 index 000000000..2acf79738
19 --- /dev/null
20 +++ b/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.6-init_pipdated.patch
21 @@ -0,0 +1,15 @@
22 +Remove version checks using pipdated.
23 +
24 +Patch by Marius Brehler <marbre@××××××××××××××.de>
25 +--- a/matplotlib2tikz/__init__.py
26 ++++ b/matplotlib2tikz/__init__.py
27 +@@ -15,9 +15,3 @@ from matplotlib2tikz.__about__ import (
28 + )
29 +
30 + from matplotlib2tikz.save import save
31 +-
32 +-import pipdated
33 +-if pipdated.needs_checking('matplotlib2tikz'):
34 +- msg = pipdated.check('matplotlib2tikz', __version__)
35 +- if msg:
36 +- print(msg)
37
38 diff --git a/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.2.ebuild b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.2.ebuild
39 new file mode 100644
40 index 000000000..e89b630d8
41 --- /dev/null
42 +++ b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.2.ebuild
43 @@ -0,0 +1,26 @@
44 +# Copyright 1999-2017 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +
47 +EAPI=6
48 +
49 +PYTHON_COMPAT=( python2_7 python3_{4,5} )
50 +
51 +inherit distutils-r1
52 +
53 +DESCRIPTION="Convert matplotlib figures into native Pgfplots (TikZ) figures"
54 +HOMEPAGE="https://github.com/nschloe/matplotlib2tikz"
55 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
56 +KEYWORDS="~amd64"
57 +
58 +LICENSE="MIT"
59 +SLOT="0"
60 +IUSE=""
61 +
62 +PATCHES=( "${FILESDIR}/${PN}-0.6-init_pipdated.patch" )
63 +
64 +RDEPEND="dev-python/matplotlib[${PYTHON_USEDEP}]
65 + dev-python/numpy[${PYTHON_USEDEP}]
66 + >=dev-python/pillow-3.0.0[${PYTHON_USEDEP}]
67 + dev-texlive/texlive-pictures"
68 +DEPEND="${RDEPEND}"
69 + #test? ( dev-python/pytest[${PYTHON_USEDEP}] )"