[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/
commit: 3a21ae41ec03bc3b32090c1a902b8a45db252a10 Author: Michał Górny gentoo org> AuthorDate: Tue May 28 04:45:03 2024 + Commit: Michał Górny gentoo org> CommitDate: Tue May 28 04:45:03 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a21ae41 dev-python/pipdeptree: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> dev-python/pipdeptree/pipdeptree-2.21.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pipdeptree/pipdeptree-2.21.0.ebuild b/dev-python/pipdeptree/pipdeptree-2.21.0.ebuild index ff041b350662..dae7c7c1be5b 100644 --- a/dev-python/pipdeptree/pipdeptree-2.21.0.ebuild +++ b/dev-python/pipdeptree/pipdeptree-2.21.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..13} ) inherit distutils-r1 pypi optfeature
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/files/, dev-python/pipdeptree/
commit: 165b74a6a1ca84e569326259dfe46db455c356df Author: Michał Górny gentoo org> AuthorDate: Tue May 28 04:36:44 2024 + Commit: Michał Górny gentoo org> CommitDate: Tue May 28 04:41:13 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=165b74a6 dev-python/pipdeptree: Bump to 2.21.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pipdeptree/Manifest | 1 + .../pipdeptree/files/pipdeptree-2.21.0-pypy.patch | 134 + dev-python/pipdeptree/pipdeptree-2.21.0.ebuild | 51 3 files changed, 186 insertions(+) diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index 88b46781bb9a..b6d8e483130c 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1,2 +1,3 @@ DIST pipdeptree-2.16.2.tar.gz 32151 BLAKE2B 18715b0c7835e19bd5b6846922990e321a7e06315642204e7d79375a50b692f87e2ba1ec5884c4f69ff6e8d75e863c8cf372152aca7561ab94ef265d3c1df9fb SHA512 06d72f94a9165fe52cc15b9f539e3adb6da99e4a63cae78928bf68be3499b2828a5d471f270455b94a960ba2fe2f6319f5319c20ed270029a38a81173a7cd403 DIST pipdeptree-2.17.0.tar.gz 34677 BLAKE2B 3f92c4361978d2a6b1ae46d3a7e21aca231d504abf3a3cc8388d64a70fc3853a33edeac091a0b60cd3043d86162f6816292f973e9c8691420f906e946a5c9dac SHA512 1e7a4bc7f2f872e9d3115b413acc791eeb912a6f428fca772e30a3c8164ecfa44bba7e5246f9b65cbc4d34ffcd8050ff795ced3e3f9ad918f134ce052a8e8992 +DIST pipdeptree-2.21.0.tar.gz 39119 BLAKE2B 15f37f997b89477a9e1815a2bf120ce5251e9cf2e4df9195dc76bd7414c0cf7f58c4b8e787649492c9826bda5d3f8df60577b5242af7354ad0e1583eabbf0589 SHA512 3d416683c70861de7b768a69fe59a31173e712ecb752c7948329f787c8e13bc54be544fa4a7d3bfdbf6b164202fa8b07898c6e993a53fe244a5f3d9fa9a00573 diff --git a/dev-python/pipdeptree/files/pipdeptree-2.21.0-pypy.patch b/dev-python/pipdeptree/files/pipdeptree-2.21.0-pypy.patch new file mode 100644 index ..bbc8ea9d0b9c --- /dev/null +++ b/dev-python/pipdeptree/files/pipdeptree-2.21.0-pypy.patch @@ -0,0 +1,134 @@ +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":
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/files/, dev-python/pipdeptree/
commit: 5d7a38732cc5c723e615283d28f144301883 Author: Alfred Wingate protonmail com> AuthorDate: Sat Apr 6 07:34:51 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 6 14:39:43 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d7a3873 dev-python/pipdeptree: add 2.17.0 Signed-off-by: Alfred Wingate protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/36133 Signed-off-by: Michał Górny gentoo.org> dev-python/pipdeptree/Manifest | 1 + ...ipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch | 28 dev-python/pipdeptree/pipdeptree-2.17.0.ebuild | 51 ++ 3 files changed, 80 insertions(+) diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index c9f50bf22109..88b46781bb9a 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1 +1,2 @@ DIST pipdeptree-2.16.2.tar.gz 32151 BLAKE2B 18715b0c7835e19bd5b6846922990e321a7e06315642204e7d79375a50b692f87e2ba1ec5884c4f69ff6e8d75e863c8cf372152aca7561ab94ef265d3c1df9fb SHA512 06d72f94a9165fe52cc15b9f539e3adb6da99e4a63cae78928bf68be3499b2828a5d471f270455b94a960ba2fe2f6319f5319c20ed270029a38a81173a7cd403 +DIST pipdeptree-2.17.0.tar.gz 34677 BLAKE2B 3f92c4361978d2a6b1ae46d3a7e21aca231d504abf3a3cc8388d64a70fc3853a33edeac091a0b60cd3043d86162f6816292f973e9c8691420f906e946a5c9dac SHA512 1e7a4bc7f2f872e9d3115b413acc791eeb912a6f428fca772e30a3c8164ecfa44bba7e5246f9b65cbc4d34ffcd8050ff795ced3e3f9ad918f134ce052a8e8992 diff --git a/dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch b/dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch new file mode 100644 index ..09c31f8a78b4 --- /dev/null +++ b/dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch @@ -0,0 +1,28 @@ +https://github.com/tox-dev/pipdeptree/pull/302 + +From 1fc794e66fc5cac464704dda1bc303353386584f Mon Sep 17 00:00:00 2001 +From: Alfred Wingate +Date: Tue, 14 Nov 2023 08:36:09 +0200 +Subject: [PATCH] Expect hpy in pypy versions >= 7.3.3 + +Signed-off-by: Alfred Wingate +--- a/tests/test_non_host.py b/tests/test_non_host.py +@@ -32,8 +32,12 @@ def test_custom_interpreter( + implementation = python_implementation() + if implementation == "CPython": + expected = {"pip", "setuptools", "wheel"} +-elif implementation == "PyPy": +-expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} # pragma: no cover ++elif implementation == "PyPy": # pragma: no cover ++# hpy added in 7.3.2, enabled in 7.3.3 ++if sys.pypy_version_info >= (7, 3, 3): # type: ignore[attr-defined] ++expected = {"cffi", "greenlet", "hpy", "pip", "readline", "setuptools", "wheel"} ++else: ++expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} + else: + raise ValueError(implementation) + if sys.version_info >= (3, 12): +-- +2.44.0 + diff --git a/dev-python/pipdeptree/pipdeptree-2.17.0.ebuild b/dev-python/pipdeptree/pipdeptree-2.17.0.ebuild new file mode 100644 index ..d4b8329e97ea --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.17.0.ebuild @@ -0,0 +1,51 @@ +# 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..12} ) + +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-mock[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/tox-dev/pipdeptree/pull/302 + "${FILESDIR}/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch" + "${FILESDIR}/pipdeptree-2.13.2-fix-pypy-7.3.14.patch" +) + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} + +pkg_postinst() { + optfeature \ + "visualising the dependency graph with --graph-output" \ + dev-python/graphviz +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/
commit: 1605beb762a2da9d10f25d10b566688691553df0 Author: Michał Górny gentoo org> AuthorDate: Fri Apr 5 02:29:49 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Apr 5 02:45:05 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1605beb7 dev-python/pipdeptree: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pipdeptree/Manifest | 3 -- dev-python/pipdeptree/pipdeptree-2.15.1.ebuild | 43 dev-python/pipdeptree/pipdeptree-2.16.0.ebuild | 54 -- dev-python/pipdeptree/pipdeptree-2.16.1.ebuild | 48 --- 4 files changed, 148 deletions(-) diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index 4c7064829cf4..c9f50bf22109 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1,4 +1 @@ -DIST pipdeptree-2.15.1.tar.gz 34461 BLAKE2B e437785e609bacc31b5ca32fd03b7d69c3b0f597725d021ef978d49037e0d9e6e6b0c6545f5c7a93b4a26befa019156156d554e2d3470282758ed535097377f9 SHA512 ed8482c811758fc94adf196315f022cc6a07029ece9246bab04a64949faa22fc9b6811dd357d0a51803f305c837d6fa1267cf38d5a5cd728c3bf00e65d46d05d -DIST pipdeptree-2.16.0.tar.gz 34872 BLAKE2B 91401cf9ac05e365332956b874b17b40c62a8a6573b69adeae1d451d2878e887ee180239926962a2b7caae67b45619f715f8ade5c9df5b13683f167ee6592d0e SHA512 c3c1d6377cd3a30980c36fc4935f4aa4b96c402f09017f6e9e3d1c12c56580b1f56b1ea0edcbd6b588dbb96a9f5afa7a727c83faaf110d4a5e7f51df36628a03 -DIST pipdeptree-2.16.1.tar.gz 32145 BLAKE2B 8892433bbd858566c1b7dde26d42617c2f075808b8df047c750f4c482cc326f9dd4248c50bacef385f518644898893a31ee701f070a7a80215e13be0c6329b03 SHA512 d0c7d05d818f1118b1897b5ad0a09459f2c8e0fb98486555783659a68ab2d24edc3299ef747e438c4669dc34fb8833d6a217ddbf900f21bc8954d63661494a60 DIST pipdeptree-2.16.2.tar.gz 32151 BLAKE2B 18715b0c7835e19bd5b6846922990e321a7e06315642204e7d79375a50b692f87e2ba1ec5884c4f69ff6e8d75e863c8cf372152aca7561ab94ef265d3c1df9fb SHA512 06d72f94a9165fe52cc15b9f539e3adb6da99e4a63cae78928bf68be3499b2828a5d471f270455b94a960ba2fe2f6319f5319c20ed270029a38a81173a7cd403 diff --git a/dev-python/pipdeptree/pipdeptree-2.15.1.ebuild b/dev-python/pipdeptree/pipdeptree-2.15.1.ebuild deleted file mode 100644 index 88a5c229f6a9.. --- a/dev-python/pipdeptree/pipdeptree-2.15.1.ebuild +++ /dev/null @@ -1,43 +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..12} ) - -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" - -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/graphviz[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - # https://github.com/tox-dev/pipdeptree/pull/302 - "${FILESDIR}/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch" - "${FILESDIR}/pipdeptree-2.13.2-fix-pypy-7.3.14.patch" -) - -distutils_enable_tests pytest - -pkg_postinst() { - optfeature \ - "visualising the dependency graph with --graph-output" \ - dev-python/graphviz -} diff --git a/dev-python/pipdeptree/pipdeptree-2.16.0.ebuild b/dev-python/pipdeptree/pipdeptree-2.16.0.ebuild deleted file mode 100644 index 8c26d7357bda.. --- a/dev-python/pipdeptree/pipdeptree-2.16.0.ebuild +++ /dev/null @@ -1,54 +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..12} ) - -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" - -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - dev-python/graphviz[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - # https://github.com/tox-dev/pipdeptree/pull/302 - "${FILESDIR}/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch" - "${FILESDIR}/pipdeptree-2.13.2-fix-pypy-7.3.14.patch" -) - -distutils_enable_tests pytest - -python_test() { - local EPYTEST_DESELECT=( - # broken when flufl.lock is actually installed - #
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/
commit: 40c8260fba445bb9f26288c38e737bb2a58bce7d Author: Michał Górny gentoo org> AuthorDate: Tue Mar 26 06:29:24 2024 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 26 06:57:37 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40c8260f dev-python/pipdeptree: Bump to 2.16.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pipdeptree/Manifest | 1 + dev-python/pipdeptree/pipdeptree-2.16.2.ebuild | 50 ++ 2 files changed, 51 insertions(+) diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index 3025c32aeedf..4c7064829cf4 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1,3 +1,4 @@ DIST pipdeptree-2.15.1.tar.gz 34461 BLAKE2B e437785e609bacc31b5ca32fd03b7d69c3b0f597725d021ef978d49037e0d9e6e6b0c6545f5c7a93b4a26befa019156156d554e2d3470282758ed535097377f9 SHA512 ed8482c811758fc94adf196315f022cc6a07029ece9246bab04a64949faa22fc9b6811dd357d0a51803f305c837d6fa1267cf38d5a5cd728c3bf00e65d46d05d DIST pipdeptree-2.16.0.tar.gz 34872 BLAKE2B 91401cf9ac05e365332956b874b17b40c62a8a6573b69adeae1d451d2878e887ee180239926962a2b7caae67b45619f715f8ade5c9df5b13683f167ee6592d0e SHA512 c3c1d6377cd3a30980c36fc4935f4aa4b96c402f09017f6e9e3d1c12c56580b1f56b1ea0edcbd6b588dbb96a9f5afa7a727c83faaf110d4a5e7f51df36628a03 DIST pipdeptree-2.16.1.tar.gz 32145 BLAKE2B 8892433bbd858566c1b7dde26d42617c2f075808b8df047c750f4c482cc326f9dd4248c50bacef385f518644898893a31ee701f070a7a80215e13be0c6329b03 SHA512 d0c7d05d818f1118b1897b5ad0a09459f2c8e0fb98486555783659a68ab2d24edc3299ef747e438c4669dc34fb8833d6a217ddbf900f21bc8954d63661494a60 +DIST pipdeptree-2.16.2.tar.gz 32151 BLAKE2B 18715b0c7835e19bd5b6846922990e321a7e06315642204e7d79375a50b692f87e2ba1ec5884c4f69ff6e8d75e863c8cf372152aca7561ab94ef265d3c1df9fb SHA512 06d72f94a9165fe52cc15b9f539e3adb6da99e4a63cae78928bf68be3499b2828a5d471f270455b94a960ba2fe2f6319f5319c20ed270029a38a81173a7cd403 diff --git a/dev-python/pipdeptree/pipdeptree-2.16.2.ebuild b/dev-python/pipdeptree/pipdeptree-2.16.2.ebuild new file mode 100644 index ..dbb4e804f288 --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.16.2.ebuild @@ -0,0 +1,50 @@ +# 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..12} ) + +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/pip-23.1.2[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/graphviz[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/tox-dev/pipdeptree/pull/302 + "${FILESDIR}/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch" + "${FILESDIR}/pipdeptree-2.13.2-fix-pypy-7.3.14.patch" +) + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} + +pkg_postinst() { + optfeature \ + "visualising the dependency graph with --graph-output" \ + dev-python/graphviz +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/
commit: c3ba6b6f782a5a40b640e0cc0e37e13d5abc51ae Author: Michał Górny gentoo org> AuthorDate: Tue Mar 5 05:02:02 2024 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 5 05:18:28 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3ba6b6f dev-python/pipdeptree: Bump to 2.16.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pipdeptree/Manifest | 1 + dev-python/pipdeptree/pipdeptree-2.16.1.ebuild | 48 ++ 2 files changed, 49 insertions(+) diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index 889b8dfe87dc..3025c32aeedf 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1,2 +1,3 @@ DIST pipdeptree-2.15.1.tar.gz 34461 BLAKE2B e437785e609bacc31b5ca32fd03b7d69c3b0f597725d021ef978d49037e0d9e6e6b0c6545f5c7a93b4a26befa019156156d554e2d3470282758ed535097377f9 SHA512 ed8482c811758fc94adf196315f022cc6a07029ece9246bab04a64949faa22fc9b6811dd357d0a51803f305c837d6fa1267cf38d5a5cd728c3bf00e65d46d05d DIST pipdeptree-2.16.0.tar.gz 34872 BLAKE2B 91401cf9ac05e365332956b874b17b40c62a8a6573b69adeae1d451d2878e887ee180239926962a2b7caae67b45619f715f8ade5c9df5b13683f167ee6592d0e SHA512 c3c1d6377cd3a30980c36fc4935f4aa4b96c402f09017f6e9e3d1c12c56580b1f56b1ea0edcbd6b588dbb96a9f5afa7a727c83faaf110d4a5e7f51df36628a03 +DIST pipdeptree-2.16.1.tar.gz 32145 BLAKE2B 8892433bbd858566c1b7dde26d42617c2f075808b8df047c750f4c482cc326f9dd4248c50bacef385f518644898893a31ee701f070a7a80215e13be0c6329b03 SHA512 d0c7d05d818f1118b1897b5ad0a09459f2c8e0fb98486555783659a68ab2d24edc3299ef747e438c4669dc34fb8833d6a217ddbf900f21bc8954d63661494a60 diff --git a/dev-python/pipdeptree/pipdeptree-2.16.1.ebuild b/dev-python/pipdeptree/pipdeptree-2.16.1.ebuild new file mode 100644 index ..fec43ff81c6c --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.16.1.ebuild @@ -0,0 +1,48 @@ +# 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..12} ) + +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" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/graphviz[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/tox-dev/pipdeptree/pull/302 + "${FILESDIR}/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch" + "${FILESDIR}/pipdeptree-2.13.2-fix-pypy-7.3.14.patch" +) + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} + +pkg_postinst() { + optfeature \ + "visualising the dependency graph with --graph-output" \ + dev-python/graphviz +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/
commit: 5c2b390cd053e2d93592c4b96d9cec55e4ae2c2a Author: Michał Górny gentoo org> AuthorDate: Sat Mar 2 06:21:27 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 2 06:43:22 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c2b390c dev-python/pipdeptree: Bump to 2.16.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pipdeptree/Manifest | 1 + dev-python/pipdeptree/pipdeptree-2.16.0.ebuild | 54 ++ 2 files changed, 55 insertions(+) diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index 681a24db52d1..889b8dfe87dc 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1 +1,2 @@ DIST pipdeptree-2.15.1.tar.gz 34461 BLAKE2B e437785e609bacc31b5ca32fd03b7d69c3b0f597725d021ef978d49037e0d9e6e6b0c6545f5c7a93b4a26befa019156156d554e2d3470282758ed535097377f9 SHA512 ed8482c811758fc94adf196315f022cc6a07029ece9246bab04a64949faa22fc9b6811dd357d0a51803f305c837d6fa1267cf38d5a5cd728c3bf00e65d46d05d +DIST pipdeptree-2.16.0.tar.gz 34872 BLAKE2B 91401cf9ac05e365332956b874b17b40c62a8a6573b69adeae1d451d2878e887ee180239926962a2b7caae67b45619f715f8ade5c9df5b13683f167ee6592d0e SHA512 c3c1d6377cd3a30980c36fc4935f4aa4b96c402f09017f6e9e3d1c12c56580b1f56b1ea0edcbd6b588dbb96a9f5afa7a727c83faaf110d4a5e7f51df36628a03 diff --git a/dev-python/pipdeptree/pipdeptree-2.16.0.ebuild b/dev-python/pipdeptree/pipdeptree-2.16.0.ebuild new file mode 100644 index ..8c26d7357bda --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.16.0.ebuild @@ -0,0 +1,54 @@ +# 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..12} ) + +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" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/graphviz[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/tox-dev/pipdeptree/pull/302 + "${FILESDIR}/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch" + "${FILESDIR}/pipdeptree-2.13.2-fix-pypy-7.3.14.patch" +) + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # broken when flufl.lock is actually installed + # https://github.com/tox-dev/pipdeptree/issues/326 + tests/_models/test_dag.py::test_package_dag_from_pkgs_uses_pep503normalize + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_mock +} + +pkg_postinst() { + optfeature \ + "visualising the dependency graph with --graph-output" \ + dev-python/graphviz +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/
commit: ca8576964a05edf4a8ffc84ab14f18be099b98ef Author: Michał Górny gentoo org> AuthorDate: Sat Feb 24 06:31:36 2024 + Commit: Michał Górny gentoo org> CommitDate: Sat Feb 24 08:49:14 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca857696 dev-python/pipdeptree: Bump to 2.15.1 Signed-off-by: Michał Górny gentoo.org> dev-python/pipdeptree/Manifest | 1 + dev-python/pipdeptree/pipdeptree-2.15.1.ebuild | 43 ++ 2 files changed, 44 insertions(+) diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index df8a3b3af636..143067c27445 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1,3 +1,4 @@ DIST pipdeptree-2.13.1.tar.gz 33139 BLAKE2B e7044303f09ad3952e14f79ec11e01a54e9c34ff5b4430094a968602c8a97388eadd4e021c97c97c1767d7ae02b7070ff6e4ec934aef6036b98bf2553d2344a0 SHA512 18c73a8ef458b0a241d967da40453fb8a9fc6550cbd2c21eecca9a81f011b896622fb45a81b79e30eb990454b6f518a1fcc02cb25bb2c5ca988b44e040264e26 DIST pipdeptree-2.13.2.tar.gz 33290 BLAKE2B 1b97dbfaa6f6baff272e6e6d5399f95b96e13b19bba5ef3997574d027002abd98152e26d67b4b19555392d076c84bf6b142d147d95349ba1dd535bea40994b4f SHA512 ce6cfc29827c087725366a95079621516303cf50c6c4ee4a0cd5d8b7649e8dd7b7145b62523c48731a2b5f4140c90c558eb5d1a0248b28a8c4c97ccb78d9e16d DIST pipdeptree-2.14.0.tar.gz 34392 BLAKE2B b10dde231fae896b114b9e9b71eb6925493d3814381a6497f0a9011ca7cea415b68db8913f6cae7d0b6da0f3c3801e96671238097b25f0bef6bfcb5c65e2ec80 SHA512 ff6be5782abe4d4ee0eeaee7c668736ad4a07237a9ecd1f0c1e42484668737f0e8a4a586e08b606849ccf358914dbaebe4907f67eba70b348c7a89791570eb11 +DIST pipdeptree-2.15.1.tar.gz 34461 BLAKE2B e437785e609bacc31b5ca32fd03b7d69c3b0f597725d021ef978d49037e0d9e6e6b0c6545f5c7a93b4a26befa019156156d554e2d3470282758ed535097377f9 SHA512 ed8482c811758fc94adf196315f022cc6a07029ece9246bab04a64949faa22fc9b6811dd357d0a51803f305c837d6fa1267cf38d5a5cd728c3bf00e65d46d05d diff --git a/dev-python/pipdeptree/pipdeptree-2.15.1.ebuild b/dev-python/pipdeptree/pipdeptree-2.15.1.ebuild new file mode 100644 index ..88a5c229f6a9 --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.15.1.ebuild @@ -0,0 +1,43 @@ +# 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..12} ) + +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" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/graphviz[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/tox-dev/pipdeptree/pull/302 + "${FILESDIR}/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch" + "${FILESDIR}/pipdeptree-2.13.2-fix-pypy-7.3.14.patch" +) + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature \ + "visualising the dependency graph with --graph-output" \ + dev-python/graphviz +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/
commit: 60f3e64cec376b47156d12b9d25ac79f18c90763 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 16 05:14:53 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Feb 16 05:40:15 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60f3e64c dev-python/pipdeptree: Bump to 2.14.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pipdeptree/Manifest | 1 + dev-python/pipdeptree/pipdeptree-2.14.0.ebuild | 43 ++ 2 files changed, 44 insertions(+) diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index 21b7d62ce204..df8a3b3af636 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1,2 +1,3 @@ DIST pipdeptree-2.13.1.tar.gz 33139 BLAKE2B e7044303f09ad3952e14f79ec11e01a54e9c34ff5b4430094a968602c8a97388eadd4e021c97c97c1767d7ae02b7070ff6e4ec934aef6036b98bf2553d2344a0 SHA512 18c73a8ef458b0a241d967da40453fb8a9fc6550cbd2c21eecca9a81f011b896622fb45a81b79e30eb990454b6f518a1fcc02cb25bb2c5ca988b44e040264e26 DIST pipdeptree-2.13.2.tar.gz 33290 BLAKE2B 1b97dbfaa6f6baff272e6e6d5399f95b96e13b19bba5ef3997574d027002abd98152e26d67b4b19555392d076c84bf6b142d147d95349ba1dd535bea40994b4f SHA512 ce6cfc29827c087725366a95079621516303cf50c6c4ee4a0cd5d8b7649e8dd7b7145b62523c48731a2b5f4140c90c558eb5d1a0248b28a8c4c97ccb78d9e16d +DIST pipdeptree-2.14.0.tar.gz 34392 BLAKE2B b10dde231fae896b114b9e9b71eb6925493d3814381a6497f0a9011ca7cea415b68db8913f6cae7d0b6da0f3c3801e96671238097b25f0bef6bfcb5c65e2ec80 SHA512 ff6be5782abe4d4ee0eeaee7c668736ad4a07237a9ecd1f0c1e42484668737f0e8a4a586e08b606849ccf358914dbaebe4907f67eba70b348c7a89791570eb11 diff --git a/dev-python/pipdeptree/pipdeptree-2.14.0.ebuild b/dev-python/pipdeptree/pipdeptree-2.14.0.ebuild new file mode 100644 index ..88a5c229f6a9 --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.14.0.ebuild @@ -0,0 +1,43 @@ +# 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..12} ) + +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" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/graphviz[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/tox-dev/pipdeptree/pull/302 + "${FILESDIR}/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch" + "${FILESDIR}/pipdeptree-2.13.2-fix-pypy-7.3.14.patch" +) + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature \ + "visualising the dependency graph with --graph-output" \ + dev-python/graphviz +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/, dev-python/pipdeptree/files/
commit: 613e7f29a889fe2afdfdb0b8011c59285ea2b3e8 Author: Alfred Wingate protonmail com> AuthorDate: Thu Feb 8 13:57:11 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 8 14:32:31 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=613e7f29 dev-python/pipdeptree: add 2.13.2 Bug: https://bugs.gentoo.org/923893 Closes: https://bugs.gentoo.org/923926 Signed-off-by: Alfred Wingate protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/35228 Signed-off-by: Michał Górny gentoo.org> dev-python/pipdeptree/Manifest | 1 + .../files/pipdeptree-2.13.2-fix-pypy-7.3.14.patch | 37 +++ dev-python/pipdeptree/pipdeptree-2.13.2.ebuild | 43 ++ 3 files changed, 81 insertions(+) diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index d8713f22e65d..21b7d62ce204 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1 +1,2 @@ DIST pipdeptree-2.13.1.tar.gz 33139 BLAKE2B e7044303f09ad3952e14f79ec11e01a54e9c34ff5b4430094a968602c8a97388eadd4e021c97c97c1767d7ae02b7070ff6e4ec934aef6036b98bf2553d2344a0 SHA512 18c73a8ef458b0a241d967da40453fb8a9fc6550cbd2c21eecca9a81f011b896622fb45a81b79e30eb990454b6f518a1fcc02cb25bb2c5ca988b44e040264e26 +DIST pipdeptree-2.13.2.tar.gz 33290 BLAKE2B 1b97dbfaa6f6baff272e6e6d5399f95b96e13b19bba5ef3997574d027002abd98152e26d67b4b19555392d076c84bf6b142d147d95349ba1dd535bea40994b4f SHA512 ce6cfc29827c087725366a95079621516303cf50c6c4ee4a0cd5d8b7649e8dd7b7145b62523c48731a2b5f4140c90c558eb5d1a0248b28a8c4c97ccb78d9e16d diff --git a/dev-python/pipdeptree/files/pipdeptree-2.13.2-fix-pypy-7.3.14.patch b/dev-python/pipdeptree/files/pipdeptree-2.13.2-fix-pypy-7.3.14.patch new file mode 100644 index ..3718174d0af6 --- /dev/null +++ b/dev-python/pipdeptree/files/pipdeptree-2.13.2-fix-pypy-7.3.14.patch @@ -0,0 +1,37 @@ +https://bugs.gentoo.org/923893 + +From 5d111ebe3bb1d24baa314b615d67d3e3928297ca Mon Sep 17 00:00:00 2001 +From: Alfred Wingate +Date: Wed, 7 Feb 2024 08:47:03 +0200 +Subject: [PATCH] Use json output for test which parses installed packages + +* pypy bundles hpy which has a dependency on setuptools, therefore + breaking non-json output due sub-dependency pretty printing. +* Using json makes parsing dependencies straight forward. + +Signed-off-by: Alfred Wingate +--- a/tests/test_non_host.py b/tests/test_non_host.py +@@ -1,5 +1,6 @@ + from __future__ import annotations + ++import json + import sys + from platform import python_implementation + from typing import TYPE_CHECKING +@@ -25,10 +26,10 @@ def test_custom_interpreter( + monkeypatch.chdir(tmp_path) + py = str(result.creator.exe.relative_to(tmp_path)) + cmd += [f"--python={result.creator.exe}"] if args_joined else ["--python", py] +-monkeypatch.setattr(sys, "argv", cmd) ++monkeypatch.setattr(sys, "argv", [*cmd, "-j"]) + main() + out, _ = capfd.readouterr() +-found = {i.split("==")[0] for i in out.splitlines()} ++found = {i["package"]["package_name"] for i in json.loads(out)} + implementation = python_implementation() + if implementation == "CPython": + expected = {"pip", "setuptools", "wheel"} +-- +2.43.0 + diff --git a/dev-python/pipdeptree/pipdeptree-2.13.2.ebuild b/dev-python/pipdeptree/pipdeptree-2.13.2.ebuild new file mode 100644 index ..88a5c229f6a9 --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.13.2.ebuild @@ -0,0 +1,43 @@ +# 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..12} ) + +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" + +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + dev-python/graphviz[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/tox-dev/pipdeptree/pull/302 + "${FILESDIR}/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch" + "${FILESDIR}/pipdeptree-2.13.2-fix-pypy-7.3.14.patch" +) + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature \ + "visualising the dependency graph with --graph-output" \ + dev-python/graphviz +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/
commit: d8c98cc034d1c86a642d714f1638423186b66f17 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 30 18:29:30 2023 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 30 18:29:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8c98cc0 dev-python/pipdeptree: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pipdeptree/Manifest | 1 - dev-python/pipdeptree/pipdeptree-2.13.0.ebuild | 21 - 2 files changed, 22 deletions(-) diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index f2857ce4b8be..d8713f22e65d 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1,2 +1 @@ -DIST pipdeptree-2.13.0.tar.gz 32980 BLAKE2B 37a7ecf2cef1fb2533655b1b911216ed5d069ce639198896517a49be010b1697df2a81aecba001dfbcd9b67618411754a97ad198f2e2c32d73d2104020d5eb01 SHA512 eccc41e1428d2f7146386a6aa0e1c5833302b9eaaa810250cb8029f8cf7f8f8173477553f143835b4dfac318331b9b7467493a3fcae15569d7d371d58b27963f DIST pipdeptree-2.13.1.tar.gz 33139 BLAKE2B e7044303f09ad3952e14f79ec11e01a54e9c34ff5b4430094a968602c8a97388eadd4e021c97c97c1767d7ae02b7070ff6e4ec934aef6036b98bf2553d2344a0 SHA512 18c73a8ef458b0a241d967da40453fb8a9fc6550cbd2c21eecca9a81f011b896622fb45a81b79e30eb990454b6f518a1fcc02cb25bb2c5ca988b44e040264e26 diff --git a/dev-python/pipdeptree/pipdeptree-2.13.0.ebuild b/dev-python/pipdeptree/pipdeptree-2.13.0.ebuild deleted file mode 100644 index 8797679d46f1.. --- a/dev-python/pipdeptree/pipdeptree-2.13.0.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 pypi - -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" - -distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/
commit: 5499e93f6b9c9c4c13f2d19d87d70fda38b4f42a Author: Sam James gentoo org> AuthorDate: Fri Dec 29 23:31:46 2023 + Commit: Sam James gentoo org> CommitDate: Fri Dec 29 23:31:46 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5499e93f dev-python/pipdeptree: Keyword 2.13.1 arm64, #917977 Signed-off-by: Sam James gentoo.org> dev-python/pipdeptree/pipdeptree-2.13.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild b/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild index 61efc130c1c0..d29e84bec386 100644 --- a/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild +++ b/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~amd64 ~arm64 ~riscv" BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/
commit: 1d6268eedc2582fe6aecdf2f5daf481a8ab79584 Author: Michał Górny gentoo org> AuthorDate: Wed Dec 27 16:01:39 2023 + Commit: Michał Górny gentoo org> CommitDate: Wed Dec 27 16:01:39 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6268ee dev-python/pipdeptree: Add BDEP on dev-python/hatch-vcs Closes: https://bugs.gentoo.org/920760 Signed-off-by: Michał Górny gentoo.org> dev-python/pipdeptree/pipdeptree-2.13.1.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild b/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild index f2d71adbba6e..61efc130c1c0 100644 --- a/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild +++ b/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild @@ -19,6 +19,7 @@ SLOT="0" KEYWORDS="~amd64 ~riscv" BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] test? ( dev-python/graphviz[${PYTHON_USEDEP}] dev-python/pip[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/
commit: 01b36dad3a1844d52bad7a1aa1f9291a3bf9996c Author: Jakov Smolić gentoo org> AuthorDate: Sat Dec 2 19:31:10 2023 + Commit: Jakov Smolić gentoo org> CommitDate: Sat Dec 2 19:31:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01b36dad dev-python/pipdeptree: Keyword 2.13.1 riscv, #916315 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pipdeptree/pipdeptree-2.13.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild b/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild index 419254577378..f2d71adbba6e 100644 --- a/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild +++ b/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~riscv" BDEPEND=" test? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/, dev-python/pipdeptree/files/
commit: 2e25d6f9f59e580aceed2709c70c7fab37c5f7c5 Author: Alfred Wingate protonmail com> AuthorDate: Tue Nov 14 05:09:16 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Nov 14 13:22:44 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e25d6f9 dev-python/pipdeptree: add 2.13.1 Closes: https://bugs.gentoo.org/917320 Closes: https://bugs.gentoo.org/917321 Signed-off-by: Alfred Wingate protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/33816 Signed-off-by: Michał Górny gentoo.org> dev-python/pipdeptree/Manifest | 1 + ...ipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch | 26 ++ dev-python/pipdeptree/pipdeptree-2.13.1.ebuild | 41 ++ 3 files changed, 68 insertions(+) diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest index 3257b50c00fb..f2857ce4b8be 100644 --- a/dev-python/pipdeptree/Manifest +++ b/dev-python/pipdeptree/Manifest @@ -1 +1,2 @@ DIST pipdeptree-2.13.0.tar.gz 32980 BLAKE2B 37a7ecf2cef1fb2533655b1b911216ed5d069ce639198896517a49be010b1697df2a81aecba001dfbcd9b67618411754a97ad198f2e2c32d73d2104020d5eb01 SHA512 eccc41e1428d2f7146386a6aa0e1c5833302b9eaaa810250cb8029f8cf7f8f8173477553f143835b4dfac318331b9b7467493a3fcae15569d7d371d58b27963f +DIST pipdeptree-2.13.1.tar.gz 33139 BLAKE2B e7044303f09ad3952e14f79ec11e01a54e9c34ff5b4430094a968602c8a97388eadd4e021c97c97c1767d7ae02b7070ff6e4ec934aef6036b98bf2553d2344a0 SHA512 18c73a8ef458b0a241d967da40453fb8a9fc6550cbd2c21eecca9a81f011b896622fb45a81b79e30eb990454b6f518a1fcc02cb25bb2c5ca988b44e040264e26 diff --git a/dev-python/pipdeptree/files/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch b/dev-python/pipdeptree/files/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch new file mode 100644 index ..5cc4b1ca580d --- /dev/null +++ b/dev-python/pipdeptree/files/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch @@ -0,0 +1,26 @@ +https://github.com/tox-dev/pipdeptree/pull/302 + +From 8a2ccfe062d8978f010e2e4bd3f8e8b9e46ecbce Mon Sep 17 00:00:00 2001 +From: Alfred Wingate +Date: Tue, 14 Nov 2023 08:36:09 +0200 +Subject: [PATCH] Expect hpy in pypy versions >= 7.3.3 + +Signed-off-by: Alfred Wingate +--- a/tests/test_non_host.py b/tests/test_non_host.py +@@ -33,7 +33,11 @@ def test_custom_interpreter( + if implementation == "CPython": + expected = {"pip", "setuptools", "wheel"} + elif implementation == "PyPy": +-expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} ++# hpy added in 7.3.2, enabled in 7.3.3 ++if sys.pypy_version_info >= (7, 3, 3): ++expected = {"cffi", "greenlet", "hpy", "pip", "readline", "setuptools", "wheel"} ++else: ++expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} + else: + raise ValueError(implementation) + if sys.version_info >= (3, 12): +-- +2.42.1 + diff --git a/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild b/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild new file mode 100644 index ..419254577378 --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.13.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +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" + +BDEPEND=" + test? ( + dev-python/graphviz[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/tox-dev/pipdeptree/pull/302 + "${FILESDIR}/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch" +) + +distutils_enable_tests pytest + +pkg_postinst() { + optfeature \ + "visualising the dependency graph with --graph-output" \ + dev-python/graphviz +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/
commit: 87ef56aa40ff9edfea89a3a90a87a146c55f8ec9 Author: Oz Tiram gmail com> AuthorDate: Sun Sep 24 07:49:04 2023 + Commit: Sam James gentoo org> CommitDate: Fri Oct 27 03:23:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ef56aa dev-python/pipdeptree: new package, add 2.13.0 Bug: https://bugs.gentoo.org/717666 Signed-off-by: Oz Tiram gmail.com> Signed-off-by: Sam James gentoo.org> dev-python/pipdeptree/Manifest | 1 + dev-python/pipdeptree/metadata.xml | 17 + dev-python/pipdeptree/pipdeptree-2.13.0.ebuild | 21 + 3 files changed, 39 insertions(+) diff --git a/dev-python/pipdeptree/Manifest b/dev-python/pipdeptree/Manifest new file mode 100644 index ..3257b50c00fb --- /dev/null +++ b/dev-python/pipdeptree/Manifest @@ -0,0 +1 @@ +DIST pipdeptree-2.13.0.tar.gz 32980 BLAKE2B 37a7ecf2cef1fb2533655b1b911216ed5d069ce639198896517a49be010b1697df2a81aecba001dfbcd9b67618411754a97ad198f2e2c32d73d2104020d5eb01 SHA512 eccc41e1428d2f7146386a6aa0e1c5833302b9eaaa810250cb8029f8cf7f8f8173477553f143835b4dfac318331b9b7467493a3fcae15569d7d371d58b27963f diff --git a/dev-python/pipdeptree/metadata.xml b/dev-python/pipdeptree/metadata.xml new file mode 100644 index ..f1082b8162d3 --- /dev/null +++ b/dev-python/pipdeptree/metadata.xml @@ -0,0 +1,17 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + oz.ti...@gmail.com + Oz Tiram + + + proxy-ma...@gentoo.org + Proxy Maintainers + + + + tox-dev/pipdeptree + pipdeptree + + diff --git a/dev-python/pipdeptree/pipdeptree-2.13.0.ebuild b/dev-python/pipdeptree/pipdeptree-2.13.0.ebuild new file mode 100644 index ..8797679d46f1 --- /dev/null +++ b/dev-python/pipdeptree/pipdeptree-2.13.0.ebuild @@ -0,0 +1,21 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +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" + +distutils_enable_tests pytest