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: Mon, 31 Jan 2022 13:49:15
Message-Id: 1643636944.92a24de66643e9bc911108ebc3b7d11f640ee0cb.andrewammerlaan@gentoo
1 commit: 92a24de66643e9bc911108ebc3b7d11f640ee0cb
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 31 13:46:06 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 31 13:49:04 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92a24de6
7
8 dev-python/tikzplotlib: add version 0.10.0
9
10 Package-Manager: Portage-3.0.30, 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.10.0.ebuild | 40 ++++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/dev-python/tikzplotlib/Manifest b/dev-python/tikzplotlib/Manifest
18 index ed97defb17f0..e4401cf58fd8 100644
19 --- a/dev-python/tikzplotlib/Manifest
20 +++ b/dev-python/tikzplotlib/Manifest
21 @@ -1,2 +1,3 @@
22 +DIST tikzplotlib-0.10.0.tar.gz 98266 BLAKE2B 28c49f937af5f70830218dcd3215ab5b7e56077cdd87e0e3887b48a63903314765adc872dc5c7f55e1bd5770541c8f1f3950033cf54acdf8a38be3b14bb6ac4b SHA512 661291a975132ac18066dc8af310da91847f0fed289256944bba1f374c61cdb95c72a942527a92906c935b5af1131069212109eb25f531bac7ac72f6a1d9d773
23 DIST tikzplotlib-0.9.16.tar.gz 98162 BLAKE2B de32064cd8cb6f3fbd8e067c8126a86da6d9836dc42d91d42fd8ad6ba9f8fc2a1001904d370cb756e76112a0d746247f6235fe40af277a7142bdc6264b1ee531 SHA512 7633b7e8ee23aed8da3df249a7dbc4e36667950d2c5caef5845b5468a61f5cb0191cad3253cc7940d19be56a7981d33c70c9d45ce0d9329286266af6f36c2d94
24 DIST tikzplotlib-0.9.17.tar.gz 98194 BLAKE2B 746bd940805fa7bcef56398f974ad13c54814c7192ed8c85bdcfdf2fbeb93a0016d810a0b532120a404053e0666352c07f5f0db97b3241574fbcda3ad464664f SHA512 3708eba0d77890a919c7e974569fcf4cf1c798199927bd2771e8952f6ea49a10a6b85d605c3d6c4969e16bf47eb1683557f8bbefdf986f043049aa6b0c37a8ff
25
26 diff --git a/dev-python/tikzplotlib/tikzplotlib-0.10.0.ebuild b/dev-python/tikzplotlib/tikzplotlib-0.10.0.ebuild
27 new file mode 100644
28 index 000000000000..5268fc22a843
29 --- /dev/null
30 +++ b/dev-python/tikzplotlib/tikzplotlib-0.10.0.ebuild
31 @@ -0,0 +1,40 @@
32 +# Copyright 2019-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=flit
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 + dev-python/webcolors[${PYTHON_USEDEP}]
56 +"
57 +
58 +BDEPEND="
59 + test? (
60 + dev-python/pandas[${PYTHON_USEDEP}]
61 + dev-python/pytest-codeblocks[${PYTHON_USEDEP}]
62 + dev-python/scipy[${PYTHON_USEDEP}]
63 + )"
64 +
65 +distutils_enable_tests pytest
66 +distutils_enable_sphinx doc dev-python/mock dev-python/alabaster
67 +
68 +src_test() {
69 + local -x MPLBACKEND=Agg
70 + virtx distutils-r1_src_test
71 +}