commit:     0c9b4f74a87439ef141f8618cb1dee089ee0eb98
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 11 06:01:21 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 11 06:46:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c9b4f74

dev-python/tikzplotlib: Bump to 0.9.11

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/tikzplotlib/Manifest                  |  1 +
 dev-python/tikzplotlib/tikzplotlib-0.9.11.ebuild | 48 ++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/tikzplotlib/Manifest b/dev-python/tikzplotlib/Manifest
index fb76450cc22..daccf94da31 100644
--- a/dev-python/tikzplotlib/Manifest
+++ b/dev-python/tikzplotlib/Manifest
@@ -1 +1,2 @@
+DIST tikzplotlib-0.9.11.gh.tar.gz 97761 BLAKE2B 
95454a9181b219e99970d06a0e40d518284ff62c7b06d9cbf5b3125b11a711e67f9df1676dc1bd73a9ec632fa01786890e3eef030f8a52ffe809835e3890359c
 SHA512 
05fa8285f4912f2593a00ec5961f4ca94964c2ff8271158c6c1e0447f1f2b54088a76192bcda4f893adc2ad78b9240742962eee1e56043777b0df145808f42ba
 DIST tikzplotlib-0.9.9.tar.gz 591659 BLAKE2B 
c8ed8069387aedc154ea1541c7e4f97cd43a74c384be4810029acf2dd1de348d732c004850b3248ba6a892451afec56fc4de0c6b05c3f4edc7b72b741e46b558
 SHA512 
3b6bc8b23693b1817b7f8969352bfe45f81762f86d30b9329c3c57fb1897ee5965f5759e357bbe68d21b84ac3e53e5ce80ffafccfac22d9a4a36ce104d5a2966

diff --git a/dev-python/tikzplotlib/tikzplotlib-0.9.11.ebuild 
b/dev-python/tikzplotlib/tikzplotlib-0.9.11.ebuild
new file mode 100644
index 00000000000..be7409c6cc0
--- /dev/null
+++ b/dev-python/tikzplotlib/tikzplotlib-0.9.11.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="Convert matplotlib figures into TikZ/PGFPlots"
+HOMEPAGE="https://github.com/nschloe/tikzplotlib";
+SRC_URI="
+       https://github.com/nschloe/${PN}/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       app-text/texlive[extra]
+       dev-python/matplotlib[latex,${PYTHON_USEDEP}]
+       dev-python/numpy[${PYTHON_USEDEP}]
+       dev-python/pillow[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+       dev-python/wheel[${PYTHON_USEDEP}]
+       test? (
+               dev-python/exdown[${PYTHON_USEDEP}]
+               dev-python/pandas[${PYTHON_USEDEP}]
+               dev-python/scipy[${PYTHON_USEDEP}]
+)"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc dev-python/mock
+
+python_test() {
+       local -x MPLBACKEND=Agg
+       local deselect=(
+               tests/test_barchart_errorbars.py::test
+               tests/test_colorbars.py::test
+               tests/test_fillstyle.py::test
+       )
+
+       virtx epytest ${deselect[@]/#/--deselect }
+}

Reply via email to