commit: 3ed1ddf142d1e11cc4f43114f4237c518ca4dc2f Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Nov 13 03:20:14 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Nov 13 03:38:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ed1ddf1
dev-python/pipdeptree: Bump to 2.30.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pipdeptree/Manifest | 2 + dev-python/pipdeptree/pipdeptree-2.30.0.ebuild | 58 ++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index 1ae8e5bf6b29..a40e4a93502f 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1,2 +1,4 @@ DIST pipdeptree-2.23.4.tar.gz 39945 BLAKE2B 6f1aaf4652b872a28712cf23fb06c26c9e36baf2c5c734b542d418d78081c19f567c730944fba33b43cf6ad612ecd54f37f625a81e88fc8bb68e3e56d76d9088 SHA512 3beeeceb11f842e5f337167b724354b43b01f972f83b0bac5168504483a079e15758206a8e141dc88e4810954630bff1b1cdec3e69aa2f981b9ec2896e40428d DIST pipdeptree-2.29.0.tar.gz 42077 BLAKE2B 0e151c593a6737d877a7cc43e47367374febb22af654fa6e04617eda16cf34ad435a3fd24e4aa076bf81afcb665a7050c8a4d2a046d3ba6b26fb0cbb968a946f SHA512 de3f7a2aa24e7bd795c9a19d940ad941a036830df5c6ef99bd008bae0cad789d525b9e39a1704926ad88749a038bf7d6abd8a854737c2f6417764be0ab2f1825 +DIST pipdeptree-2.30.0.tar.gz 42737 BLAKE2B 6bedfd23510e514e0e7a3319162524b68e47709dae9af9216c7cf91c69caf1428a5bdbf313722fd8c242b16f6018b94bab139997f22f433267ec7afcdd57a4ad SHA512 f21dd155e7e1de396b030b19231d145419005bd407c92d23f69efaaf822b0bce03366f439c551e1064c777327d5079c408f0c6213ecbe97cc013d5bc98e890ac +DIST pipdeptree-2.30.0.tar.gz.provenance 9221 BLAKE2B c7c710a13da3a83bb5723ebe5452193e05b30485619aababe5acd8db7836ee75f8bc6b073274754d4cf9dcf19d929b12cc21c251dbbfcb651aad6b754bd22ca4 SHA512 e7671e0973d89d495ebb869173b2a80721e1f4706ed9d370ac7db17ccb922f1c259479e34bba07b7cb171ff7bb12e4c7eeea0859ec8d0a72d8cab530fb0b5609 diff --git a/dev-python/pipdeptree/pipdeptree-2.30.0.ebuild b/dev-python/pipdeptree/pipdeptree-2.30.0.ebuild new file mode 100644 index 000000000000..287a1dcda5d0 --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.30.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/tox-dev/pipdeptree +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi optfeature + +DESCRIPTION="Utility for displaying installed packages in a dependency tree" +HOMEPAGE=" + https://github.com/tox-dev/pipdeptree/ + https://pypi.org/project/pipdeptree/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" + +RDEPEND=" + >=dev-python/packaging-23.1[${PYTHON_USEDEP}] + >=dev-python/pip-23.1.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/graphviz[${PYTHON_USEDEP}] + <dev-python/virtualenv-21[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.31.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # upstream lower bounds are meaningless + sed -i -e 's:>=[0-9.]*,\?::' pyproject.toml || die + + find -name '*.py' -exec \ + sed -i -e 's:pip[.]_vendor[.]::' {} + || die +} + +python_test() { + # tests can fail if other packages are being merged simultaneously + epytest --reruns=5 +} + +pkg_postinst() { + optfeature \ + "visualising the dependency graph with --graph-output" \ + dev-python/graphviz +}
