From 6946d6c8d720e66f8fdabbcb2f5dbec485379a3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 23 Jan 2026 07:14:18 +0100 Subject: [PATCH] dev-python/ensurepip-wheel: Bump to 0.46.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/ensurepip-wheel/Manifest | 2 + .../ensurepip-wheel-0.46.3.ebuild | 60 +++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 dev-python/ensurepip-wheel/ensurepip-wheel-0.46.3.ebuild diff --git a/dev-python/ensurepip-wheel/Manifest b/dev-python/ensurepip-wheel/Manifest index 5f603ecd73eda..57190424fb6de 100644 --- a/dev-python/ensurepip-wheel/Manifest +++ b/dev-python/ensurepip-wheel/Manifest @@ -1,3 +1,5 @@ DIST wheel-0.45.1.tar.gz 107545 BLAKE2B 13c8d60a2e39ded3d911c9e03915b01bda201f7e8cd6de456484ce6eeb2a990861a01f26e5d9f2ac4ca0ab2b6d0fea9db437d6f82cb39db9b1059c3c53202ec0 SHA512 df45f00e9eaeae2f27f813f31591590c961da2f6bff15bba6fb2a14d529c221f39b29894b8da408fe49cd4b760840a0e05c4baef377ccfacd9983c0bba83d6d8 DIST wheel-0.46.2.tar.gz 60274 BLAKE2B f26a8d40f0fbe2da6bb8a406b79e5eca50de89309a16a8d0830a269e33340a78b624201400c211a69c991f470f14e99457bb63ec8db3bdf6b37c19d391545f34 SHA512 3337b53164ac1a7031e45708aba9cb259833d314d22564533c4af199ce12d8c89a4b22955ff0c0e9bcaa07bae78c81f08ff12c91d30b3c6be4d42dd9ccad1a31 DIST wheel-0.46.2.tar.gz.provenance 9073 BLAKE2B 41f8c0d2a602ffab3d68bf57ddc18e4b4dd318beba4590037b2b7fa3811151e7b6fdbf8b8633462e47deba38a755fa8ce249c7d08abc98717f0a1f40eb6e3674 SHA512 b62349b72f682cd9667d0cec0732aab902db0659319850fa3882d3be4f5cbbae87a707f5371aef07fa35eb6f0a88558c439b2e0da4941466e3add9c19c47bf1b +DIST wheel-0.46.3.tar.gz 60605 BLAKE2B f896ffef160915d1a69bfa6dbd5a6cbefdd6b9e4f56867f15c6247d22ff0d6683171c51cf7e0f8808d8ffa536eb6540a1b2cd14ceba4a0e5cb9799d4261964ba SHA512 4bda170a085b00bead5bd5beb1cd865af3699a940774615c087b9e96c86a56a1f3992613df162bc055aebcc84bc0e13df310a38c6102cfc1d5d78e8af33d4e1a +DIST wheel-0.46.3.tar.gz.provenance 9316 BLAKE2B dc911d733141cf7f580e924665d08319f031175c96d4b65704484d153f7a24118ac612adcc33795cbfebd48e4a3fb9b59f7b3d04208b8fd27fa5c16e65819de5 SHA512 af6e542cf028921476106f8f7409f6012b3b7687f49fea45374096c428d114409e8494e8769820a3c2a71a2b94395669247ffce1bab25b6cd2f686dd70117e57 diff --git a/dev-python/ensurepip-wheel/ensurepip-wheel-0.46.3.ebuild b/dev-python/ensurepip-wheel/ensurepip-wheel-0.46.3.ebuild new file mode 100644 index 0000000000000..ec0f9f81f7e80 --- /dev/null +++ b/dev-python/ensurepip-wheel/ensurepip-wheel-0.46.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_PN=${PN#ensurepip-} +PYPI_VERIFY_REPO=https://github.com/pypa/wheel +# PYTHON_COMPAT used only for testing +PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Shared wheel wheel for use in pip tests" +HOMEPAGE=" + https://github.com/pypa/wheel/ + https://pypi.org/project/wheel/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + ) +" + +# xdist is slightly flaky here +EPYTEST_PLUGINS=( pytest-rerunfailures ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_compile() { + # If we're testing, install for all implementations. + # If we're not, just get one wheel built. + if use test || [[ -z ${DISTUTILS_WHEEL_PATH} ]]; then + distutils-r1_python_compile + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # fails if any setuptools plugin imported the module first + tests/test_bdist_wheel.py::test_deprecated_import + ) + + epytest +} + +src_install() { + if [[ ${DISTUTILS_WHEEL_PATH} != *py3-none-any.whl ]]; then + die "Non-pure wheel produced?! ${DISTUTILS_WHEEL_PATH}" + fi + # TODO: compress it? + insinto /usr/lib/python/ensurepip + doins "${DISTUTILS_WHEEL_PATH}" +}