diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-05 03:04:45 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-05 03:04:45 -0500 |
| commit | 7d0655e0f85be0eec06807898321a634968f9336 (patch) | |
| tree | 92e9bb71bf8517948f78ab1d52a1b06717367c62 /dev-python/virtualenv | |
| parent | d5f9077fde66bffd2bc6d193ae7c967e352a5562 (diff) | |
| download | baldeagleos-repo-7d0655e0f85be0eec06807898321a634968f9336.tar.gz baldeagleos-repo-7d0655e0f85be0eec06807898321a634968f9336.tar.xz baldeagleos-repo-7d0655e0f85be0eec06807898321a634968f9336.zip | |
Adding metadata
Diffstat (limited to 'dev-python/virtualenv')
| -rw-r--r-- | dev-python/virtualenv/Manifest | 4 | ||||
| -rw-r--r-- | dev-python/virtualenv/files/virtualenv-20.31.1-ensurepip.patch | 34 | ||||
| -rw-r--r-- | dev-python/virtualenv/virtualenv-20.39.1.ebuild | 133 | ||||
| -rw-r--r-- | dev-python/virtualenv/virtualenv-21.3.3.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/virtualenv/virtualenv-21.5.0.ebuild | 136 | ||||
| -rw-r--r-- | dev-python/virtualenv/virtualenv-21.5.1.ebuild | 2 |
6 files changed, 2 insertions, 309 deletions
diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index ec913100c48d..f9bd8032271c 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -1,10 +1,6 @@ -DIST virtualenv-20.39.1.tar.gz 5870061 BLAKE2B 30fb2c107616c080935ede0ea2e72e5b70bc184d46d7eb26e08f612f8cc6be26dde2a8c53c8d415b586904749e5dd4bfc5f82ff6c186cdc51815a480e1dbbe80 SHA512 8d8fb281cd55bf60065b4d57e37963a90bf116e46e67eb3688177f40d975da93a558e1ad67b6d7ee8ecfd1a005cd3d4dccc4c50c72569fad221634136a61e23d -DIST virtualenv-20.39.1.tar.gz.provenance 9445 BLAKE2B 39909e09db2ab5b8fdd9a192943e3e8279a16efd2c55a88dca6c2f76bb86b78d569d6e9a8a6ef8415a6805d42a0967f0862609eb9a59a5ef7bf35dbfb3a55a51 SHA512 6c7f752fc702cfb00005215186fc6062a30f319d5d22457abc7a98ee9fbc8e7e466aa6b0af319ff3a98dde013e98759f16100003012c00e644ae91982ceaf157 DIST virtualenv-21.3.3.tar.gz 7613784 BLAKE2B b196f2e02c44aca34d53f1e0208bb8b6a10523dc6f59cb4a7dca0b6141c807dd807f61e05832ec5efc027af3d8823cbb5c3e09a9c2ea834fec694571f863b140 SHA512 f3e7c71f2fafa0bff05aba89bc0cb2e2eede0c6ed5373fb253a6ac59f103505108671e5c19866562146723ea9630fc472dade53498c4fb97d6ec5c8e1c125d19 DIST virtualenv-21.3.3.tar.gz.provenance 9284 BLAKE2B 87ae9b8009c397d949d9fafecafd4690e1bf034edd70287b589ca0a96476087ceba27fffe608a60361a370f80d3b3b9e89cd801a8a41f89441cf24464105b655 SHA512 8c957c4dcaa13886bb03fb52a5a29ad632fa48effbdd7273baf6985c376d760a0b00b5dd0fca6a641baf91b1431b7319beee2916676926ee9c2d57cf49bd778d DIST virtualenv-21.4.3.tar.gz 7644454 BLAKE2B ef289a57f1cad1c42aa0bb38624a0abd37323538ca6b60397b12b0cdb2a60fb2b02fa02c0b72681bb062573a2c245b8b67538d32ab5b2cb0ae0082a1458ca61f SHA512 4ed4d90ab17871c4738102a3186593669b2fcf2c5f512949e995251636bcc58fb6b50f74db13dff40fdf4cb3d9e73acd8bf9db429960b28e5c9ab5d2ac684e3c DIST virtualenv-21.4.3.tar.gz.provenance 9500 BLAKE2B d5adf2b90488d9d0728101d7ecebb593350d07d0f1b08f0acd67847f22b99a7b1b8d1fd082fe739bc927fd79c75cda1f55cf39b2b8467fa8ddaa6178505d1909 SHA512 6c5dfc394d1c95c161c30235994b2066127653678430e69b769dc50ed2a007b6703379eb8c495d1395b953ec67d797ad1e4433121cdfd6fc722367937ac5178a -DIST virtualenv-21.5.0.tar.gz 4577424 BLAKE2B 16f683b0c124478cd6dbd2eb4b4ad89c283c0669fe96062c199ae3e230e3009f5cd18066f4e98eeec3f6fab5f7bc04fbb5f1ecdafe2599d2bce13218fd8a5b2e SHA512 214d487e71fa30814982ea79979d37fd76f9dd175d47bbaa8704b917e917d348ad6a5352faf9a1fbd66cec40a51a7beb5b7a8d5f2adfba45f98de52c570b30fe -DIST virtualenv-21.5.0.tar.gz.provenance 9555 BLAKE2B e9e6410cc70900f98d039924e0fe95e1e8ff483f0b4e9072ead40f3ebfb80ee9b10c043d12f47cccada8037901a4e38f6cccfa979fd8fd08d36612a40d6f9950 SHA512 683baa83889889292ebeb5646662c91598bfdef6653a04ee07cd3e8dbb7ebd1647cb8a41544ae52ea4860a04a16eba0ab230bee49d4b67c4319be0e335abd796 DIST virtualenv-21.5.1.tar.gz 4578798 BLAKE2B 495289992d27ca98114ad713e680c7db257ef887dae500cf2b432486984b3c9a84d2108a39318f2d95a840fb3d000aaa894a189a8345a0023024d9c4f3b17568 SHA512 c7d49b496ede5ffcd6bf10ba8bcf47acae3c98470c5bb1e41c2a074c9f128ee0a6d83f89a0e088c4ca1e237e27e6d73affe0adbaa884f5afd526ac6881d2dbb8 DIST virtualenv-21.5.1.tar.gz.provenance 9602 BLAKE2B 1e436f34c3b5a85ef334727eed745f3ca76bdfb5f6e8d7a484d602c177f4b680e8200a7ffa4fd2d6c4b43ec53a3829dd4c6c2b90db0487d752fec175aec456fc SHA512 37b56c52097132ba42d78c606c13b1e2d2a470662e4de29ae32f923db735b538b13f7f7365e220da8b97f788ba496e53705b6af20060826fc0168d323608ae91 diff --git a/dev-python/virtualenv/files/virtualenv-20.31.1-ensurepip.patch b/dev-python/virtualenv/files/virtualenv-20.31.1-ensurepip.patch deleted file mode 100644 index 54a989fecb9d..000000000000 --- a/dev-python/virtualenv/files/virtualenv-20.31.1-ensurepip.patch +++ /dev/null @@ -1,34 +0,0 @@ -From ab30a98f4bb53b7aad6fd130cf723271e2b7f638 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sat, 22 Jun 2024 14:28:23 +0200 -Subject: [PATCH] Use ensurepip wheels instead of local bundle - ---- - src/virtualenv/seed/wheels/embed/__init__.py | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/src/virtualenv/seed/wheels/embed/__init__.py b/src/virtualenv/seed/wheels/embed/__init__.py -index 6b3ef263..37c114f8 100644 ---- a/src/virtualenv/seed/wheels/embed/__init__.py -+++ b/src/virtualenv/seed/wheels/embed/__init__.py -@@ -1,5 +1,6 @@ - from __future__ import annotations - -+import sysconfig - from pathlib import Path - - from virtualenv.seed.wheels.util import Wheel -@@ -40,6 +41,13 @@ MAX = "3.8" - - - def get_embed_wheel(distribution, for_py_version): -+ # Gentoo hack: get wheel from ensurepip directory -+ bundle_dir = Path(sysconfig.get_config_var("WHEEL_PKG_DIR")) -+ try: -+ return Wheel.from_path(next(bundle_dir.glob(f"{distribution}-*.whl"))) -+ except StopIteration: -+ return None -+ - mapping = BUNDLE_SUPPORT.get(for_py_version, {}) or BUNDLE_SUPPORT[MAX] - wheel_file = mapping.get(distribution) - if wheel_file is None: diff --git a/dev-python/virtualenv/virtualenv-20.39.1.ebuild b/dev-python/virtualenv/virtualenv-20.39.1.ebuild deleted file mode 100644 index 952db93a229d..000000000000 --- a/dev-python/virtualenv/virtualenv-20.39.1.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_VERIFY_REPO=https://github.com/pypa/virtualenv -PYTHON_TESTED=( python3_{13..14} ) -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Virtual Python Environment builder" -HOMEPAGE=" - https://virtualenv.pypa.io/en/stable/ - https://pypi.org/project/virtualenv/ - https://github.com/pypa/virtualenv/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] - >=dev-python/filelock-3.24.2[${PYTHON_USEDEP}] - >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] - - dev-python/ensurepip-pip - >=dev-python/ensurepip-setuptools-70.1 - dev-python/ensurepip-wheel -" -# coverage is used somehow magically in virtualenv, maybe it actually -# tests something useful -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - dev-python/coverage[${PYTHON_USEDEP}] - >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' python3_{11..14}) - $(python_gen_cond_dep ' - >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] - ' 'pypy3*') - ) -" - -src_prepare() { - local PATCHES=( - # use wheels from ensurepip bundle - "${FILESDIR}/${PN}-20.31.1-ensurepip.patch" - ) - - distutils-r1_src_prepare - - # workaround test failures due to warnings from setuptools-scm, sigh - echo '[tool.setuptools_scm]' >> pyproject.toml || die - - # remove useless pins - sed -i -e 's:,<[=0-9.]*::' pyproject.toml || die - - # remove bundled wheels - rm src/virtualenv/seed/wheels/embed/*.whl || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping testing on ${EPYTHON}" - return - fi - - local EPYTEST_DESELECT=( - tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data - # tests for old wheels with py3.7 support - tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke - tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support - # broken by different wheel versions in ensurepip - tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string - tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact - tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none - tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output - # hangs on a busy system, sigh - tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe - # TODO - tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions - # random resource leaks or xdist - tests/unit/test_file_limit.py::test_too_many_open_files - # Internet - tests/unit/create/test_creator.py::test_create_distutils_cfg - ) - case ${EPYTHON} in - pypy3.11) - EPYTEST_DESELECT+=( - # these don't like the executable called pypy3.11? - tests/unit/activation/test_bash.py::test_bash - tests/unit/activation/test_fish.py::test_fish - tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable - ) - ;; - esac - - local -x TZ=UTC - local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} ) - if [[ ${EPYTHON} == pypy3* ]]; then - EPYTEST_PLUGINS+=( pytest-freezer ) - else - EPYTEST_PLUGINS+=( time-machine ) - fi - local EPYTEST_RERUNS=5 - local EPYTEST_TIMEOUT=180 - local EPYTEST_XDIST=1 - epytest -o addopts= -} - -src_install() { - distutils-r1_src_install - - # remove bundled wheels, we're using ensurepip bundle instead - find "${ED}" -name '*.whl' -delete || die -} diff --git a/dev-python/virtualenv/virtualenv-21.3.3.ebuild b/dev-python/virtualenv/virtualenv-21.3.3.ebuild index fa6305a0d919..5e679c2a7d14 100644 --- a/dev-python/virtualenv/virtualenv-21.3.3.ebuild +++ b/dev-python/virtualenv/virtualenv-21.3.3.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ppc ppc64 ~riscv ~s390 x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-python/virtualenv/virtualenv-21.5.0.ebuild b/dev-python/virtualenv/virtualenv-21.5.0.ebuild deleted file mode 100644 index 41eb5014a19f..000000000000 --- a/dev-python/virtualenv/virtualenv-21.5.0.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYPI_VERIFY_REPO=https://github.com/pypa/virtualenv -PYTHON_TESTED=( python3_{13..14} ) -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Virtual Python Environment builder" -HOMEPAGE=" - https://virtualenv.pypa.io/en/stable/ - https://pypi.org/project/virtualenv/ - https://github.com/pypa/virtualenv/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/distlib-0.3.7[${PYTHON_USEDEP}] - >=dev-python/filelock-3.24.2[${PYTHON_USEDEP}] - >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] - >=dev-python/python-discovery-1.4.2[${PYTHON_USEDEP}] - - dev-python/ensurepip-pip - >=dev-python/ensurepip-setuptools-70.1 - dev-python/ensurepip-wheel -" -# coverage is used somehow magically in virtualenv, maybe it actually -# tests something useful -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - dev-python/coverage[${PYTHON_USEDEP}] - >=dev-python/pip-22.2.1[${PYTHON_USEDEP}] - >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/setuptools-67.8[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - >=dev-python/packaging-20.0[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - $(python_gen_cond_dep ' - dev-python/time-machine[${PYTHON_USEDEP}] - ' python3_{11..14}) - $(python_gen_cond_dep ' - >=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}] - ' 'pypy3*') - ) -" - -src_prepare() { - local PATCHES=( - # use wheels from ensurepip bundle - "${FILESDIR}/${PN}-21.2.4-ensurepip.patch" - ) - - distutils-r1_src_prepare - - # workaround test failures due to warnings from setuptools-scm, sigh - echo '[tool.setuptools_scm]' >> pyproject.toml || die - - # remove useless pins - sed -i -e 's:,<[=0-9.]*::' pyproject.toml || die - - # remove bundled wheels - rm src/virtualenv/seed/wheels/embed/*.whl || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping testing on ${EPYTHON}" - return - fi - - local EPYTEST_DESELECT=( - tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data - # tests for old wheels with py3.7 support - tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke - tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support - # broken by different wheel versions in ensurepip - tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string - tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact - tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none - tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output - # hangs on a busy system, sigh - tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe - # TODO - tests/unit/create/via_global_ref/test_build_c_ext.py::test_can_build_c_extensions - # random resource leaks or xdist - tests/unit/test_file_limit.py::test_too_many_open_files - # Internet - tests/unit/create/test_creator.py::test_create_distutils_cfg - # we do not use bundled wheels - tests/unit/seed/wheels/test_bundle.py::test_every_wheel_on_disk_has_sha256 - ) - case ${EPYTHON} in - pypy3.11) - EPYTEST_DESELECT+=( - # these don't like the executable called pypy3.11? - tests/unit/activation/test_bash.py::test_bash - tests/unit/activation/test_fish.py::test_fish - tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable - ) - ;; - esac - - local -x TZ=UTC - local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} ) - if [[ ${EPYTHON} == pypy3* ]]; then - EPYTEST_PLUGINS+=( pytest-freezer ) - else - EPYTEST_PLUGINS+=( time-machine ) - fi - local EPYTEST_RERUNS=5 - local EPYTEST_TIMEOUT=180 - local EPYTEST_XDIST=1 - epytest -o addopts= -} - -src_install() { - distutils-r1_src_install - - # remove bundled wheels, we're using ensurepip bundle instead - find "${ED}" -name '*.whl' -delete || die -} diff --git a/dev-python/virtualenv/virtualenv-21.5.1.ebuild b/dev-python/virtualenv/virtualenv-21.5.1.ebuild index 96575f686dd3..0abb2e161fb7 100644 --- a/dev-python/virtualenv/virtualenv-21.5.1.ebuild +++ b/dev-python/virtualenv/virtualenv-21.5.1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE="test" RESTRICT="!test? ( test )" |
