diff options
Diffstat (limited to 'dev-python/graphviz')
-rw-r--r-- | dev-python/graphviz/Manifest | 2 | ||||
-rw-r--r-- | dev-python/graphviz/graphviz-0.17.ebuild | 33 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/graphviz/Manifest b/dev-python/graphviz/Manifest index 8442925793a9..616e82cd8b3d 100644 --- a/dev-python/graphviz/Manifest +++ b/dev-python/graphviz/Manifest @@ -1,3 +1,5 @@ DIST graphviz-0.16.zip 193031 BLAKE2B abedbe170eaf9d3ad83f91b5ad13aa9fbda8669ac19ebbd1087aeab3f9401b0b8e6557313e04d791451ee501c75bc2843d89d1a0f789a219b0db771467b4b8bb SHA512 7896901decf712657d4cb16fad58eab8492e1476e60a32b1a7fa37ede2e9c47ed31c00b7dedcaafdee291e2cfe6b2e2affa352282665782829fd3fb2f30bdf92 +DIST graphviz-0.17.zip 193647 BLAKE2B f2f5ad728157d60c48964d2cfdc76559310af6099a9eae16279b0f9e8a41c08d02d5f255be62222c1f0808750a26e67822b5fbb930f7ada5c6a614c3607494cd SHA512 02f5ef21f9e3bf3b609f43fe0d9cb51632ea43c878055746af62fda4dd55883f6ad58f69faecb6aba552100cc835901309c8c2ec833cd74c617619fce2d49600 EBUILD graphviz-0.16.ebuild 743 BLAKE2B 76db9057ea6113733060b80840fde1f1cf16be3037bb2d800fdc889c8d62a6d684404c3a4e8aa8a0ceaa31e7bb55b8745249f7bf7ab585372a3df372f1065b7e SHA512 e309c4982445f2f11e3df428b47d563eb2d69beaeb5e93f71cf1f4daf4e1c376d57da923fc59ffa3caf3458df0a7a9b69fbcca02555db1b1b8a9cc4ef92211de +EBUILD graphviz-0.17.ebuild 733 BLAKE2B 5362a98046f54f2079662066ec5290743912843b1dd1477b2664927c3c007960cbba95a579c52088f0888af064b104a92c79759e97afc2b6cd3869dfc35e15a9 SHA512 4da644d793af568e9cafa2248478e780ddb7e36c5010ef36b0d764adbfaab223673104aabb882803e180b83bfd25137137a91e5347bc0a554bcc24b3003e795b MISC metadata.xml 552 BLAKE2B e5a314fb4006a3081b0f54b84bb35243dc1e56e6cf19b8500dc683a02e48b687c8a086785fc1aadefb6301aa7112467820c1697b141010b96ee9504213d21a61 SHA512 d8513afc41a59f83476e98b296e6150d159096939645afc964d48a95dd36e6add4b2cda9a2ef2a5034050616c5c08d6c6222f71a0a0e0f83250f2be570c1c990 diff --git a/dev-python/graphviz/graphviz-0.17.ebuild b/dev-python/graphviz/graphviz-0.17.ebuild new file mode 100644 index 000000000000..befd64b4a916 --- /dev/null +++ b/dev-python/graphviz/graphviz-0.17.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Simple Python interface for Graphviz" +HOMEPAGE="https://graphviz.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +SLOT="0" + +RDEPEND="media-gfx/graphviz" +BDEPEND=" + app-arch/unzip + test? ( + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-1.8[${PYTHON_USEDEP}] + media-gfx/graphviz[gts,pdf] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e 's:--cov --cov-report=term --cov-report=html::' \ + -i setup.cfg || die + distutils-r1_src_prepare +} |