commit: 12171a1d3a2cfb2ca3af65f8f1a261c88ed0d627
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 12 08:27:27 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 12 08:31:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12171a1d
dev-python/pipdeptree: Bump to 2.25.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pipdeptree/Manifest | 1 +
dev-python/pipdeptree/pipdeptree-2.25.1.ebuild | 56 ++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest
index e4babbbba411..2f5b5c604b49 100644
--- a/dev-python/pipdeptree/Manifest
+++ b/dev-python/pipdeptree/Manifest
@@ -2,3 +2,4 @@ DIST pipdeptree-2.18.1.tar.gz 35101 BLAKE2B
e0a9bf6d85d0ab91049b557cd0c8a0a58e93
DIST pipdeptree-2.23.4.tar.gz 39945 BLAKE2B
6f1aaf4652b872a28712cf23fb06c26c9e36baf2c5c734b542d418d78081c19f567c730944fba33b43cf6ad612ecd54f37f625a81e88fc8bb68e3e56d76d9088
SHA512
3beeeceb11f842e5f337167b724354b43b01f972f83b0bac5168504483a079e15758206a8e141dc88e4810954630bff1b1cdec3e69aa2f981b9ec2896e40428d
DIST pipdeptree-2.24.0.tar.gz 40363 BLAKE2B
e0053b742c7e5cf88ce163b5ff504bda5c601e846f84769b742f5a06a298f041dacd223398f29608a91cdd0e91e523fa101d1781472e4327daf954af146e10ac
SHA512
56c68f98ff401f4e1fbe7185a989f544c24740b4278fd3de9371019d4a85198a3cedfb2bc54d82fa958068e2133f8fbb326d280cd3e980537456da853c4777bc
DIST pipdeptree-2.25.0.tar.gz 40425 BLAKE2B
66ea593cfcfb026876af0a336003f551bdb0b286af8721c8a093a0939c95e26b16511aac3ecd1c3372f13f0e470a3d4bcf0691969a8d65904f35e15e5e5407a1
SHA512
87e51f48cd114b1511f32a241137fe648f80e3be1d071020dcae7f3b62245b64c823c0824e474bb320b6e69dddad68a02d8938a116b4164d1f9fdbbd84aa5f25
+DIST pipdeptree-2.25.1.tar.gz 40705 BLAKE2B
94636a84f3133a4dab19a78ea460b1e1ca234518e15772e8a189c12f7293fe09c941f5fef66827032ce1d1118a14fdad53679204204abc1685e4a86de26cdb7c
SHA512
31e6619fc677b36359611694d73e32bddebdf9e79c8605924a53c43a33a0d0702a0bda3101b04c2cfd9d7dc38861036d354e877761544ded668bc365fa41b905
diff --git a/dev-python/pipdeptree/pipdeptree-2.25.1.ebuild
b/dev-python/pipdeptree/pipdeptree-2.25.1.ebuild
new file mode 100644
index 000000000000..3137e87ae286
--- /dev/null
+++ b/dev-python/pipdeptree/pipdeptree-2.25.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
+
+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/pytest-console-scripts-1.4.1[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ <dev-python/virtualenv-21[${PYTHON_USEDEP}]
+ )
+"
+
+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() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -p pytest_mock -p console-scripts
+}
+
+pkg_postinst() {
+ optfeature \
+ "visualising the dependency graph with --graph-output" \
+ dev-python/graphviz
+}