commit: 08206b66c7079f1598c1eb67adbf1c23009b22e1 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> AuthorDate: Tue Oct 13 06:39:50 2015 +0000 Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> CommitDate: Tue Oct 13 06:39:50 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=08206b66
dev-python/matplotlib2tikz: Version bump Package-Manager: portage-2.2.20.1 dev-python/matplotlib2tikz/ChangeLog | 7 ++++++ .../files/matplotlib2tikz-0.2.0-setup.py.patch | 29 ++++++++++++++++++++++ .../matplotlib2tikz/matplotlib2tikz-0.2.0.ebuild | 27 ++++++++++++++++++++ dev-python/matplotlib2tikz/metadata.xml | 1 + 4 files changed, 64 insertions(+) diff --git a/dev-python/matplotlib2tikz/ChangeLog b/dev-python/matplotlib2tikz/ChangeLog index 6e0a723..06f0a5c 100644 --- a/dev-python/matplotlib2tikz/ChangeLog +++ b/dev-python/matplotlib2tikz/ChangeLog @@ -2,6 +2,13 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Id$ +*matplotlib2tikz-0.2.0 (13 Oct 2015) + + 13 Oct 2015; Marius Brehler <[email protected]> + +files/matplotlib2tikz-0.2.0-setup.py.patch, +matplotlib2tikz-0.2.0.ebuild, + metadata.xml: + dev-python/matplotlib2tikz: Version bump + 30 Sep 2015; Marius Brehler <[email protected]> matplotlib2tikz-0.1.0.ebuild: dev-python/matplotlib2tikz: Drop python3 (only supported in 9999) diff --git a/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.2.0-setup.py.patch b/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.2.0-setup.py.patch new file mode 100644 index 0000000..677ebfc --- /dev/null +++ b/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.2.0-setup.py.patch @@ -0,0 +1,29 @@ +Patch to eliminate dependency on pypandoc. + +Patch by Marius Brehler <[email protected]> +--- setup.py ++++ setup.py.new +@@ -2,15 +2,9 @@ + # + from distutils.core import setup + import os +-import pypandoc + + from matplotlib2tikz import __version__, __license__ + +-longdesc = pypandoc.convert( +- os.path.join(os.path.dirname(os.path.realpath(__file__)), 'README.md'), +- 'rst' +- ) +- + setup( + name='matplotlib2tikz', + version=__version__, +@@ -21,7 +15,6 @@ setup( + author_email='[email protected]', + requires=['matplotlib (>=1.4.0)', 'numpy'], + description='convert matplotlib figures into TikZ/PGFPlots', +- long_description=longdesc, + license=__license__, + classifiers=[ + 'Development Status :: 5 - Production/Stable', diff --git a/dev-python/matplotlib2tikz/matplotlib2tikz-0.2.0.ebuild b/dev-python/matplotlib2tikz/matplotlib2tikz-0.2.0.ebuild new file mode 100644 index 0000000..cc7a667 --- /dev/null +++ b/dev-python/matplotlib2tikz/matplotlib2tikz-0.2.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +inherit distutils-r1 + +DESCRIPTION="Python script for converting 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="LGPL-3" +SLOT="0" +IUSE="" + +PATCHES=( + "${FILESDIR}/${P}"-setup.py.patch +) + +RDEPEND="dev-python/matplotlib[${PYTHON_USEDEP}] + dev-texlive/texlive-pictures" +DEPEND="${RDEPEND}" + #test? ( dev-python/pytest[${PYTHON_USEDEP}] )" diff --git a/dev-python/matplotlib2tikz/metadata.xml b/dev-python/matplotlib2tikz/metadata.xml index 112456f..8ac4a12 100644 --- a/dev-python/matplotlib2tikz/metadata.xml +++ b/dev-python/matplotlib2tikz/metadata.xml @@ -8,5 +8,6 @@ </maintainer> <upstream> <remote-id type="github">nschloe/matplotlib2tikz</remote-id> + <remote-id type="pypi">matplotlib2tikz</remote-id> </upstream> </pkgmetadata>
