commit:     f535fe7fc4acbb0b4f65788e757bfbb0410a46ae
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 21 06:43:31 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 21 09:22:41 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f535fe7f

dev-python/pipdeptree: Bump to 2.31.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pipdeptree/Manifest                 |  2 +
 dev-python/pipdeptree/pipdeptree-2.31.0.ebuild | 58 ++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest
index a40e4a93502f..fde67864fa0a 100644
--- a/dev-python/pipdeptree/Manifest
+++ b/dev-python/pipdeptree/Manifest
@@ -2,3 +2,5 @@ DIST pipdeptree-2.23.4.tar.gz 39945 BLAKE2B 
6f1aaf4652b872a28712cf23fb06c26c9e36
 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
+DIST pipdeptree-2.31.0.tar.gz 43790 BLAKE2B 
58a9f6e3496ac4c38e5e58df919bf0985ba0a626ccebb2da4c2075083f2b41119b6d237c5f95fedf893860d4f03eddc895b3ab76edfaf5532a8af0db331b3187
 SHA512 
21220f03307d91809d3ab45a660dcb64d5b460a0feb2c888a505e30b2571c33c5752069a26635f2ee0f71e531cc583e1e5c5b6de77e4cd244b38710a469e0987
+DIST pipdeptree-2.31.0.tar.gz.provenance 9505 BLAKE2B 
16bc71530bd6d477c16d4ba3e7a2672ea880e5459fb79c396b514c71bb845faa8df7fbd5f70d95df792ab998a28a39dd1398bd686b3bb3abd1a24500fad08b93
 SHA512 
8cadfcce0fa0bcbc7c2c68fd84d532db229f1620ec1d56fc88541eb0fe16199e91684966f3f0fdee81bc47ce03597a590201a3b51321c983d289364a0ea7a01a

diff --git a/dev-python/pipdeptree/pipdeptree-2.31.0.ebuild 
b/dev-python/pipdeptree/pipdeptree-2.31.0.ebuild
new file mode 100644
index 000000000000..7636bd32b25e
--- /dev/null
+++ b/dev-python/pipdeptree/pipdeptree-2.31.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2022-2026 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
+}

Reply via email to