public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marius Brehler" <marbre@linux.sungazer.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/matplotlib2tikz/files/, dev-python/matplotlib2tikz/
Date: Tue, 13 Oct 2015 06:41:54 +0000 (UTC)	[thread overview]
Message-ID: <1444718390.08206b66c7079f1598c1eb67adbf1c23009b22e1.marbre@gentoo> (raw)

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 <marbre@linux.sungazer.de>
+  +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 <marbre@linux.sungazer.de>
   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 <marbre@linux.sungazer.de>
+--- 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='nico.schloemer@gmail.com',
+     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>


             reply	other threads:[~2015-10-13  6:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-13  6:41 Marius Brehler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-11-02  7:49 [gentoo-commits] proj/sci:master commit in: dev-python/matplotlib2tikz/files/, dev-python/matplotlib2tikz/ Marius Brehler
2017-03-06 15:29 Marius Brehler
2020-10-06 13:31 Aisha Tammy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444718390.08206b66c7079f1598c1eb67adbf1c23009b22e1.marbre@gentoo \
    --to=marbre@linux.sungazer.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox