From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0B8A5158089 for ; Tue, 14 Nov 2023 13:37:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 179262BC015; Tue, 14 Nov 2023 13:37:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ED68B2BC015 for ; Tue, 14 Nov 2023 13:37:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC0CD335D72 for ; Tue, 14 Nov 2023 13:37:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 452211385 for ; Tue, 14 Nov 2023 13:37:09 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1699968164.2e25d6f9f59e580aceed2709c70c7fab37c5f7c5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pipdeptree/, dev-python/pipdeptree/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pipdeptree/Manifest dev-python/pipdeptree/files/pipdeptree-2.13.1-expect-hpy-in-pypy-7.3.3.patch dev-python/pipdeptree/pipdeptree-2.13.1.ebuild X-VCS-Directories: dev-python/pipdeptree/ dev-python/pipdeptree/files/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2e25d6f9f59e580aceed2709c70c7fab37c5f7c5 X-VCS-Branch: master Date: Tue, 14 Nov 2023 13:37:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d07e1d86-e7bd-4ea6-b1ca-8a3deeda8d74 X-Archives-Hash: 451ead72840425735f0d09c7ee1f4ca4 commit: 2e25d6f9f59e580aceed2709c70c7fab37c5f7c5 Author: Alfred Wingate protonmail com> AuthorDate: Tue Nov 14 05:09:16 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Nov 14 13:22:44 2023 +0000 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 000000000000..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 000000000000..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 +}