Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tikzplotlib/
Date: Tue, 07 Dec 2021 10:13:30
Message-Id: 1638871941.f6b3c69d98a9b1b1d701adb9dee30a3161620e9f.andrewammerlaan@gentoo
1 commit: f6b3c69d98a9b1b1d701adb9dee30a3161620e9f
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 7 10:12:21 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 7 10:12:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6b3c69d
7
8 dev-python/tikzplotlib: add version 0.9.16
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
12
13 dev-python/tikzplotlib/Manifest | 1 +
14 dev-python/tikzplotlib/tikzplotlib-0.9.16.ebuild | 39 ++++++++++++++++++++++++
15 2 files changed, 40 insertions(+)
16
17 diff --git a/dev-python/tikzplotlib/Manifest b/dev-python/tikzplotlib/Manifest
18 index 8ce7f83e867e..ad4050c59de3 100644
19 --- a/dev-python/tikzplotlib/Manifest
20 +++ b/dev-python/tikzplotlib/Manifest
21 @@ -1,2 +1,3 @@
22 DIST tikzplotlib-0.9.13.gh.tar.gz 97787 BLAKE2B ef767737b8d222773f2d5e02dbf80ac8a48ea8a00077eb245e5817337805deb5b9be27e7ed76354808647ea1ed6b17d3bbca9b33799d294bd924c18b224e3621 SHA512 f9b4c46b3179626222713dd771dccfa6b0c34ff55658838aba74867c7cd5b91dddfaefdcd2c41824c9f13a795cadd6720240beaf3d504a7f735a2169c441b449
23 DIST tikzplotlib-0.9.15.gh.tar.gz 97906 BLAKE2B 6ceac71ff62eea1990ed1820c1c6b2bc7891787fb6604e2e32c4a512a6ca6ddb66800a0208145eaa36c3c8c646a84907b08e747b1d081189a49fde25649419e5 SHA512 cf42bca0be45e6e79e425d0e2da4ffd42868f081186d91dfbec8de20fbff9ab4a071267bb290240b080f9d86bab15e08d757e905690c37f43c0dac7e724ab609
24 +DIST tikzplotlib-0.9.16.tar.gz 98162 BLAKE2B de32064cd8cb6f3fbd8e067c8126a86da6d9836dc42d91d42fd8ad6ba9f8fc2a1001904d370cb756e76112a0d746247f6235fe40af277a7142bdc6264b1ee531 SHA512 7633b7e8ee23aed8da3df249a7dbc4e36667950d2c5caef5845b5468a61f5cb0191cad3253cc7940d19be56a7981d33c70c9d45ce0d9329286266af6f36c2d94
25
26 diff --git a/dev-python/tikzplotlib/tikzplotlib-0.9.16.ebuild b/dev-python/tikzplotlib/tikzplotlib-0.9.16.ebuild
27 new file mode 100644
28 index 000000000000..22f8a8cb1971
29 --- /dev/null
30 +++ b/dev-python/tikzplotlib/tikzplotlib-0.9.16.ebuild
31 @@ -0,0 +1,39 @@
32 +# Copyright 2019-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +
40 +inherit distutils-r1 virtualx
41 +
42 +DESCRIPTION="Convert matplotlib figures into TikZ/PGFPlots"
43 +HOMEPAGE="https://github.com/nschloe/tikzplotlib"
44 +SRC_URI="https://github.com/nschloe/${PN}/archive/v${PV}.tar.gz -> ${P}.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-3.5[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 +}