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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E17EE158042 for ; Sat, 9 Nov 2024 08:27:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 300F5E0827; Sat, 9 Nov 2024 08:27:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1930EE0827 for ; Sat, 9 Nov 2024 08:27:05 +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 56D7133BEFF for ; Sat, 9 Nov 2024 08:27:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BAE711AED for ; Sat, 9 Nov 2024 08:27:02 +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: <1731140787.df2d0a403a1148b69ba1649f2cc9aa64a7e9ad7d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wheel/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/wheel/Manifest dev-python/wheel/wheel-0.45.0.ebuild X-VCS-Directories: dev-python/wheel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: df2d0a403a1148b69ba1649f2cc9aa64a7e9ad7d X-VCS-Branch: master Date: Sat, 9 Nov 2024 08:27:02 +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: 8c162328-3f81-4dbd-8fd0-d58232b8ddea X-Archives-Hash: a9638db429914c0a98d314c4abe52414 commit: df2d0a403a1148b69ba1649f2cc9aa64a7e9ad7d Author: Michał Górny gentoo org> AuthorDate: Sat Nov 9 08:00:56 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Nov 9 08:26:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df2d0a40 dev-python/wheel: Bump to 0.45.0 Signed-off-by: Michał Górny gentoo.org> dev-python/wheel/Manifest | 1 + dev-python/wheel/wheel-0.45.0.ebuild | 51 ++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-python/wheel/Manifest b/dev-python/wheel/Manifest index a6de1d3543f7..54658571ff05 100644 --- a/dev-python/wheel/Manifest +++ b/dev-python/wheel/Manifest @@ -1 +1,2 @@ DIST wheel-0.44.0.tar.gz 100733 BLAKE2B 6beefa0875be52fb2dff2921cb87063bcafdf2e31c43963676fbae8aef4e68ea21675aa715f94052edc9f5e8dbbd5e2afe3abc17f521eb36b24fa628b0522bbe SHA512 f0a1efbf70e8a2eebdf7564932bdfa3892940a3fbfc00f256f61be03a51ff9cc5a55570d1d3f5878670be84ab233483453ce754ea46c508574fcf4ec61d480c8 +DIST wheel-0.45.0.tar.gz 107426 BLAKE2B 57cfbe247bbc2f0598a3ee18a1ab4b309e6ec6eb89486391bc7b5baa148736829b2620d05f1c6f75b0743ee1065ccbdc66ce690ee7efcf5f2b58519eb4cc8b25 SHA512 dca95cadde7c551baebde50f66ca79d4205d0a896da34b7f4f103c62fb72f78c0b9e71933564b951ab3878e6bc47d1961a73545bc0ead45e618de33b6b7cb16a diff --git a/dev-python/wheel/wheel-0.45.0.ebuild b/dev-python/wheel/wheel-0.45.0.ebuild new file mode 100644 index 000000000000..95f482c44938 --- /dev/null +++ b/dev-python/wheel/wheel-0.45.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} python3_13t pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="A built-package format for Python" +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 ~arm64-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # fails if any setuptools plugin imported the module first + tests/test_bdist_wheel.py::test_deprecated_import +) + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unbundle packaging + rm -r src/wheel/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:wheel\.vendored\.::' \ + -e 's:\.\+vendored\.::' {} + || die +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}