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