commit:     e32d38ace7b10c5ce96074138975c010e11c358f
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Mar  6 15:27:33 2017 +0000
Commit:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Mar  6 15:27:33 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e32d38ac

dev-python/matplotlib2tikz: Version bump to 0.6.2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../files/matplotlib2tikz-0.6-init_pipdated.patch  | 15 +++++++++++++
 .../matplotlib2tikz/matplotlib2tikz-0.6.2.ebuild   | 26 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git 
a/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.6-init_pipdated.patch 
b/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.6-init_pipdated.patch
new file mode 100644
index 000000000..2acf79738
--- /dev/null
+++ b/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.6-init_pipdated.patch
@@ -0,0 +1,15 @@
+Remove version checks using pipdated.
+
+Patch by Marius Brehler <mar...@linux.sungazer.de>
+--- a/matplotlib2tikz/__init__.py
++++ b/matplotlib2tikz/__init__.py
+@@ -15,9 +15,3 @@ from matplotlib2tikz.__about__ import (
+         )
+ 
+ from matplotlib2tikz.save import save
+-
+-import pipdated
+-if pipdated.needs_checking('matplotlib2tikz'):
+-    msg = pipdated.check('matplotlib2tikz', __version__)
+-    if msg:
+-        print(msg)

diff --git a/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.2.ebuild 
b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.2.ebuild
new file mode 100644
index 000000000..e89b630d8
--- /dev/null
+++ b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Convert matplotlib figures into native Pgfplots (TikZ) figures"
+HOMEPAGE="https://github.com/nschloe/matplotlib2tikz";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+PATCHES=( "${FILESDIR}/${PN}-0.6-init_pipdated.patch" )
+
+RDEPEND="dev-python/matplotlib[${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]
+       >=dev-python/pillow-3.0.0[${PYTHON_USEDEP}]
+       dev-texlive/texlive-pictures"
+DEPEND="${RDEPEND}"
+       #test? ( dev-python/pytest[${PYTHON_USEDEP}] )"

Reply via email to