1 |
commit: f82154dc292dfce2220744c7b81eb8cb6479ca1a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 8 08:26:52 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 8 08:26:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f82154dc |
7 |
|
8 |
dev-python/graphviz: Bump to 0.18 |
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.18.ebuild | 33 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/graphviz/Manifest b/dev-python/graphviz/Manifest |
17 |
index 901aa70baf0..e9ee37f6241 100644 |
18 |
--- a/dev-python/graphviz/Manifest |
19 |
+++ b/dev-python/graphviz/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST graphviz-0.17.zip 193647 BLAKE2B f2f5ad728157d60c48964d2cfdc76559310af6099a9eae16279b0f9e8a41c08d02d5f255be62222c1f0808750a26e67822b5fbb930f7ada5c6a614c3607494cd SHA512 02f5ef21f9e3bf3b609f43fe0d9cb51632ea43c878055746af62fda4dd55883f6ad58f69faecb6aba552100cc835901309c8c2ec833cd74c617619fce2d49600 |
22 |
+DIST graphviz-0.18.zip 199876 BLAKE2B 355478a4341fb5a286b7419a6799c809f7489f80911e21d94be8d63c957ed9952d5f72b1aac6258fb8b3146424c61de64085fd02c0da14b8b4c6fd447568fb92 SHA512 56eb4252076ddb4fd3ad691199e67d58dab766828d9c80403df60cda80cd58cbb04f96edbacef674300f4f63eace0144322c73501737342c797fb7b9a203a722 |
23 |
|
24 |
diff --git a/dev-python/graphviz/graphviz-0.18.ebuild b/dev-python/graphviz/graphviz-0.18.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..befd64b4a91 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/graphviz/graphviz-0.18.ebuild |
29 |
@@ -0,0 +1,33 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Simple Python interface for Graphviz" |
39 |
+HOMEPAGE="https://graphviz.readthedocs.io/" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
44 |
+SLOT="0" |
45 |
+ |
46 |
+RDEPEND="media-gfx/graphviz" |
47 |
+BDEPEND=" |
48 |
+ app-arch/unzip |
49 |
+ test? ( |
50 |
+ >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/pytest-mock-1.8[${PYTHON_USEDEP}] |
52 |
+ media-gfx/graphviz[gts,pdf] |
53 |
+ ) |
54 |
+" |
55 |
+ |
56 |
+distutils_enable_tests pytest |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ sed -e 's:--cov --cov-report=term --cov-report=html::' \ |
60 |
+ -i setup.cfg || die |
61 |
+ distutils-r1_src_prepare |
62 |
+} |