mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
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
This commit is contained in:
committed by
David Seifert
parent
641193e258
commit
9bfccc1116
1
dev-python/matplotlib2tikz/Manifest
Normal file
1
dev-python/matplotlib2tikz/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST matplotlib2tikz-0.6.2.tar.gz 26358 SHA256 a81b1a09e8c0efc9944d673023d3a8c14ca38aec04af487c427f20872555ff09 SHA512 b60f378f947ec51be82fc45dafad14ef2700babb2ec72886480aff9bd84d591bc15e0626f38018f2d351ab8293109b2fc12cc4912eb933528b5334b2ef8ecfb7 WHIRLPOOL befa7a990cc4246c2a3357c72b4c34ec76e44af905c0d19312eccbf5ce8e5c8742f906484214ab50466992ae3fed40c5ffbb84e8b80bb06cea830f892a9c947e
|
||||
@@ -0,0 +1,15 @@
|
||||
Remove version checks using pipdated.
|
||||
|
||||
Patch by Marius Brehler <marbre@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)
|
||||
25
dev-python/matplotlib2tikz/matplotlib2tikz-0.6.2.ebuild
Normal file
25
dev-python/matplotlib2tikz/matplotlib2tikz-0.6.2.ebuild
Normal file
@@ -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}"
|
||||
17
dev-python/matplotlib2tikz/metadata.xml
Normal file
17
dev-python/matplotlib2tikz/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>marbre@linux.sungazer.de</email>
|
||||
<name>Marius Brehler</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>sci@gentoo.org</email>
|
||||
<name>Gentoo Science Project</name>
|
||||
</maintainer>
|
||||
<longdescription>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.</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">nschloe/matplotlib2tikz</remote-id>
|
||||
<remote-id type="pypi">matplotlib2tikz</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user