From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D505D139695 for ; Thu, 9 Mar 2017 20:44:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DB79E0C7D; Thu, 9 Mar 2017 20:44:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6303E0C94 for ; Thu, 9 Mar 2017 20:44:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C82153416DC for ; Thu, 9 Mar 2017 20:44:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 16AEC629F for ; Thu, 9 Mar 2017 20:44:10 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1489092229.9bfccc1116405fcfc0e5538c85e6aa03ce9beafc.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib2tikz/files/, dev-python/matplotlib2tikz/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/matplotlib2tikz/Manifest dev-python/matplotlib2tikz/files/matplotlib2tikz-0.6-init_pipdated.patch dev-python/matplotlib2tikz/matplotlib2tikz-0.6.2.ebuild dev-python/matplotlib2tikz/metadata.xml X-VCS-Directories: dev-python/matplotlib2tikz/ dev-python/matplotlib2tikz/files/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 9bfccc1116405fcfc0e5538c85e6aa03ce9beafc X-VCS-Branch: master Date: Thu, 9 Mar 2017 20:44:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 681a5031-3fd9-4ce6-8033-b632d0139c1c X-Archives-Hash: 6c3a18f8043ae054ad8111b9c3e658a2 commit: 9bfccc1116405fcfc0e5538c85e6aa03ce9beafc Author: Marius Brehler linux sungazer de> AuthorDate: Wed Mar 8 13:02:45 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Thu Mar 9 20:43:49 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bfccc11 dev-python/matplotlib2tikz: New package matplotlib2tikz is a Python tool for converting matplotlib figures into PGFPlots (TikZ) figures like for native inclusion into LaTeX documents. The output of matplotlib2tikz is in PGFPlots, a LaTeX library that sits on top of TikZ and describes graphs in terms of axes, data etc. Consequently, the output of matplotlib2tikz retains more information, can be more easily understood, and is more easily editable than raw TikZ output. Bug: https://bugs.gentoo.org/612052 Package-Manager: Portage-2.3.3, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/4161 dev-python/matplotlib2tikz/Manifest | 1 + .../files/matplotlib2tikz-0.6-init_pipdated.patch | 15 +++++++++++++ .../matplotlib2tikz/matplotlib2tikz-0.6.2.ebuild | 25 ++++++++++++++++++++++ dev-python/matplotlib2tikz/metadata.xml | 17 +++++++++++++++ 4 files changed, 58 insertions(+) diff --git a/dev-python/matplotlib2tikz/Manifest b/dev-python/matplotlib2tikz/Manifest new file mode 100644 index 00000000000..1efb6a8c999 --- /dev/null +++ b/dev-python/matplotlib2tikz/Manifest @@ -0,0 +1 @@ +DIST matplotlib2tikz-0.6.2.tar.gz 26358 SHA256 a81b1a09e8c0efc9944d673023d3a8c14ca38aec04af487c427f20872555ff09 SHA512 b60f378f947ec51be82fc45dafad14ef2700babb2ec72886480aff9bd84d591bc15e0626f38018f2d351ab8293109b2fc12cc4912eb933528b5334b2ef8ecfb7 WHIRLPOOL befa7a990cc4246c2a3357c72b4c34ec76e44af905c0d19312eccbf5ce8e5c8742f906484214ab50466992ae3fed40c5ffbb84e8b80bb06cea830f892a9c947e 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 00000000000..2acf79738c0 --- /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 +--- 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 00000000000..e40f2b47df9 --- /dev/null +++ b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.2.ebuild @@ -0,0 +1,25 @@ +# 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 TikZ/PGFPlots" +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[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/dev-python/matplotlib2tikz/metadata.xml b/dev-python/matplotlib2tikz/metadata.xml new file mode 100644 index 00000000000..9c08eac0171 --- /dev/null +++ b/dev-python/matplotlib2tikz/metadata.xml @@ -0,0 +1,17 @@ + + + + + marbre@linux.sungazer.de + Marius Brehler + + + sci@gentoo.org + Gentoo Science Project + + matplotlib2tikz is a Python tool for converting matplotlib figures into PGFPlots (TikZ) figures like for native inclusion into LaTeX documents. The output of matplotlib2tikz is in PGFPlots, a LaTeX library that sits on top of TikZ and describes graphs in terms of axes, data etc. Consequently, the output of matplotlib2tikz retains more information, can be more easily understood, and is more easily editable than raw TikZ output. + + nschloe/matplotlib2tikz + matplotlib2tikz + +