diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-11-09 09:00:56 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-11-09 09:26:27 +0100 |
commit | df2d0a403a1148b69ba1649f2cc9aa64a7e9ad7d (patch) | |
tree | 87908b5ab05523f90a5909d6692a259135a92bdd /dev-python/wheel | |
parent | dev-python/aws-sam-translator: Bump to 1.92.0 (diff) | |
download | gentoo-df2d0a403a1148b69ba1649f2cc9aa64a7e9ad7d.tar.gz gentoo-df2d0a403a1148b69ba1649f2cc9aa64a7e9ad7d.tar.bz2 gentoo-df2d0a403a1148b69ba1649f2cc9aa64a7e9ad7d.zip |
dev-python/wheel: Bump to 0.45.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/wheel')
-rw-r--r-- | dev-python/wheel/Manifest | 1 | ||||
-rw-r--r-- | dev-python/wheel/wheel-0.45.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
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 +} |