public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib2tikz/files/, dev-python/matplotlib2tikz/
@ 2017-03-09 20:44 David Seifert
  0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2017-03-09 20:44 UTC (permalink / raw
  To: gentoo-commits

commit:     9bfccc1116405fcfc0e5538c85e6aa03ce9beafc
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Wed Mar  8 13:02:45 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> 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 <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)

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 @@
+<?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>


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib2tikz/files/, dev-python/matplotlib2tikz/
@ 2017-05-18 18:02 Michał Górny
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2017-05-18 18:02 UTC (permalink / raw
  To: gentoo-commits

commit:     e399942ee32735947587877559003d67b894b25b
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Apr 25 08:06:09 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 18 18:02:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e399942e

dev-python/matplotlib2tikz: Version bump to 0.6.7

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/matplotlib2tikz/Manifest                |  1 +
 .../matplotlib2tikz-0.6.7-init_pipdated.patch      | 13 ++++++++
 .../matplotlib2tikz/matplotlib2tikz-0.6.7.ebuild   | 39 ++++++++++++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/dev-python/matplotlib2tikz/Manifest b/dev-python/matplotlib2tikz/Manifest
index dd340f68a6b..e3fea28df9b 100644
--- a/dev-python/matplotlib2tikz/Manifest
+++ b/dev-python/matplotlib2tikz/Manifest
@@ -1 +1,2 @@
 DIST matplotlib2tikz-0.6.3.tar.gz 26288 SHA256 c096d75fdfe65ef4afd8aa374c5fb4b540fc13154d1ee117841ad5b67e494827 SHA512 01adffcd9d627494eb73e1f092e6ee3d6ad1b0ece96fb749a09c73942fc6a253abb3518dc8d11a2398c3fcb3b2c1e26b1dc5dc02f1e9671c4c12754f9ac6907b WHIRLPOOL 363a896f9fe5b648992767cb5449928e30141ed3aea5182a6c119af50f0793f7c0cb2e2d0daae3b4d78fb9c91af6c1ea0233f9407a0658d3be8dc1d76cf52151
+DIST matplotlib2tikz-0.6.7.tar.gz 523464 SHA256 ba95bbf5f654abccee6c3e9ab9bdd4e7fc6cab5d49def072d1c7a9020b7b602e SHA512 9128eb7cabcd44ed84ac5d9b125dc897d2901cd4d29a8aa6bbd48c35c6418f4b5cd5b8e7c55e7690fe927c704580fe2d83084c37d515c9a25ee67ea476a63e4d WHIRLPOOL f1cd962ebafab85adbd8bbaaf6f565e1312d610bfd7cd0827f60535432ce952ae6e5535860e754ad872cdfffaa70bb72d4cfb676adb91b2624f5ab060969fd7b

diff --git a/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.6.7-init_pipdated.patch b/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.6.7-init_pipdated.patch
new file mode 100644
index 00000000000..396513f3146
--- /dev/null
+++ b/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.6.7-init_pipdated.patch
@@ -0,0 +1,13 @@
+Remove version checks using pipdated.
+
+Patch by Marius Brehler <marbre@linux.sungazer.de>
+--- a/matplotlib2tikz/__init__.py
++++ b/matplotlib2tikz/__init__.py
+@@ -15,7 +15,3 @@ from matplotlib2tikz.__about__ import (
+         )
+ 
+ from matplotlib2tikz.save import get_tikz_code, save
+-
+-import pipdated
+-if pipdated.needs_checking(__name__):
+-    print(pipdated.check(__name__, __version__))

diff --git a/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.7.ebuild b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.7.ebuild
new file mode 100644
index 00000000000..c08121bee49
--- /dev/null
+++ b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.7.ebuild
@@ -0,0 +1,39 @@
+# 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 virtualx
+
+DESCRIPTION="Convert matplotlib figures into TikZ/PGFPlots"
+HOMEPAGE="https://github.com/nschloe/matplotlib2tikz"
+SRC_URI="https://github.com/nschloe/matplotlib2tikz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="test"
+
+PATCHES=( "${FILESDIR}/${P}-init_pipdated.patch" )
+
+RDEPEND="
+	dev-python/matplotlib[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	dev-python/pillow[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+	test? (
+		${RDEPEND}
+		dev-python/ImageHash[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
+		dev-tex/pgf
+	)"
+
+# we have not succeeded in getting the tests to work yet ;-)
+RESTRICT="test"
+
+python_test() {
+	local -x MPLBACKEND=Agg
+	virtx py.test -v || die "Tests failed with ${EPYTHON}"
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib2tikz/files/, dev-python/matplotlib2tikz/
@ 2017-07-30  9:34 David Seifert
  0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2017-07-30  9:34 UTC (permalink / raw
  To: gentoo-commits

commit:     6d736b7545802d5a5de68a3477513b361e1f608f
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Mon Jul 24 07:09:38 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul 30 09:33:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d736b75

dev-python/matplotlib2tikz: Drop 0.6.7-r1

Package-Manager: Portage-2.3.6, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/5192

 dev-python/matplotlib2tikz/Manifest                |  1 -
 .../files/matplotlib2tikz-0.6.7-pipdated.patch     | 24 -------------
 .../matplotlib2tikz-0.6.7-r1.ebuild                | 39 ----------------------
 3 files changed, 64 deletions(-)

diff --git a/dev-python/matplotlib2tikz/Manifest b/dev-python/matplotlib2tikz/Manifest
index ac645618b00..63de2e8e006 100644
--- a/dev-python/matplotlib2tikz/Manifest
+++ b/dev-python/matplotlib2tikz/Manifest
@@ -1,2 +1 @@
 DIST matplotlib2tikz-0.6.11.tar.gz 524298 SHA256 79c9f141fd802fe5863d2eaff6c67476d02ca474433e65990c935241a2591994 SHA512 eda5042f1db35436ca56256cb858fa11b48d497f621183475d69381b0b10ac67f9447522e1b78c1a331337e34eb159b5ffeef9655a8c0dc4ccab22b7afcb5e96 WHIRLPOOL b09025b9444e0a0ec122fbb7d6d90e32e043c3a86e8b7454ac3fdc0ba03374f5648491a4564bae7ef622a536f4ec92e762a68816d64621da6df44fea2c404c8c
-DIST matplotlib2tikz-0.6.7.tar.gz 523464 SHA256 ba95bbf5f654abccee6c3e9ab9bdd4e7fc6cab5d49def072d1c7a9020b7b602e SHA512 9128eb7cabcd44ed84ac5d9b125dc897d2901cd4d29a8aa6bbd48c35c6418f4b5cd5b8e7c55e7690fe927c704580fe2d83084c37d515c9a25ee67ea476a63e4d WHIRLPOOL f1cd962ebafab85adbd8bbaaf6f565e1312d610bfd7cd0827f60535432ce952ae6e5535860e754ad872cdfffaa70bb72d4cfb676adb91b2624f5ab060969fd7b

diff --git a/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.6.7-pipdated.patch b/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.6.7-pipdated.patch
deleted file mode 100644
index 3400ec9f0e7..00000000000
--- a/dev-python/matplotlib2tikz/files/matplotlib2tikz-0.6.7-pipdated.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Remove version checks using pipdated.
-
-Patch by Marius Brehler <marbre@linux.sungazer.de>
---- a/matplotlib2tikz/__init__.py
-+++ b/matplotlib2tikz/__init__.py
-@@ -15,7 +15,3 @@ from matplotlib2tikz.__about__ import (
-         )
- 
- from matplotlib2tikz.save import get_tikz_code, save
--
--import pipdated
--if pipdated.needs_checking(__name__):
--    print(pipdated.check(__name__, __version__))
-
---- a/setup.py
-+++ b/setup.py
-@@ -34,7 +34,6 @@ setup(
-         'matplotlib >=1.4.0',
-         'numpy',
-         'Pillow >= 3.0.0',
--        'pipdated',
-         ],
-     description='convert matplotlib figures into TikZ/PGFPlots',
-     long_description=read('README.rst'),

diff --git a/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.7-r1.ebuild b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.7-r1.ebuild
deleted file mode 100644
index 437c6ed6f55..00000000000
--- a/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.7-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# 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 virtualx
-
-DESCRIPTION="Convert matplotlib figures into TikZ/PGFPlots"
-HOMEPAGE="https://github.com/nschloe/matplotlib2tikz"
-SRC_URI="https://github.com/nschloe/matplotlib2tikz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-LICENSE="MIT"
-SLOT="0"
-IUSE="test"
-
-PATCHES=( "${FILESDIR}/${P}-pipdated.patch" )
-
-RDEPEND="
-	dev-python/matplotlib[${PYTHON_USEDEP}]
-	dev-python/numpy[${PYTHON_USEDEP}]
-	dev-python/pillow[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-	test? (
-		${RDEPEND}
-		dev-python/ImageHash[${PYTHON_USEDEP}]
-		dev-python/pytest[${PYTHON_USEDEP}]
-		dev-tex/pgf
-	)"
-
-# we have not succeeded in getting the tests to work yet ;-)
-RESTRICT="test"
-
-python_test() {
-	local -x MPLBACKEND=Agg
-	virtx py.test -v || die "Tests failed with ${EPYTHON}"
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-30  9:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-09 20:44 [gentoo-commits] repo/gentoo:master commit in: dev-python/matplotlib2tikz/files/, dev-python/matplotlib2tikz/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2017-05-18 18:02 Michał Górny
2017-07-30  9:34 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox