1 |
commit: 6fed59f3bb542addaa06c5331be6cb28d547a455 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 16 07:02:29 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 16 07:10:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fed59f3 |
7 |
|
8 |
dev-python/virtualenv: Bump to 20.6.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.6.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 25331c19f09..72e15fcdbb7 100644 |
18 |
--- a/dev-python/virtualenv/Manifest |
19 |
+++ b/dev-python/virtualenv/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST virtualenv-20.4.7.tar.gz 10625204 BLAKE2B 1233ea45f771fb425b99c966904e2c5444e5fcb617b1d7cd34cdac097ee15566b7f4c841d444393723ed369193f33bef90ea7caa5b3c20aaf65fbde2f865abf7 SHA512 a554fb32cc46cb1cef2a2655bdae598efb52a4e71223eb10d9a36b124390546250aa11cf7da991a41ef4697523ec4562a31e35b5ab7ee8aba748ea4ff28e088b |
22 |
+DIST virtualenv-20.6.0.tar.gz 8700762 BLAKE2B 718bbfda175ab4ef0820ba66b480060c0371c54a3e6c622c816d8c30141951c85b4f461fa03f71912a767b8d6a40733ab253062466e38a4a2e18b3169812e6a1 SHA512 7eff570f407a4986336d5a34bdcab1621d953aa6900d41962a85a5a44d7b68d378cda4a1bc1ddbfbc468580e051a98c37be17b0a52babbb00166718a987a591c |
23 |
|
24 |
diff --git a/dev-python/virtualenv/virtualenv-20.6.0.ebuild b/dev-python/virtualenv/virtualenv-20.6.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..15279072aa1 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/virtualenv/virtualenv-20.6.0.ebuild |
29 |
@@ -0,0 +1,99 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
36 |
+DISTUTILS_USE_SETUPTOOLS=manual |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Virtual Python Environment builder" |
41 |
+HOMEPAGE=" |
42 |
+ https://virtualenv.pypa.io/en/stable/ |
43 |
+ https://pypi.org/project/virtualenv/ |
44 |
+ https://github.com/pypa/virtualenv/ |
45 |
+" |
46 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+SLOT="0" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=dev-python/backports-entry_points_selectable-1.0.4[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/distlib-0.3.1[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/filelock-3[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/platformdirs-2[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/setuptools-41[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
59 |
+ $(python_gen_cond_dep ' |
60 |
+ >=dev-python/importlib_metadata-0.12[${PYTHON_USEDEP}] |
61 |
+ ' python3_7 pypy3)" |
62 |
+# coverage is used somehow magically in virtualenv, maybe it actually |
63 |
+# tests something useful |
64 |
+BDEPEND=" |
65 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
66 |
+ test? ( |
67 |
+ $(python_gen_cond_dep ' |
68 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
69 |
+ dev-python/flaky[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/pip-20.0.2[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/pytest-freezegun-0.4.1[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/pytest-mock-2.0.0[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}] |
74 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/packaging-20.0[${PYTHON_USEDEP}] |
76 |
+ ' 'python3*') |
77 |
+ )" |
78 |
+ |
79 |
+# (unpackaged deps) |
80 |
+#distutils_enable_sphinx docs \ |
81 |
+# dev-python/sphinx-argparse \ |
82 |
+# dev-python/sphinx_rtd_theme \ |
83 |
+# dev-python/towncrier |
84 |
+distutils_enable_tests pytest |
85 |
+ |
86 |
+src_configure() { |
87 |
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
88 |
+} |
89 |
+ |
90 |
+python_test() { |
91 |
+ local deselect=( |
92 |
+ tests/unit/activation/test_xonsh.py |
93 |
+ tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data |
94 |
+ tests/unit/create/test_creator.py::test_cross_major |
95 |
+ ) |
96 |
+ [[ ${EPYTHON} == pypy3 ]] && deselect+=( |
97 |
+ 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-isolated]' |
98 |
+ 'tests/unit/create/test_creator.py::test_create_no_seed[root-pypy3-posix-copies-global]' |
99 |
+ 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-isolated]' |
100 |
+ 'tests/unit/create/test_creator.py::test_create_no_seed[venv-pypy3-posix-copies-global]' |
101 |
+ 'tests/unit/create/test_creator.py::test_zip_importer_can_import_setuptools' |
102 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9-64-bin-]' |
103 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.9--bin-]' |
104 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10-64-bin-]' |
105 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7.10--bin-]' |
106 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7-64-bin-]' |
107 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3.7--bin-]' |
108 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3-64-bin-]' |
109 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[PyPy-3--bin-]' |
110 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9-64-bin-]' |
111 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.9--bin-]' |
112 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10-64-bin-]' |
113 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7.10--bin-]' |
114 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7-64-bin-]' |
115 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3.7--bin-]' |
116 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3-64-bin-]' |
117 |
+ 'tests/unit/discovery/py_info/test_py_info_exe_based_of.py::test_discover_ok[python-3--bin-]' |
118 |
+ ) |
119 |
+ |
120 |
+ distutils_install_for_testing |
121 |
+ epytest ${deselect[@]/#/--deselect } |
122 |
+} |
123 |
+ |
124 |
+pkg_postinst() { |
125 |
+ elog "Please note that while virtualenv package no longer supports" |
126 |
+ elog "Python 2.7, you can still create py2.7 virtualenvs via:" |
127 |
+ elog " $ virtualenv -p 2.7 ..." |
128 |
+} |