public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/tikzplotlib/, dev-python/matplotlib2tikz/, profiles/updates/
@ 2020-02-14  2:59 Benda XU
  0 siblings, 0 replies; only message in thread
From: Benda XU @ 2020-02-14  2:59 UTC (permalink / raw
  To: gentoo-commits

commit:     42b1924a9bd4f433207f0e21a47127bd9b5a7b3f
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Feb  6 12:18:20 2020 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Fri Feb 14 02:57:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42b1924a

dev-python/tikzplotlib: Version bump 0.9.1

  - Renamed from matplotlib2tikz
  - Added py3_7
  - Fixed IUSE="test"
  - Added IUSE="doc"

  - dev-python/matplotlib2tikz: Renamed to tikzplotlib
  - profile/updates: matplotlib2tikz to tikzplotlib

Closes: https://bugs.gentoo.org/695716
Closes: https://github.com/gentoo/gentoo/pull/14579

Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 dev-python/matplotlib2tikz/Manifest                |  1 -
 .../matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild  | 38 --------------------
 dev-python/matplotlib2tikz/metadata.xml            | 13 -------
 dev-python/tikzplotlib/Manifest                    |  1 +
 dev-python/tikzplotlib/metadata.xml                | 13 +++++++
 dev-python/tikzplotlib/tikzplotlib-0.9.1.ebuild    | 42 ++++++++++++++++++++++
 profiles/updates/1Q-2020                           |  1 +
 7 files changed, 57 insertions(+), 52 deletions(-)

diff --git a/dev-python/matplotlib2tikz/Manifest b/dev-python/matplotlib2tikz/Manifest
deleted file mode 100644
index cebe627c01c..00000000000
--- a/dev-python/matplotlib2tikz/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST matplotlib2tikz-0.6.18.tar.gz 527262 BLAKE2B 370a1e088a17a98afd29e1e465c93b98b10100c85a277be3130f5c39bc236a9efab9241f9edffdbd430f9645cba4ff00ebda73dddeda024e3f545b21e548e786 SHA512 e12db2dd54a2145e1d66e19158c8a9305243beea60add0559959d801d319c43a28aa779048764d2adf29f878f7ccca9b2363bbc5034135a9d9002a8815fe37ab

diff --git a/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild b/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild
deleted file mode 100644
index f0038878e87..00000000000
--- a/dev-python/matplotlib2tikz/matplotlib2tikz-0.6.18.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-
-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"
-
-RDEPEND="
-	dev-python/matplotlib[${PYTHON_USEDEP}]
-	dev-python/numpy[${PYTHON_USEDEP}]
-	dev-python/pillow[${PYTHON_USEDEP}]
-	dev-python/six[${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
-}

diff --git a/dev-python/matplotlib2tikz/metadata.xml b/dev-python/matplotlib2tikz/metadata.xml
deleted file mode 100644
index 1d946eedff0..00000000000
--- a/dev-python/matplotlib2tikz/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<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>

diff --git a/dev-python/tikzplotlib/Manifest b/dev-python/tikzplotlib/Manifest
new file mode 100644
index 00000000000..9d2e25fabe2
--- /dev/null
+++ b/dev-python/tikzplotlib/Manifest
@@ -0,0 +1 @@
+DIST tikzplotlib-0.9.1.tar.gz 584961 BLAKE2B 62737db9117c96484de690b26c3f13d5a872a3c70ad4ebe635bcba348dfa7f0eb944b8c469807c4c474351a9fae7db6dd71df82e33ee33cbdd8b1abeb9686e1b SHA512 10f3be8b843ea81d48bd6fad494a7e7a0cc5afd45a96c26be7f4dfbac929bdb3010fd355c6e1ef262273fd0783fc5b5b4a7b41a0c01e18cff5446bb9d96ee2b7

diff --git a/dev-python/tikzplotlib/metadata.xml b/dev-python/tikzplotlib/metadata.xml
new file mode 100644
index 00000000000..50a33145b07
--- /dev/null
+++ b/dev-python/tikzplotlib/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<longdescription>tikzplotlib is a Python tool for converting matplotlib figures into PGFPlots (TikZ) figures like for native inclusion into LaTeX documents. The output of tikzplotlib 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 tikzplotlib retains more information, can be more easily understood, and is more easily editable than raw TikZ output.</longdescription>
+	<upstream>
+		<remote-id type="github">nschloe/tikzplotlib</remote-id>
+		<remote-id type="pypi">tikzplotlib</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/tikzplotlib/tikzplotlib-0.9.1.ebuild b/dev-python/tikzplotlib/tikzplotlib-0.9.1.ebuild
new file mode 100644
index 00000000000..9bd714fa2fe
--- /dev/null
+++ b/dev-python/tikzplotlib/tikzplotlib-0.9.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Convert matplotlib figures into TikZ/PGFPlots"
+HOMEPAGE="https://github.com/nschloe/tikzplotlib"
+SRC_URI="https://github.com/nschloe/tikzplotlib/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+	dev-python/matplotlib[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	dev-python/pillow[${PYTHON_USEDEP}]"
+
+DEPEND="test? (
+		dev-python/pandas[${PYTHON_USEDEP}]
+		sci-libs/scipy[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc dev-python/mock
+
+python_prepare_all() {
+	# this test fails: tikz error
+	# cannot mix dimensions and dimensionless values in an ellipse
+	rm test/test_patches.py || die
+
+	distutils-r1_python_prepare_all
+}
+
+python_test() {
+	local -x MPLBACKEND=Agg
+	virtx pytest -vv
+}

diff --git a/profiles/updates/1Q-2020 b/profiles/updates/1Q-2020
index ad63f0b9a03..ce81f9ae19d 100644
--- a/profiles/updates/1Q-2020
+++ b/profiles/updates/1Q-2020
@@ -1,3 +1,4 @@
 move dev-libs/range-v3 dev-cpp/range-v3
 move dev-python/neovim-python-client dev-python/pynvim
 move games-action/openastromenace games-action/astromenace
+move dev-python/matplotlib2tikz dev-python/tikzplotlib


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-14  2:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-14  2:59 [gentoo-commits] repo/gentoo:master commit in: dev-python/tikzplotlib/, dev-python/matplotlib2tikz/, profiles/updates/ Benda XU

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