1 |
commit: 5d3130564bb38c017c74033ad84c90d3f78232d7 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 31 08:59:30 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 31 10:58:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d313056 |
7 |
|
8 |
dev-python/virtualenv: Remove old |
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.1.0.ebuild | 93 -------------------------- |
14 |
2 files changed, 94 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest |
17 |
index 82d9a61fd68..ab5fc560cde 100644 |
18 |
--- a/dev-python/virtualenv/Manifest |
19 |
+++ b/dev-python/virtualenv/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST virtualenv-16.7.10.tar.gz 5116776 BLAKE2B 42f0a4b4330850b504f8febd991ef6ecdcbb0821efdd94ca324a8cc34a68a760a8a98de97f0cb2384d8e6cbb0ce8f261995c6433886444e29b75ba0ce09ca12c SHA512 f06d7c354ce1910f04dbcbe1a77e60392653bbe4f638bafbe9284454db2c0e5d63cf9159201d0916fc01aaba91d45fb733b63096c38517fcd83fd00ed8b26d28 |
22 |
-DIST virtualenv-20.1.0.tar.gz 8284462 BLAKE2B 4356c9c49f7bd2dbb6cf8998be5cd3970804bdec5e3c1223439700f4b5597cd843cdb17b722d54f0181094296247d1f2d4c27980679602b94020fdf1e95dd73f SHA512 740bf8ba30d836c240d248dd2fa31a8702cfa8f96a6192dd6430dbeff3ebbf0fe67d4fd2439ed4961869731520b097783a29381eae3f81f6700b6050b75422c8 |
23 |
DIST virtualenv-20.2.1.tar.gz 8286055 BLAKE2B da77c51b352e979f05515107df49101a70f97da01862ae92aff0e185065edf1d6d517ee68057f1f2efe5ee999dd9dec24c0f2967b1f10130b446e83e478ccbd1 SHA512 e7877a9766bc47f47a07219258201ad8457ca587a04d61119a0516da43016dda4b5cfeaf725dd0b06f1f896ac8af0f3d7a2ceed3d3f35ac7a4b6ecc607c84118 |
24 |
|
25 |
diff --git a/dev-python/virtualenv/virtualenv-20.1.0.ebuild b/dev-python/virtualenv/virtualenv-20.1.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index 6a3cdc836d9..00000000000 |
28 |
--- a/dev-python/virtualenv/virtualenv-20.1.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,93 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-PYTHON_COMPAT=( python3_{6..9} pypy3 ) |
37 |
-DISTUTILS_USE_SETUPTOOLS=manual |
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 ppc ppc64 sparc x86" |
51 |
-SLOT="0" |
52 |
-IUSE="test" |
53 |
-RESTRICT="!test? ( test )" |
54 |
- |
55 |
-RDEPEND=" |
56 |
- >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}] |
57 |
- >=dev-python/distlib-0.3.1[${PYTHON_USEDEP}] |
58 |
- >=dev-python/filelock-3[${PYTHON_USEDEP}] |
59 |
- >=dev-python/setuptools-41[${PYTHON_USEDEP}] |
60 |
- >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
61 |
- $(python_gen_cond_dep ' |
62 |
- >=dev-python/importlib_metadata-0.12[${PYTHON_USEDEP}] |
63 |
- ' python3_{6,7} pypy3) |
64 |
- $(python_gen_cond_dep ' |
65 |
- >=dev-python/importlib_resources-1.0[${PYTHON_USEDEP}] |
66 |
- ' python3_6 pypy3)" |
67 |
-# coverage is used somehow magically in virtualenv, maybe it actually |
68 |
-# tests something useful |
69 |
-BDEPEND=" |
70 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
71 |
- test? ( |
72 |
- ${RDEPEND} |
73 |
- $(python_gen_cond_dep ' |
74 |
- dev-python/coverage[${PYTHON_USEDEP}] |
75 |
- dev-python/flaky[${PYTHON_USEDEP}] |
76 |
- >=dev-python/pip-20.0.2[${PYTHON_USEDEP}] |
77 |
- >=dev-python/pytest-5[${PYTHON_USEDEP}] |
78 |
- >=dev-python/pytest-freezegun-0.4.1[${PYTHON_USEDEP}] |
79 |
- >=dev-python/pytest-mock-2.0.0[${PYTHON_USEDEP}] |
80 |
- >=dev-python/pytest-timeout-1.3.4[${PYTHON_USEDEP}] |
81 |
- dev-python/wheel[${PYTHON_USEDEP}] |
82 |
- >=dev-python/packaging-20.0[${PYTHON_USEDEP}] |
83 |
- ' 'python3*') |
84 |
- )" |
85 |
- |
86 |
-distutils_enable_sphinx docs \ |
87 |
- dev-python/sphinx_rtd_theme \ |
88 |
- dev-python/towncrier |
89 |
- |
90 |
-src_prepare() { |
91 |
- # we don't have xonsh |
92 |
- rm tests/unit/activation/test_xonsh.py || die |
93 |
- # require internet |
94 |
- sed -e 's:test_seed_link_via_app_data:_&:' \ |
95 |
- -i tests/unit/seed/embed/test_boostrap_link_via_app_data.py || die |
96 |
- # TODO: investigate |
97 |
- sed -e 's:test_cross_major:_&:' \ |
98 |
- -i tests/unit/create/test_creator.py || die |
99 |
- |
100 |
- distutils-r1_src_prepare |
101 |
-} |
102 |
- |
103 |
-src_configure() { |
104 |
- export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
105 |
-} |
106 |
- |
107 |
-python_test() { |
108 |
- if [[ ${EPYTHON} == pypy3 ]]; then |
109 |
- # TODO: skip with better granularity |
110 |
- ewarn "Skipping broken tests on pypy3" |
111 |
- return |
112 |
- fi |
113 |
- |
114 |
- distutils_install_for_testing |
115 |
- |
116 |
- pytest -vv || die "Tests fail with ${EPYTHON}" |
117 |
-} |
118 |
- |
119 |
-pkg_postinst() { |
120 |
- elog "Please note that while virtualenv package no longer supports" |
121 |
- elog "Python 2.7, you can still create py2.7 virtualenvs via:" |
122 |
- elog " $ virtualenv -p 2.7 ..." |
123 |
-} |