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: Fri, 01 Oct 2021 06:36:50
Message-Id: 1633070203.8e8a5b380fdfe234f160257c074d99a1b45ae43f.mgorny@gentoo
1 commit: 8e8a5b380fdfe234f160257c074d99a1b45ae43f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 1 06:14:09 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 1 06:36:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e8a5b38
7
8 dev-python/tikzplotlib: Bump to 0.9.13
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.13.ebuild | 47 ++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/dev-python/tikzplotlib/Manifest b/dev-python/tikzplotlib/Manifest
17 index 2f1da02baf5..fc0bbfecb85 100644
18 --- a/dev-python/tikzplotlib/Manifest
19 +++ b/dev-python/tikzplotlib/Manifest
20 @@ -1,3 +1,4 @@
21 DIST tikzplotlib-0.9.11.gh.tar.gz 97761 BLAKE2B 95454a9181b219e99970d06a0e40d518284ff62c7b06d9cbf5b3125b11a711e67f9df1676dc1bd73a9ec632fa01786890e3eef030f8a52ffe809835e3890359c SHA512 05fa8285f4912f2593a00ec5961f4ca94964c2ff8271158c6c1e0447f1f2b54088a76192bcda4f893adc2ad78b9240742962eee1e56043777b0df145808f42ba
22 DIST tikzplotlib-0.9.12.gh.tar.gz 97773 BLAKE2B 85d85445e313a41ede8c2d61d8db0d92a8f4fbb0722f716845f0fff3204e603e8b21998a588137eb67bdbc4d8f31bc5bfc82e29fc803b3c54c416191b6e5310b SHA512 4754707727eda29796a49809473b840c07b2cb7de606089d79aeb05daa6ded95a3f110deffb13ca2640e44d91c43b53520d6f29b175e200862492cb986b6c574
23 +DIST tikzplotlib-0.9.13.gh.tar.gz 97787 BLAKE2B ef767737b8d222773f2d5e02dbf80ac8a48ea8a00077eb245e5817337805deb5b9be27e7ed76354808647ea1ed6b17d3bbca9b33799d294bd924c18b224e3621 SHA512 f9b4c46b3179626222713dd771dccfa6b0c34ff55658838aba74867c7cd5b91dddfaefdcd2c41824c9f13a795cadd6720240beaf3d504a7f735a2169c441b449
24 DIST tikzplotlib-0.9.9.tar.gz 591659 BLAKE2B c8ed8069387aedc154ea1541c7e4f97cd43a74c384be4810029acf2dd1de348d732c004850b3248ba6a892451afec56fc4de0c6b05c3f4edc7b72b741e46b558 SHA512 3b6bc8b23693b1817b7f8969352bfe45f81762f86d30b9329c3c57fb1897ee5965f5759e357bbe68d21b84ac3e53e5ce80ffafccfac22d9a4a36ce104d5a2966
25
26 diff --git a/dev-python/tikzplotlib/tikzplotlib-0.9.13.ebuild b/dev-python/tikzplotlib/tikzplotlib-0.9.13.ebuild
27 new file mode 100644
28 index 00000000000..ddf06a6ca88
29 --- /dev/null
30 +++ b/dev-python/tikzplotlib/tikzplotlib-0.9.13.ebuild
31 @@ -0,0 +1,47 @@
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="
45 + https://github.com/nschloe/${PN}/archive/v${PV}.tar.gz
46 + -> ${P}.gh.tar.gz"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +
52 +RDEPEND="
53 + app-text/texlive[extra]
54 + dev-python/matplotlib[latex,${PYTHON_USEDEP}]
55 + dev-python/numpy[${PYTHON_USEDEP}]
56 + dev-python/pillow[${PYTHON_USEDEP}]
57 +"
58 +
59 +BDEPEND="
60 + test? (
61 + dev-python/exdown[${PYTHON_USEDEP}]
62 + dev-python/pandas[${PYTHON_USEDEP}]
63 + dev-python/scipy[${PYTHON_USEDEP}]
64 +)"
65 +
66 +distutils_enable_tests pytest
67 +distutils_enable_sphinx doc dev-python/mock
68 +
69 +python_test() {
70 + local -x MPLBACKEND=Agg
71 + local EPYTEST_DESELECT=(
72 + tests/test_barchart_errorbars.py::test
73 + tests/test_colorbars.py::test
74 + tests/test_fillstyle.py::test
75 + )
76 +
77 + virtx epytest
78 +}