commit: 717cd1187cfe89c413954a39224326124d7574c3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 16 02:14:53 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 16 02:14:53 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=717cd118
dev-python/graphviz: Bump to 0.21
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/graphviz/Manifest | 1 +
dev-python/graphviz/graphviz-0.21.ebuild | 52 ++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/dev-python/graphviz/Manifest b/dev-python/graphviz/Manifest
index d81cb9cd0b07..6f2ad15b6b1b 100644
--- a/dev-python/graphviz/Manifest
+++ b/dev-python/graphviz/Manifest
@@ -1 +1,2 @@
DIST graphviz-0.20.3.gh.tar.gz 190499 BLAKE2B
841362c30feb7683371e557706fdcad27c52f6279bbb252a83f61127649e81f162ea80e8b2685dbf1c4f9e6f530409f7f5363ac573edf7d9942126be8ad85842
SHA512
e920093e499a539b1c8b5b250f2feeb0829caffd7ad27ae762cb7d4f8762e20bc4c9c72ac2a8d0efbbc81a3eef3289f5f66eed6c6db45353c9d802594449f6ae
+DIST graphviz-0.21.gh.tar.gz 190888 BLAKE2B
4aa19b6e5660901346d9a46a30241c984e4ea66c1fea3884e15e872d802e565a2d63903fd08a4fb1b4c0183032ab2f5a2b82f7634bdc9369a2a00f46afe681e8
SHA512
012c80c8f70eddcd8ada5d9f047d877e9078ad338df95aa91057df545e9d0939788c82115f6b251ff197a4868c2e2543a8205e64c83c3d64f5a26e7ec55c02bd
diff --git a/dev-python/graphviz/graphviz-0.21.ebuild
b/dev-python/graphviz/graphviz-0.21.ebuild
new file mode 100644
index 000000000000..ea04f3c79541
--- /dev/null
+++ b/dev-python/graphviz/graphviz-0.21.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Simple Python interface for Graphviz"
+HOMEPAGE="
+ https://graphviz.readthedocs.io/
+ https://github.com/xflr6/graphviz/
+ https://pypi.org/project/graphviz/
+"
+SRC_URI="
+ https://github.com/xflr6/graphviz/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ media-gfx/graphviz
+"
+BDEPEND="
+ 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() {
+ distutils-r1_src_prepare
+ sed -i -e '/--cov/d' pyproject.toml || die
+}
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local EPYTEST_IGNORE=(
+ # workaround https://github.com/pytest-dev/pytest/issues/12123
+ tests/backend/conftest.py
+ tests/conftest.py
+ )
+ epytest -p pytest_mock
+}