diff options
| author | Crucible <crucible@localhost> | 2026-09-30 03:05:07 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-09-30 03:05:07 -0500 |
| commit | 9c4e6e8fed8999df35813182c3b9577d541394e0 (patch) | |
| tree | 2466b7bb1ca606d88c3191c59d1b1c0a3b87e398 /dev-python/virtualenv | |
| parent | c5a9b07f13fb47e9869f0433ea92068acfe47038 (diff) | |
| download | srcux-9c4e6e8fed8999df35813182c3b9577d541394e0.tar.gz srcux-9c4e6e8fed8999df35813182c3b9577d541394e0.tar.xz srcux-9c4e6e8fed8999df35813182c3b9577d541394e0.zip | |
Publish srcux candidate 0000000524-20260930-030309
Diffstat (limited to 'dev-python/virtualenv')
| -rw-r--r-- | dev-python/virtualenv/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/virtualenv/virtualenv-21.14.1.ebuild | 126 |
2 files changed, 128 insertions, 0 deletions
diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest index 11bbfdf49e96..41adc0ffdc69 100644 --- a/dev-python/virtualenv/Manifest +++ b/dev-python/virtualenv/Manifest @@ -2,6 +2,8 @@ DIST virtualenv-21.12.1.tar.gz 5397187 BLAKE2B 6dbc076c16a3867e29279802b92f190ab DIST virtualenv-21.12.1.tar.gz.provenance 9479 BLAKE2B 4fdf7e94ed141df1c8fddaa6126e60875bf2bcafaf85767a7cfdde31ee12147f8b4bd8bb8cd4341ef8f68f16da391b6d065cd86608be7e2243d8aa6c508f2273 SHA512 3fa4c9c1bd135bd0a631d9c35c28ac28c2e82ebf196e239d41db29e2ce04284cb11a71ddd2c44d82aa2ef0abec21a241325dc2a1181bcb514c8669e2fedaf023 DIST virtualenv-21.13.0.tar.gz 5399552 BLAKE2B 458c552f370a0685cbe3cb5337944be16f36cb46e770c8ed7bc042fc437141baed64596f724a9f11344a7b5ee6fe311a52342a10ba7093dcab29c61ee2f57b8b SHA512 ea66e5a5f43f9a5ab0e950cbacc26d441e67811cd0402d30306801ffb18a5bc44528ccf645e2452925fe89458f05d094204962b9556fda0475cdcf4d5d376fa8 DIST virtualenv-21.13.0.tar.gz.provenance 9722 BLAKE2B 65b18975cd0b010b94a12cb97d4940ccc4b3e402a61fb9efa59c325da0c6464e0683e45df5a309b05129fcaa07f7379ad266cf6867081b49011eddb9ebef2d5b SHA512 fe54ae02d74a5e647f763817792df6487485a3dca2cbac2e51772a50d871e3a1f9706a0d44bb9e48534395690b7f6bcb45196fb5e006feb0b43d63c8531e298e +DIST virtualenv-21.14.1.tar.gz 5462838 BLAKE2B f2b871a9a49ed63908041eefaa8ca60082ae98029e6b58b0bf1ab806bbd910515184bf6bd1c304a69e4680db3850a21659d18f43a6d7b73d1348f64416df9cd3 SHA512 3a4ea0b03bf5bfa8f47ea217e6e316b378daad90a97496f39eae970a80f23c5cec2c3f49198da70ec8b8b75855bcfee584b9a52185a2e9da55d37d3749cfbcd0 +DIST virtualenv-21.14.1.tar.gz.provenance 9487 BLAKE2B 1d4ad31cd32693e47fac8cc5641c11e811034df7957779ab5051099125d9244b3017a9fde1fdd89307426ee61738100e1917cc4169cf1d1c4bfdc9613a3136c9 SHA512 68cf4f7187ffaac9e412c628076febb96f12a78ebf8dfb52af1c908aeb4eccbab8660fda6f03aaa44876491ffa1814e6dbc4bde7d279b96c370792a982c49dd4 DIST virtualenv-21.7.16.tar.gz 5363081 BLAKE2B 80a957de88379940d7faf6173d27aba49f24d2c35d162ae666b00e4822e9bbb14dcaa95c7d2515a967ba03a1f6437c1d388fd78fae3e4ded5d596d5ac8802291 SHA512 eacdb1e4216dd00b1948c78bb3facd42e8aeb5566efa6ca85660c2b926bf7e92fc240547b05b2ee795f547edf0aff6bf5e7df4d6f1ef8c7f489af5c0cde20169 DIST virtualenv-21.7.16.tar.gz.provenance 9667 BLAKE2B 9c9fd750ee8403a59dc5c6eb5bf6932ac13ac4e6f2a0c2572292143886d07294bf99cab554f127b20a36f38e76e279100a1f3cf6047e1767750d551ace8cb5cc SHA512 c1a15d2fda5a94460bda461594e2b41fe83da57b1a17afdb0786f270bbd7af40445f92f7cafc494961eeed7e97c9747f7d105ae0453259a174704441dfc5b597 DIST virtualenv-21.7.7.tar.gz 5347022 BLAKE2B fbd9fbbb3e48ef719ddf097eca32557ba4ae980d0a752c0d0e900a086b144ef0a52d87ee75ca902dc24bdad973c0588a148573dcdc982fdf460f1e8ffb71cb7c SHA512 b577552968f9e3fe72af4a5771fbcacbd5efb8808d0b7a23e709a90bb4d9df9cf51bc74a5dff0c978e4da9a9977d22300b6a75c7a57396c4fed09a5946e0e03d diff --git a/dev-python/virtualenv/virtualenv-21.14.1.ebuild b/dev-python/virtualenv/virtualenv-21.14.1.ebuild new file mode 100644 index 000000000000..e4353ab1e703 --- /dev/null +++ b/dev-python/virtualenv/virtualenv-21.14.1.ebuild @@ -0,0 +1,126 @@ +# 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/packaging-23.1[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}] + >=dev-python/python-discovery-1.6[${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/hatchling-1.27[${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/time-machine[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + >=dev-python/packaging-20.0[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +src_prepare() { + local PATCHES=( + # use wheels from ensurepip bundle + "${FILESDIR}/${PN}-21.5.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 + tests/unit/seed/wheels/test_wheels_util.py::test_embed_wheel_below_oldest_supported_is_missing + # 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 + # requires bundled packages in pip + tests/unit/test_sbom.py::test_sbom_spdx_declared_license + # require pre-commit = internet + tests/unit/test_wheel_age.py::test_generator_converges + tests/unit/test_wheel_age.py::test_generator_updates_license + # TODO + tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest + ) + + local -x TZ=UTC + local EPYTEST_PLUGINS=( pytest-{mock,rerunfailures} time-machine ) + 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 +} |
