Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tikzplotlib/
Date: Mon, 18 Oct 2021 20:40:39
Message-Id: 1634589629.cf57ae8d9cff009830dc8623c98d53eb4901f98f.mgorny@gentoo
1 commit: cf57ae8d9cff009830dc8623c98d53eb4901f98f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 18 20:25:51 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 18 20:40:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf57ae8d
7
8 dev-python/tikzplotlib: Bump to 0.9.15
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/tikzplotlib/Manifest | 1 +
13 dev-python/tikzplotlib/tikzplotlib-0.9.15.ebuild | 41 ++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-python/tikzplotlib/Manifest b/dev-python/tikzplotlib/Manifest
17 index ed6dab90899..8ce7f83e867 100644
18 --- a/dev-python/tikzplotlib/Manifest
19 +++ b/dev-python/tikzplotlib/Manifest
20 @@ -1 +1,2 @@
21 DIST tikzplotlib-0.9.13.gh.tar.gz 97787 BLAKE2B ef767737b8d222773f2d5e02dbf80ac8a48ea8a00077eb245e5817337805deb5b9be27e7ed76354808647ea1ed6b17d3bbca9b33799d294bd924c18b224e3621 SHA512 f9b4c46b3179626222713dd771dccfa6b0c34ff55658838aba74867c7cd5b91dddfaefdcd2c41824c9f13a795cadd6720240beaf3d504a7f735a2169c441b449
22 +DIST tikzplotlib-0.9.15.gh.tar.gz 97906 BLAKE2B 6ceac71ff62eea1990ed1820c1c6b2bc7891787fb6604e2e32c4a512a6ca6ddb66800a0208145eaa36c3c8c646a84907b08e747b1d081189a49fde25649419e5 SHA512 cf42bca0be45e6e79e425d0e2da4ffd42868f081186d91dfbec8de20fbff9ab4a071267bb290240b080f9d86bab15e08d757e905690c37f43c0dac7e724ab609
23
24 diff --git a/dev-python/tikzplotlib/tikzplotlib-0.9.15.ebuild b/dev-python/tikzplotlib/tikzplotlib-0.9.15.ebuild
25 new file mode 100644
26 index 00000000000..adfccd0097b
27 --- /dev/null
28 +++ b/dev-python/tikzplotlib/tikzplotlib-0.9.15.ebuild
29 @@ -0,0 +1,41 @@
30 +# Copyright 2019-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +
38 +inherit distutils-r1 virtualx
39 +
40 +DESCRIPTION="Convert matplotlib figures into TikZ/PGFPlots"
41 +HOMEPAGE="https://github.com/nschloe/tikzplotlib"
42 +SRC_URI="
43 + https://github.com/nschloe/${PN}/archive/v${PV}.tar.gz
44 + -> ${P}.gh.tar.gz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +RDEPEND="
51 + app-text/texlive[extra]
52 + dev-python/matplotlib[latex,${PYTHON_USEDEP}]
53 + dev-python/numpy[${PYTHON_USEDEP}]
54 + dev-python/pillow[${PYTHON_USEDEP}]
55 +"
56 +
57 +BDEPEND="
58 + test? (
59 + dev-python/exdown[${PYTHON_USEDEP}]
60 + dev-python/pandas[${PYTHON_USEDEP}]
61 + dev-python/scipy[${PYTHON_USEDEP}]
62 +)"
63 +
64 +distutils_enable_tests pytest
65 +distutils_enable_sphinx doc dev-python/mock
66 +
67 +python_test() {
68 + local -x MPLBACKEND=Agg
69 + virtx epytest
70 +}