mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pipdeptree: Bump to 2.26.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -3,3 +3,4 @@ DIST pipdeptree-2.23.4.tar.gz 39945 BLAKE2B 6f1aaf4652b872a28712cf23fb06c26c9e36
|
||||
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
|
||||
DIST pipdeptree-2.26.0.tar.gz 40786 BLAKE2B 14299501aeff3de4119be0e0b030824750e091159ee88a1f3b0400ef835e66140db69bdefdf37058adaf75bb12b9765b4b70a3bd68056f0152b2eda26dbebb35 SHA512 cacefe7165c37e827592f0364cdf1246d0e7b1bd04c4723ce729c3bd200affae2e2b319bbbd9a8bdc220a43d0dde1a1c197642bc9119148bfcd2664ff11c725c
|
||||
|
||||
56
dev-python/pipdeptree/pipdeptree-2.26.0.ebuild
Normal file
56
dev-python/pipdeptree/pipdeptree-2.26.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user