summaryrefslogtreecommitdiff
path: root/dev-python/virtualenv
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-05-31 22:45:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-05-31 22:45:37 -0500
commit82d2d56d8ab3efa4b84c244edd30175366bb6f81 (patch)
tree00e9d2b76f9d6cd3fcbc9c9363f8fd565d11fe44 /dev-python/virtualenv
parent43306ef27d24d3d58fc4ca27fc6fd841a1893994 (diff)
downloadbaldeagleos-repo-82d2d56d8ab3efa4b84c244edd30175366bb6f81.tar.gz
baldeagleos-repo-82d2d56d8ab3efa4b84c244edd30175366bb6f81.tar.xz
baldeagleos-repo-82d2d56d8ab3efa4b84c244edd30175366bb6f81.zip
Adding metadata
Diffstat (limited to 'dev-python/virtualenv')
-rw-r--r--dev-python/virtualenv/Manifest2
-rw-r--r--dev-python/virtualenv/virtualenv-21.4.2.ebuild136
2 files changed, 138 insertions, 0 deletions
diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest
index a2d1cab8016c..910e13fbdf68 100644
--- a/dev-python/virtualenv/Manifest
+++ b/dev-python/virtualenv/Manifest
@@ -4,3 +4,5 @@ DIST virtualenv-21.3.3.tar.gz 7613784 BLAKE2B b196f2e02c44aca34d53f1e0208bb8b6a1
DIST virtualenv-21.3.3.tar.gz.provenance 9284 BLAKE2B 87ae9b8009c397d949d9fafecafd4690e1bf034edd70287b589ca0a96476087ceba27fffe608a60361a370f80d3b3b9e89cd801a8a41f89441cf24464105b655 SHA512 8c957c4dcaa13886bb03fb52a5a29ad632fa48effbdd7273baf6985c376d760a0b00b5dd0fca6a641baf91b1431b7319beee2916676926ee9c2d57cf49bd778d
DIST virtualenv-21.4.1.tar.gz 7613344 BLAKE2B 5201f4cd0f15c8b2b3a4f4c1b6314c74a6fffe93d34e53668cb3f52c6a5973136dc9e1977ba472331b9186a307840e8178bf5fff19a12dffd46ed3d6cbb1bd4a SHA512 63fbf026545093eb3708e1a107ec70327300d098492dedf0e5da56da8c42ee003b74933f7bca6af5a8b7a9fcee10716e410f1879e7e435d5cd181de768ccc70d
DIST virtualenv-21.4.1.tar.gz.provenance 9418 BLAKE2B a8386626be7b4e0ef19366ce79af229fc1fe61d47e36326bd25dbe8c9d508c25043df0406392fd30a8530d258435273521893a2465f9ce9a9355a3e6ae562eb6 SHA512 d89ac037acac74cd59c08811724e34bec75539ad41d1999876612bd1f41e89f3d9469ae8ee418fcbf47f64f403330bdf31eaf2b4613236d147a4b0934b2127fc
+DIST virtualenv-21.4.2.tar.gz 7613326 BLAKE2B 227f61befd08125224ca35863d547dbb54e0dbe9629f7a777354e77af01117fc240a82c94147347f360a459335938c4105c846a26df88823f55d76bcdce81050 SHA512 5e42f3a751b274284bf3885a964d3e855c0edc24a8a0d676c58645c91f54050202540273023e21d49f0fa25a0a195777296b3cb3e3e76202f2f6328846623897
+DIST virtualenv-21.4.2.tar.gz.provenance 9743 BLAKE2B 9a5ceb18961346943e7cc937d7453dcdca8322b5ae59c2248b06f6a564f9e50e6b67dc30da7b7658a83e3ef5307da3010eebf4585798c47dee742bdbf28c75d2 SHA512 ecfa3182d925867c8fcf83773a3f2246dfd1b8bdd8a48bb92325d32bebe0d0e372dfc6c5608b0f2cf7f6926a230d098e9c7a2e57b4525680116dd42d9042531a
diff --git a/dev-python/virtualenv/virtualenv-21.4.2.ebuild b/dev-python/virtualenv/virtualenv-21.4.2.ebuild
new file mode 100644
index 000000000000..81c5cee9073b
--- /dev/null
+++ b/dev-python/virtualenv/virtualenv-21.4.2.ebuild
@@ -0,0 +1,136 @@
+# 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_{11..14} pypy3_11 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_15 python3_{13..15}t )
+
+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[${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
+}