1 |
commit: 04bffbd589f5be38714bf69ebd8f4511969ae91a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 26 09:54:52 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 26 10:37:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04bffbd5 |
7 |
|
8 |
dev-python/virtualenv: Bump to 20.14.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/virtualenv/Manifest | 1 + |
13 |
dev-python/virtualenv/virtualenv-20.14.0.ebuild | 99 +++++++++++++++++++++++++ |
14 |
2 files changed, 100 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest |
17 |
index 994dde652def..6085d7c7ebf6 100644 |
18 |
--- a/dev-python/virtualenv/Manifest |
19 |
+++ b/dev-python/virtualenv/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST virtualenv-20.13.3.tar.gz 12152717 BLAKE2B 791eff66e02d0e7b563d68136cf9652ca0e7422cde94ddf558053778e7677937f7f3ddd9e2d6d0a5fd56c79d9061474685b39aa8519471cea230f4dc5ea71c83 SHA512 e9e05e6e6aba10bb6c0813484f508aede9fe2a78401272bb12ea68b80e8f4059f4292de51e37c2487efb92d27f6eeda6e108dd12f45623984966d8fe821352c0 |
22 |
DIST virtualenv-20.13.4.tar.gz 12153741 BLAKE2B 050553253f2576917b71eccb94b9a4f370d8c131c61fd84e1d4e6445181c793435ca7ce988ff62cffedb406d357c52337ba5ad921f1837ac29d81896958b58e0 SHA512 d2800ce3830ac154e9c0f03fe96535286a4322b89ef94c01638065ec353ee1dc439f7dbdbd9647836e514e828781c5a48fce3723f80c32bfa9ce96243610a396 |
23 |
+DIST virtualenv-20.14.0.tar.gz 12209889 BLAKE2B d6b89f71009109ec688045b92fa2907baa2a174a8736b66e3635b125d05f9cedf2b0cf26497e47193d3c99d44b94b899205e8b94d20beeeacab0b22b47e3eb41 SHA512 c4f1b40187d847602cb2ccef1be9ecce6acd234d08abf5967219d8cf900e641337ce027018c2cca566409a5ab3dda1f363d7381a0d2f676000c04e10677bfada |
24 |
|
25 |
diff --git a/dev-python/virtualenv/virtualenv-20.14.0.ebuild b/dev-python/virtualenv/virtualenv-20.14.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..049e901dc93d |
28 |
--- /dev/null |
29 |
+++ b/dev-python/virtualenv/virtualenv-20.14.0.ebuild |
30 |
@@ -0,0 +1,99 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Virtual Python Environment builder" |
42 |
+HOMEPAGE=" |
43 |
+ https://virtualenv.pypa.io/en/stable/ |
44 |
+ https://pypi.org/project/virtualenv/ |
45 |
+ https://github.com/pypa/virtualenv/ |
46 |
+" |
47 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
51 |
+SLOT="0" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ >=dev-python/backports-entry_points_selectable-1.0.4[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/distlib-0.3.1[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/filelock-3[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/platformdirs-2[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/setuptools-41[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+# coverage is used somehow magically in virtualenv, maybe it actually |
62 |
+# tests something useful |
63 |
+BDEPEND=" |
64 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
65 |
+ test? ( |
66 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
67 |
+ dev-python/flaky[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/pip-20.0.2[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/pytest-freezegun-0.4.1[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/pytest-mock-2.0.0[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}] |
72 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/packaging-20.0[${PYTHON_USEDEP}] |
74 |
+ ) |
75 |
+" |
76 |
+ |
77 |
+# (unpackaged deps) |
78 |
+#distutils_enable_sphinx docs \ |
79 |
+# dev-python/sphinx-argparse \ |
80 |
+# dev-python/sphinx_rtd_theme \ |
81 |
+# dev-python/towncrier |
82 |
+distutils_enable_tests pytest |
83 |
+ |
84 |
+src_configure() { |
85 |
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
86 |
+} |
87 |
+ |
88 |
+python_test() { |
89 |
+ local EPYTEST_DESELECT=( |
90 |
+ tests/unit/activation/test_xonsh.py |
91 |
+ tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data |
92 |
+ tests/unit/create/test_creator.py::test_cross_major |
93 |
+ ) |
94 |
+ [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( |
95 |
+ 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-isolated]' |
96 |
+ 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-global]' |
97 |
+ 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-isolated]' |
98 |
+ 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-global]' |
99 |
+ 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-isolated]' |
100 |
+ 'tests/unit/create/test_creator.py::test_create_no_seed[root-venv-copies-global]' |
101 |
+ 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-isolated]' |
102 |
+ 'tests/unit/create/test_creator.py::test_create_no_seed[venv-venv-copies-global]' |
103 |
+ 'tests/unit/create/test_creator.py::test_zip_importer_can_import_setuptools' |
104 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9-64-bin-]' |
105 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9--bin-]' |
106 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10-64-bin-]' |
107 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10--bin-]' |
108 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7-64-bin-]' |
109 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7--bin-]' |
110 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3-64-bin-]' |
111 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3--bin-]' |
112 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9-64-bin-]' |
113 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9--bin-]' |
114 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10-64-bin-]' |
115 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10--bin-]' |
116 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7-64-bin-]' |
117 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7--bin-]' |
118 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-]' |
119 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]' |
120 |
+ ) |
121 |
+ |
122 |
+ epytest |
123 |
+} |
124 |
+ |
125 |
+pkg_postinst() { |
126 |
+ elog "Please note that while virtualenv package no longer supports" |
127 |
+ elog "Python 2.7, you can still create py2.7 virtualenvs via:" |
128 |
+ elog " $ virtualenv -p 2.7 ..." |
129 |
+} |