dev-python/pipdeptree: Bump to 2.28.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-07-21 04:36:59 +02:00
parent f8afa90f24
commit a538a8253c
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 58 additions and 0 deletions

View File

@ -1,3 +1,4 @@
DIST pipdeptree-2.23.4.tar.gz 39945 BLAKE2B 6f1aaf4652b872a28712cf23fb06c26c9e36baf2c5c734b542d418d78081c19f567c730944fba33b43cf6ad612ecd54f37f625a81e88fc8bb68e3e56d76d9088 SHA512 3beeeceb11f842e5f337167b724354b43b01f972f83b0bac5168504483a079e15758206a8e141dc88e4810954630bff1b1cdec3e69aa2f981b9ec2896e40428d
DIST pipdeptree-2.26.1.tar.gz 41024 BLAKE2B 93121352931669bb343f156673ebff6cf3f7601da34f027aeaa3764f676a578ed1c5360e1a281c18ce07f870f20f594694cec0da1be8f836568400c9861c0b8a SHA512 3cb0aa2a3d07a03aa62c0da9ff0d39496e4afe4f9216c2445c36d34b1f05f5bea5030e04d89aa27f5f41cb65092ded4d949a863bc2f223f1fbbe5fdcf379af62
DIST pipdeptree-2.27.0.tar.gz 42423 BLAKE2B 1e6593bab1f0e61acbf7f0dd5b168f0afa5cf6c0bd1b49bbe92ec24d37c8051bef4a2a13944369a03a778099af78ac4a9b201c360aeb441f195c68d0126cfdc3 SHA512 4f7c5aeea24baa6a6031b456918897c17abd71ea46d661e54f21774ad90b70beb3fba50f44611e44beeadf1d9cddbc41fd0adea16a4da172a70bb3322876c297
DIST pipdeptree-2.28.0.tar.gz 42583 BLAKE2B 2a71de5c0d0ab61866a8ffe3ee83623108a48d52a8a86c0a569600b7d3aa9dd9f99dd1faa1cc71f01f97004f4f0f6609cb25b5e265648388120def1eec1e4884 SHA512 04de6e097df3ec255e0b3ed7bc3ba3d717d3c0fb16bf2818713a332d918fe47154f0ace7ee706f6283b06d6ad41e8e8c6a24d65cefa49fda20323f22b8b43be9

View File

@ -0,0 +1,57 @@
# 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_11 python3_{11..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/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
}