mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
dev-python/ensurepip-wheel: Bump to 0.48.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
DIST wheel-0.47.0.tar.gz 63854 BLAKE2B 1ff8414476e13bd39a921f007176365c7c38963249a1ee0bbc2e94174ac3280bbe23711f94f84f11958db886e6293f5afe77ef15310a488b6951b472a15d9957 SHA512 cf2010e36c031ba47f6302a233811e57f0187244b06cdeff5ae5d2fb6cc16dfba594facbb3f58f795ec308d71a8a0332d09e610bb8720f2c9e8942a914bf3bc4
|
||||
DIST wheel-0.47.0.tar.gz.provenance 9367 BLAKE2B a9047b77f0e8ebe89da557d9af1be2034785673eea4eb1089b80c2604528b52b0486b81624bf4978f9479adafdca3e405ce36ab97235e5449979e9a6c24921dc SHA512 50aaef2cd93d5013d34017ef4d4e0f125cac0405d89d60081e4e43d00971f14d64397f5c358056e146f52a9ffbeeff9dc80e391a94b9c87f5e1fa9aeb3b9f1f2
|
||||
DIST wheel-0.48.0.tar.gz 66471 BLAKE2B f3eec05b0c70939b7dd8539ef538efb5c2d3e76c497c2c66035abe9fcfc166ffb17f65bfcbd6998a27ba9cdbb078ed99c6b1f826ae694fc9134dcf60a0870791 SHA512 5890947bc1c4dd02e73f85afddf19122c712d3e5ae67dec96562246e6ac9df7a3380a57c2bb0dde21f103622e8d71e02c36d8ba7bc2fd23c8fdab362a059f653
|
||||
DIST wheel-0.48.0.tar.gz.provenance 9663 BLAKE2B 771c3de6b90e92a2b23ce01d5fab6193b7bb7d2b87acb076da5b4146d75b2c386387c7f870f7636f5092b0d367119e06d214d01c50f28ab9634930ea1133a339 SHA512 439336ae79206cc461606415ecbe6757d88c5fc9d5820fd042980fdee1b0c21da67c5a43be275d2128552b7363ff9b218b56d5632aae817e457bfcfe4a6c70e4
|
||||
|
||||
61
dev-python/ensurepip-wheel/ensurepip-wheel-0.48.0.ebuild
Normal file
61
dev-python/ensurepip-wheel/ensurepip-wheel-0.48.0.ebuild
Normal file
@@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit-core
|
||||
PYPI_PN=${PN#ensurepip-}
|
||||
PYPI_VERIFY_REPO=https://github.com/pypa/wheel
|
||||
# PYTHON_COMPAT used only for testing
|
||||
PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t )
|
||||
|
||||
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}]
|
||||
>=dev-python/packaging-26.0[${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}"
|
||||
}
|
||||
Reference in New Issue
Block a user