diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-06 04:27:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-06 04:27:04 +0100 |
commit | d6106fb0c1ab8f79024ab6a9ac2062ddc85d4e07 (patch) | |
tree | f3a4ad4dcf443e9351fa5dec88afeeec86c9b642 /dev-python/pipdeptree | |
parent | f3f72d0d5f1ae9ee74acaa63ccb7a247468e73bf (diff) |
gentoo auto-resync : 06:10:2024 - 04:27:04
Diffstat (limited to 'dev-python/pipdeptree')
-rw-r--r-- | dev-python/pipdeptree/Manifest | 13 | ||||
-rw-r--r-- | dev-python/pipdeptree/files/pipdeptree-2.21.0-pypy.patch | 134 | ||||
-rw-r--r-- | dev-python/pipdeptree/pipdeptree-2.21.0-r1.ebuild | 58 | ||||
-rw-r--r-- | dev-python/pipdeptree/pipdeptree-2.22.0-r1.ebuild | 53 | ||||
-rw-r--r-- | dev-python/pipdeptree/pipdeptree-2.23.0-r1.ebuild | 53 | ||||
-rw-r--r-- | dev-python/pipdeptree/pipdeptree-2.23.1.ebuild | 53 | ||||
-rw-r--r-- | dev-python/pipdeptree/pipdeptree-2.23.3.ebuild | 56 | ||||
-rw-r--r-- | dev-python/pipdeptree/pipdeptree-2.23.4.ebuild | 2 |
8 files changed, 2 insertions, 420 deletions
diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index c6d5ea887d6d..c927e3be8eb8 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1,18 +1,7 @@ AUX pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch 1170 BLAKE2B e214c79ba1183222d00525e0e795d2ba1f10a3abb1ff6e5c986ba3aa036251326d8244787f549d698ab6a015f79eb2397212060365b8c774e2d1218531f8704d SHA512 a2055d9c828352aa1d2d5ec844acf00bc202a579c2dcf7f27997ac29261680ebee0f674b42eca77c3e039ccbc482eac62adfbb82190e157e65b01755d4972f62 AUX pipdeptree-2.18.1-fix-pypy-7.3.14.patch 1009 BLAKE2B b887e6e3234bd07a1df87b087907d5658a5e5fe3408defd172ded784362c12081f9cf52b41d471b2c28fc09b7398539d3cfdb2d872435bdb304a8d9a42a6336d SHA512 04a128b51a5bac5b58e30a8b521b4bd596f48a25faf5cd32db164cb95f3d9ddfb876d5afa77353cbb2e0029b8eb893da25d8dbf81133fdf95e0f1911cf456cc4 -AUX pipdeptree-2.21.0-pypy.patch 5682 BLAKE2B f545f7dae932b98e472ec3d4d47cf2538cff50be34257c8c97761096c6e1b3e8664759d5a40a275951591b30b1546d34ccb71afb5f4006951508bfe6707bca6d SHA512 23896b56e93faa64943ebccece52ea5145236ed3670dd962e5f0c74dde4d091c41695fe4300c8f4529bfd2d669d1ce154c01c079dd5708ba8c21de0ee28098e9 DIST pipdeptree-2.18.1.tar.gz 35101 BLAKE2B e0a9bf6d85d0ab91049b557cd0c8a0a58e93e2342eb0a495ba5978ca734ec329ff363499ecf3182bdab8f01f0fe23653c0b683ec7a288b88b28d2120f0ad8a36 SHA512 ef0b3abb0fa591c92d7dca90ac449651a562adc4a87614dc6a18212274d10ca21fd09fd7e8989454eef2e265d7a1d89801b4a864892359c39bd9eca40885c2d2 -DIST pipdeptree-2.21.0.tar.gz 39119 BLAKE2B 15f37f997b89477a9e1815a2bf120ce5251e9cf2e4df9195dc76bd7414c0cf7f58c4b8e787649492c9826bda5d3f8df60577b5242af7354ad0e1583eabbf0589 SHA512 3d416683c70861de7b768a69fe59a31173e712ecb752c7948329f787c8e13bc54be544fa4a7d3bfdbf6b164202fa8b07898c6e993a53fe244a5f3d9fa9a00573 -DIST pipdeptree-2.22.0.tar.gz 39555 BLAKE2B 6aae7c6a22176dbfcc5184086c37b0237629f48702e1e2484457a6b3eca9442732279c85c3d806cff14edbbea9180d0ed3005c9744780016ee9949a0b530e3aa SHA512 9775d19cc353eae79e6fbe779471998a8368a932f380f34587950a6f4ef62d9185e77764c12cd122029c8690931a5a5939d57a9b1801db9556708676096c2efe -DIST pipdeptree-2.23.0.tar.gz 39737 BLAKE2B 79fe45880f2942b2ded1d16e2767c4005aca52e0768a5723f37f764c7a60a8104a237ffe2a559f631bf760310143814b0e4afbaf1e5f3ef927828036c320da43 SHA512 9c5fdf7c6d3e519357d4aeb40f4aa2807dfec8fb387114cf40d99469becc68c5042af09f2cdebcca868dd78f3a3c1602b349dfe6cb581758c5c73efc3f6e52c6 -DIST pipdeptree-2.23.1.tar.gz 39883 BLAKE2B 63b578cc466871dda284f66bacc7e262b18157e5fb98e3a884c5e3eddd6945ad3d41a95e2e24fc23d0917e902f0e9ead152259d5ddc919e77e2940c2e2933119 SHA512 bc62c9cf6ee01bb8167477a21c70a7dd4ae1141c1c0690a1e95aea49cd4cb7d7e18bf076a532b00b79014a23c069df8aa09ac1bfd2d328b57e444192f1b10e5d -DIST pipdeptree-2.23.3.tar.gz 39804 BLAKE2B deabb55937cca02bad8040c6625cbe2e1688af9fa349d7e74923d73c484022818a28074921d5811f0d8e9189184185829ea4dc4e3004ed5456fcc9ed340de2f5 SHA512 26b5d08a24e297d6f30f3a479ae7f93a71b12cf4bc5ae25ff907f96bf7bef8e5403654b359d79e81aed79fec7961e2b8c4db984e5222f677a33839a125e59343 DIST pipdeptree-2.23.4.tar.gz 39945 BLAKE2B 6f1aaf4652b872a28712cf23fb06c26c9e36baf2c5c734b542d418d78081c19f567c730944fba33b43cf6ad612ecd54f37f625a81e88fc8bb68e3e56d76d9088 SHA512 3beeeceb11f842e5f337167b724354b43b01f972f83b0bac5168504483a079e15758206a8e141dc88e4810954630bff1b1cdec3e69aa2f981b9ec2896e40428d EBUILD pipdeptree-2.18.1-r1.ebuild 1354 BLAKE2B e038a5cb399fdce8ec9e4d228d76fdcce1de2e6395f62f91a90031bffd2da4c77de0cc2de3d433f9410c9b8f999b40bbf5dd53fea33d07e13b332f691223f68a SHA512 ef430841814440421200d052ddcee3fc94b0b303c1657d49277928382fe5846e3d6969c5423ed11f90b132360304c879cb9bdc0e063889a2b26873bd7e27ffa3 -EBUILD pipdeptree-2.21.0-r1.ebuild 1267 BLAKE2B 55cf353976e06689c49d90397a64095f0b9631cad2855f8cd9f9422955bd992ff7ad4ccbd3ca7ed254083381a0218f44713f150f2b8e9e66b6f632c5112fabac SHA512 0d9a554ec7946910a13b28c7ece6fec5eab2b5acb7191ffb53111dabb02e79b222a528103fe0f48534ce1cc5e699b48a826469a449ad7ba4ac1f8aba3ae2761b -EBUILD pipdeptree-2.22.0-r1.ebuild 1173 BLAKE2B 111184533b19f3510499d79ae0f988cc94f196d03ae5ba7698dfcacade79de462c9b69cbbe3a997954178c47bcf841a2721a45664d365f6c4fe1372f3158dc6e SHA512 2d29ec9227e49362744fad776bdf637d3383d5a194668beb6cfc5f603c72210564c1b23835bb1a08796e1facc1d404198e5511dc803b0a95dc51cc556dd21e63 -EBUILD pipdeptree-2.23.0-r1.ebuild 1173 BLAKE2B 111184533b19f3510499d79ae0f988cc94f196d03ae5ba7698dfcacade79de462c9b69cbbe3a997954178c47bcf841a2721a45664d365f6c4fe1372f3158dc6e SHA512 2d29ec9227e49362744fad776bdf637d3383d5a194668beb6cfc5f603c72210564c1b23835bb1a08796e1facc1d404198e5511dc803b0a95dc51cc556dd21e63 -EBUILD pipdeptree-2.23.1.ebuild 1172 BLAKE2B 93280046eb71dc4f2b419c1c7df7fd3b0386f46be636f9c19ee3f03ed448db273dad0196c1bc14c7f5575166b3306561e8d36f98373e1e46d0fdd6426ec0ac04 SHA512 977d83ddff71183ff625253b4cecf1db87d3e70341e5d5db3eca635a129e177efa428262dedb8b0f5e1612566a082d2dde896525852de4f4182b3effc7a7569b -EBUILD pipdeptree-2.23.3.ebuild 1263 BLAKE2B ca34c39d8979be957e43e2620b39739b284235e2462be1dfe493c82771bbc722aa8c1e6a6ca2b071e0efe3d80b96667edf6d5fecf0dd3e33bee4e545e2a844cd SHA512 d0bf7508a7926b684c83eb5dcc2bcde10e5cbc20e64de93c838fda49762d1671a689d1ae68a442d210d8a382b3a26f9264ba8f437fe954e1ee2041448dfa7dc0 -EBUILD pipdeptree-2.23.4.ebuild 1264 BLAKE2B 765a172d6bd53c904d1e85a2f952cb2c19c4b82fc833e2372e7517c009290e10e9adae86d9acd44a57dbaa4505cc5040465df4ba4bb2ee91557fa73a993ec5c5 SHA512 581f8711c177141fec16db38f9608ae576f9b6da22afdd0e05a075f74899ccfaaf06e0fca058ccb368f18db002cdf4c4ca194690c759c8adfd9ef437b1411876 +EBUILD pipdeptree-2.23.4.ebuild 1263 BLAKE2B ca34c39d8979be957e43e2620b39739b284235e2462be1dfe493c82771bbc722aa8c1e6a6ca2b071e0efe3d80b96667edf6d5fecf0dd3e33bee4e545e2a844cd SHA512 d0bf7508a7926b684c83eb5dcc2bcde10e5cbc20e64de93c838fda49762d1671a689d1ae68a442d210d8a382b3a26f9264ba8f437fe954e1ee2041448dfa7dc0 MISC metadata.xml 545 BLAKE2B cf435473fd95ac0a5bafe2b52ddd78e09c16eb190e3a979924525607fc7ab152e249419e3a21d246cd1354a714116c6c0953ed55d1efceafae441ee282c2b1eb SHA512 ad2e8d4e7bac53b26ea0bb5c2f65e0c9dc8d30afc8c569d73bac820b2dda6a343b96e52abd0353e3f50269fb431e46bd3b51b3768d9c24f658fd2eca6cc1ce97 diff --git a/dev-python/pipdeptree/files/pipdeptree-2.21.0-pypy.patch b/dev-python/pipdeptree/files/pipdeptree-2.21.0-pypy.patch deleted file mode 100644 index bbc8ea9d0b9c..000000000000 --- a/dev-python/pipdeptree/files/pipdeptree-2.21.0-pypy.patch +++ /dev/null @@ -1,134 +0,0 @@ -diff --git a/tests/test_non_host.py b/tests/test_non_host.py -index 7049b0c..54ba7fb 100644 ---- a/tests/test_non_host.py -+++ b/tests/test_non_host.py -@@ -16,6 +16,21 @@ - from pytest_mock import MockerFixture - - -+@pytest.fixture(scope="session") -+def expected_venv_pkgs() -> frozenset[str]: -+ implementation = python_implementation() -+ if implementation == "CPython": # pragma: cpython cover -+ expected = {"pip", "setuptools", "wheel"} -+ elif implementation == "PyPy": # pragma: pypy cover -+ expected = {"cffi", "greenlet", "pip", "readline", "hpy", "setuptools", "wheel"} -+ else: # pragma: no cover -+ raise ValueError(implementation) -+ if sys.version_info >= (3, 12): # pragma: >=3.12 cover -+ expected -= {"setuptools", "wheel"} -+ -+ return frozenset(expected) -+ -+ - @pytest.mark.parametrize("args_joined", [True, False]) - def test_custom_interpreter( - tmp_path: Path, -@@ -23,6 +38,7 @@ def test_custom_interpreter( - monkeypatch: pytest.MonkeyPatch, - capfd: pytest.CaptureFixture[str], - args_joined: bool, -+ expected_venv_pkgs: frozenset[str], - ) -> None: - # Delete $PYTHONPATH so that it cannot be passed to the custom interpreter process (since we don't know what - # distribution metadata to expect when it's used). -@@ -32,20 +48,13 @@ def test_custom_interpreter( - result = virtualenv.cli_run([str(tmp_path / "venv"), "--activators", ""]) - py = str(result.creator.exe.relative_to(tmp_path)) - cmd = ["", f"--python={result.creator.exe}"] if args_joined else ["", "--python", py] -+ cmd += ["--all", "--depth", "0"] - mocker.patch("pipdeptree._discovery.sys.argv", cmd) - main() - out, _ = capfd.readouterr() - found = {i.split("==")[0] for i in out.splitlines()} -- implementation = python_implementation() -- if implementation == "CPython": -- expected = {"pip", "setuptools", "wheel"} -- elif implementation == "PyPy": -- expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} # pragma: no cover -- else: -- raise ValueError(implementation) -- if sys.version_info >= (3, 12): -- expected -= {"setuptools", "wheel"} -- assert found == expected, out -+ -+ assert expected_venv_pkgs == found, out - - - def test_custom_interpreter_with_local_only( -@@ -54,7 +63,6 @@ def test_custom_interpreter_with_local_only( - capfd: pytest.CaptureFixture[str], - ) -> None: - venv_path = str(tmp_path / "venv") -- - result = virtualenv.cli_run([venv_path, "--system-site-packages", "--activators", ""]) - - cmd = ["", f"--python={result.creator.exe}", "--local-only"] -@@ -63,16 +71,10 @@ def test_custom_interpreter_with_local_only( - main() - out, _ = capfd.readouterr() - found = {i.split("==")[0] for i in out.splitlines()} -- implementation = python_implementation() -- if implementation == "CPython": -- expected = {"pip", "setuptools", "wheel"} -- elif implementation == "PyPy": # pragma: no cover -- expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} # pragma: no cover -- else: -- raise ValueError(implementation) # pragma: no cover -- if sys.version_info >= (3, 12): -- expected -= {"setuptools", "wheel"} # pragma: no cover -- assert found == expected, out -+ expected = {"pip", "setuptools", "wheel"} -+ if sys.version_info >= (3, 12): # pragma: >=3.12 cover -+ expected -= {"setuptools", "wheel"} -+ assert expected == found, out - - - def test_custom_interpreter_with_user_only( -@@ -81,7 +83,6 @@ def test_custom_interpreter_with_user_only( - # ensures there is no output when --user-only and --python are passed - - venv_path = str(tmp_path / "venv") -- - result = virtualenv.cli_run([venv_path, "--activators", ""]) - - cmd = ["", f"--python={result.creator.exe}", "--user-only"] -@@ -127,7 +128,7 @@ def test_custom_interpreter_with_user_only_and_system_site_pkgs_enabled( - found = {i.split("==")[0] for i in out.splitlines()} - expected = {"bar"} - -- assert found == expected -+ assert expected == found - - - def test_custom_interpreter_ensure_pythonpath_envar_is_honored( -@@ -135,6 +136,7 @@ def test_custom_interpreter_ensure_pythonpath_envar_is_honored( - mocker: MockerFixture, - monkeypatch: pytest.MonkeyPatch, - capfd: pytest.CaptureFixture[str], -+ expected_venv_pkgs: frozenset[str], - ) -> None: - # ensures that we honor $PYTHONPATH when passing it to the custom interpreter process - venv_path = str(tmp_path / "venv") -@@ -146,19 +148,10 @@ def test_custom_interpreter_ensure_pythonpath_envar_is_honored( - fake_metadata = fake_dist / "METADATA" - with fake_metadata.open("w") as f: - f.write("Metadata-Version: 2.3\n" "Name: foo\n" "Version: 1.2.3\n") -- cmd = ["", f"--python={result.creator.exe}"] -+ cmd = ["", f"--python={result.creator.exe}", "--all", "--depth", "0"] - mocker.patch("pipdeptree._discovery.sys.argv", cmd) - monkeypatch.setenv("PYTHONPATH", str(another_path)) - main() - out, _ = capfd.readouterr() - found = {i.split("==")[0] for i in out.splitlines()} -- implementation = python_implementation() -- if implementation == "CPython": -- expected = {"foo", "pip", "setuptools", "wheel"} -- elif implementation == "PyPy": # pragma: cpython no cover -- expected = {"foo", "cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} -- else: # pragma: no cover -- raise ValueError(implementation) -- if sys.version_info >= (3, 12): # pragma: >=3.12 cover -- expected -= {"setuptools", "wheel"} -- assert found == expected, out -+ assert {*expected_venv_pkgs, "foo"} == found, out diff --git a/dev-python/pipdeptree/pipdeptree-2.21.0-r1.ebuild b/dev-python/pipdeptree/pipdeptree-2.21.0-r1.ebuild deleted file mode 100644 index 2e77548af84f..000000000000 --- a/dev-python/pipdeptree/pipdeptree-2.21.0-r1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 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[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - # https://github.com/tox-dev/pipdeptree/pull/369 - "${FILESDIR}/${P}-pypy.patch" -) - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - 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 -} diff --git a/dev-python/pipdeptree/pipdeptree-2.22.0-r1.ebuild b/dev-python/pipdeptree/pipdeptree-2.22.0-r1.ebuild deleted file mode 100644 index 0f2bc0747e89..000000000000 --- a/dev-python/pipdeptree/pipdeptree-2.22.0-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 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[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - 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 -} diff --git a/dev-python/pipdeptree/pipdeptree-2.23.0-r1.ebuild b/dev-python/pipdeptree/pipdeptree-2.23.0-r1.ebuild deleted file mode 100644 index 0f2bc0747e89..000000000000 --- a/dev-python/pipdeptree/pipdeptree-2.23.0-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 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[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - 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 -} diff --git a/dev-python/pipdeptree/pipdeptree-2.23.1.ebuild b/dev-python/pipdeptree/pipdeptree-2.23.1.ebuild deleted file mode 100644 index 3f8d7d77877a..000000000000 --- a/dev-python/pipdeptree/pipdeptree-2.23.1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 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[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - 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 -} diff --git a/dev-python/pipdeptree/pipdeptree-2.23.3.ebuild b/dev-python/pipdeptree/pipdeptree-2.23.3.ebuild deleted file mode 100644 index 21df3b3c44a7..000000000000 --- a/dev-python/pipdeptree/pipdeptree-2.23.3.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 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[${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 -} diff --git a/dev-python/pipdeptree/pipdeptree-2.23.4.ebuild b/dev-python/pipdeptree/pipdeptree-2.23.4.ebuild index 108d23b345f5..21df3b3c44a7 100644 --- a/dev-python/pipdeptree/pipdeptree-2.23.4.ebuild +++ b/dev-python/pipdeptree/pipdeptree-2.23.4.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv" +KEYWORDS="amd64 ~arm64 ~riscv" RDEPEND=" >=dev-python/packaging-23.1[${PYTHON_USEDEP}] |