diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
| commit | dda948891d3731927b821ce31f9d9a2d03ba20c5 (patch) | |
| tree | 99cd40be4cbb0606260da212cd81b8ab2db9da9b /dev-python/ensurepip-wheel | |
| parent | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff) | |
| download | baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip | |
Adding metadata
Diffstat (limited to 'dev-python/ensurepip-wheel')
| -rw-r--r-- | dev-python/ensurepip-wheel/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/ensurepip-wheel/ensurepip-wheel-0.47.0.ebuild | 61 | ||||
| -rw-r--r-- | dev-python/ensurepip-wheel/metadata.xml | 10 |
3 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/ensurepip-wheel/Manifest b/dev-python/ensurepip-wheel/Manifest new file mode 100644 index 000000000000..ae21fbc384f3 --- /dev/null +++ b/dev-python/ensurepip-wheel/Manifest @@ -0,0 +1,2 @@ +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 diff --git a/dev-python/ensurepip-wheel/ensurepip-wheel-0.47.0.ebuild b/dev-python/ensurepip-wheel/ensurepip-wheel-0.47.0.ebuild new file mode 100644 index 000000000000..d9174dbf9ed5 --- /dev/null +++ b/dev-python/ensurepip-wheel/ensurepip-wheel-0.47.0.ebuild @@ -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 +PYPI_PN=${PN#ensurepip-} +PYPI_VERIFY_REPO=https://github.com/pypa/wheel +# PYTHON_COMPAT used only for testing +PYTHON_COMPAT=( python3_{13..14} ) + +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}" +} diff --git a/dev-python/ensurepip-wheel/metadata.xml b/dev-python/ensurepip-wheel/metadata.xml new file mode 100644 index 000000000000..5e95859f915a --- /dev/null +++ b/dev-python/ensurepip-wheel/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
