commit:     04bffbd589f5be38714bf69ebd8f4511969ae91a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 09:54:52 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 10:37:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04bffbd5

dev-python/virtualenv: Bump to 20.14.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/virtualenv/Manifest                  |  1 +
 dev-python/virtualenv/virtualenv-20.14.0.ebuild | 99 +++++++++++++++++++++++++
 2 files changed, 100 insertions(+)

diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest
index 994dde652def..6085d7c7ebf6 100644
--- a/dev-python/virtualenv/Manifest
+++ b/dev-python/virtualenv/Manifest
@@ -1,2 +1,3 @@
 DIST virtualenv-20.13.3.tar.gz 12152717 BLAKE2B 
791eff66e02d0e7b563d68136cf9652ca0e7422cde94ddf558053778e7677937f7f3ddd9e2d6d0a5fd56c79d9061474685b39aa8519471cea230f4dc5ea71c83
 SHA512 
e9e05e6e6aba10bb6c0813484f508aede9fe2a78401272bb12ea68b80e8f4059f4292de51e37c2487efb92d27f6eeda6e108dd12f45623984966d8fe821352c0
 DIST virtualenv-20.13.4.tar.gz 12153741 BLAKE2B 
050553253f2576917b71eccb94b9a4f370d8c131c61fd84e1d4e6445181c793435ca7ce988ff62cffedb406d357c52337ba5ad921f1837ac29d81896958b58e0
 SHA512 
d2800ce3830ac154e9c0f03fe96535286a4322b89ef94c01638065ec353ee1dc439f7dbdbd9647836e514e828781c5a48fce3723f80c32bfa9ce96243610a396
+DIST virtualenv-20.14.0.tar.gz 12209889 BLAKE2B 
d6b89f71009109ec688045b92fa2907baa2a174a8736b66e3635b125d05f9cedf2b0cf26497e47193d3c99d44b94b899205e8b94d20beeeacab0b22b47e3eb41
 SHA512 
c4f1b40187d847602cb2ccef1be9ecce6acd234d08abf5967219d8cf900e641337ce027018c2cca566409a5ab3dda1f363d7381a0d2f676000c04e10677bfada

diff --git a/dev-python/virtualenv/virtualenv-20.14.0.ebuild 
b/dev-python/virtualenv/virtualenv-20.14.0.ebuild
new file mode 100644
index 000000000000..049e901dc93d
--- /dev/null
+++ b/dev-python/virtualenv/virtualenv-20.14.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Virtual Python Environment builder"
+HOMEPAGE="
+       https://virtualenv.pypa.io/en/stable/
+       https://pypi.org/project/virtualenv/
+       https://github.com/pypa/virtualenv/
+"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+SLOT="0"
+
+RDEPEND="
+       >=dev-python/backports-entry_points_selectable-1.0.4[${PYTHON_USEDEP}]
+       >=dev-python/distlib-0.3.1[${PYTHON_USEDEP}]
+       >=dev-python/filelock-3[${PYTHON_USEDEP}]
+       >=dev-python/platformdirs-2[${PYTHON_USEDEP}]
+       >=dev-python/setuptools-41[${PYTHON_USEDEP}]
+       >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+"
+# coverage is used somehow magically in virtualenv, maybe it actually
+# tests something useful
+BDEPEND="
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+       test? (
+               dev-python/coverage[${PYTHON_USEDEP}]
+               dev-python/flaky[${PYTHON_USEDEP}]
+               >=dev-python/pip-20.0.2[${PYTHON_USEDEP}]
+               >=dev-python/pytest-freezegun-0.4.1[${PYTHON_USEDEP}]
+               >=dev-python/pytest-mock-2.0.0[${PYTHON_USEDEP}]
+               >=dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}]
+               dev-python/wheel[${PYTHON_USEDEP}]
+               >=dev-python/packaging-20.0[${PYTHON_USEDEP}]
+       )
+"
+
+# (unpackaged deps)
+#distutils_enable_sphinx docs \
+#      dev-python/sphinx-argparse \
+#      dev-python/sphinx_rtd_theme \
+#      dev-python/towncrier
+distutils_enable_tests pytest
+
+src_configure() {
+       export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+}
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               tests/unit/activation/test_xonsh.py
+               
tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data
+               tests/unit/create/test_creator.py::test_cross_major
+       )
+       [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
+               
'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-isolated]'
+               
'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-global]'
+               
'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-isolated]'
+               
'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-global]'
+               
'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-isolated]'
+               
'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-global]'
+               
'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-isolated]'
+               
'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-global]'
+               
'tests/unit/create/test_creator.py::test_zip_importer_can_import_setuptools'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9-64-bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9--bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10-64-bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10--bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7-64-bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7--bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3-64-bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3--bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9-64-bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9--bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10-64-bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10--bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7-64-bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7--bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-]'
+               
'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]'
+       )
+
+       epytest
+}
+
+pkg_postinst() {
+       elog "Please note that while virtualenv package no longer supports"
+       elog "Python 2.7, you can still create py2.7 virtualenvs via:"
+       elog "  $ virtualenv -p 2.7 ..."
+}

Reply via email to