1 |
commit: 823b8a09d454dfdb169fd25883b6b7ea390996f1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 8 20:52:24 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 8 21:18:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=823b8a09 |
7 |
|
8 |
dev-python/graphviz: Bump to 0.19.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/graphviz/Manifest | 1 + |
13 |
dev-python/graphviz/graphviz-0.19.2.ebuild | 42 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/graphviz/Manifest b/dev-python/graphviz/Manifest |
17 |
index 889b66a36e2e..d3ca355b52cf 100644 |
18 |
--- a/dev-python/graphviz/Manifest |
19 |
+++ b/dev-python/graphviz/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST graphviz-0.19.1.zip 247779 BLAKE2B c0b226c2ae66f8b583a30cf2842b8cfdecd926f0e7f32fbbfb4dae17ce14792d0af8d8cf6de53cc9a7facdeb8b0a4a078b962eabf64460e1fd42dd995e069428 SHA512 3aa078887458d7bcd173c46ee6e4d8dbdae0c9103755e61e5a027c18e5d8913990aa16a595e80228607c17db1aa9dffdb93e264cafafc8b6318bc3a87547bc5d |
22 |
+DIST graphviz-0.19.2.zip 248057 BLAKE2B 40fbbeea1f347f3843898c088f3c1ee81eee321aeaaa4bf42d97343d6527a4d43a207bd2e6a5833b04aa50c8be2e58ba77ec99147dfcf22a9eefed733afc0cc8 SHA512 a1dc396bc0b0572a952365d7b22df46fc99a5f081ec02e774d0efa9113c4aa5ca5005855221554cdc96d90997d9efff43b80e1dd858622889afd26d44fbc3671 |
23 |
|
24 |
diff --git a/dev-python/graphviz/graphviz-0.19.2.ebuild b/dev-python/graphviz/graphviz-0.19.2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..2b0922565359 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/graphviz/graphviz-0.19.2.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Simple Python interface for Graphviz" |
41 |
+HOMEPAGE="https://graphviz.readthedocs.io/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" |
46 |
+SLOT="0" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ media-gfx/graphviz |
50 |
+" |
51 |
+BDEPEND=" |
52 |
+ app-arch/unzip |
53 |
+ test? ( |
54 |
+ >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/pytest-mock-1.8[${PYTHON_USEDEP}] |
56 |
+ media-gfx/graphviz[gts,pdf] |
57 |
+ ) |
58 |
+" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ sed -e 's:--cov --cov-report=term --cov-report=html::' \ |
64 |
+ -i setup.cfg || die |
65 |
+ distutils-r1_src_prepare |
66 |
+} |
67 |
+ |
68 |
+python_test() { |
69 |
+ "${EPYTHON}" run-tests.py -vv -ra -l -Wdefault -p no:xdoctest || |
70 |
+ die "Tests failed with ${EPYTHON}" |
71 |
+} |