1 |
commit: 79922b8471de812930bc15d8a1619eb7eb751c25 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 11 16:24:42 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 11 16:27:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79922b84 |
7 |
|
8 |
dev-python/pytest: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest/Manifest | 1 - |
13 |
dev-python/pytest/pytest-4.6.11-r1.ebuild | 84 ------------------------------- |
14 |
2 files changed, 85 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest |
17 |
index 37f3f97d841..2c7f84ba17c 100644 |
18 |
--- a/dev-python/pytest/Manifest |
19 |
+++ b/dev-python/pytest/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
-DIST pytest-4.6.11.tar.gz 952305 BLAKE2B af07adf5e8fc614b1fdb7b5673fb9c557ff0dd3f22e2f3bf853c643c5c8bd38f307018579299b700d90034a826db73a3e569857d6d6f7ac6646ace894b35a39b SHA512 6fddf4944bd9fab83024aa2d338d54aaf3d164bd5c7f634357376f3b0d2dab6a43d784e7fb567236c2d2f029151c5d9e2cb36c22e9b551c2c8823c52a2246e9c |
22 |
DIST pytest-5.4.3.tar.gz 1022353 BLAKE2B 70d4f23cbbfc4c4ce63c512ee0a01556973761a6d3ebb71a6d9ed4fb4a4a21531e1b151ed0e4c5e56e5dd3243a1a272441f17c4c2c4e3b0b19c24654b74e8e52 SHA512 0a07d4f4f791969c6f21961a0ba0f8c6670e5870c6cc1cebf93766587bb9cb3e10db8e57f0bd33dd22b275f3aad7aa674949f124ac80e0ccca64e35be4beee4e |
23 |
DIST pytest-6.1.2.tar.gz 1084943 BLAKE2B cbdf29c54118b5daf699f11fb674d37d5972a163a7a53f42f6ddf9224e2d8d9e84b9a88106d5a77e70f470ccbffb15c2cf9a939be69bc0a2cab1fc4c76054562 SHA512 6335e994c5273881c8d1c334fe6bfa9cd0a3e5c251f3d6a9332f7f7c1427e6560ff48d8f235b307ea5eb53491072daf30c41f566bb67b304354fd88d286c61b1 |
24 |
DIST pytest-6.2.4.tar.gz 1118084 BLAKE2B 611db50e7432dfb6f8d212621a3803871fd8f6c05ec3cdefeb3958d0886f754326fc358a9a67bdb3f516388aab901b169c951471bf304adfb78fe457dc59d6c5 SHA512 43adc9a78e16a05f07e689e4557b63f2e0f4de5a1cdea6f24272b6a658a6b0a18721713cf46b5102cf2726ddbc4ffe131c39e652bd2511d285f40cbfcccc2289 |
25 |
|
26 |
diff --git a/dev-python/pytest/pytest-4.6.11-r1.ebuild b/dev-python/pytest/pytest-4.6.11-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index f600dacc8d6..00000000000 |
29 |
--- a/dev-python/pytest/pytest-4.6.11-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,84 +0,0 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-DESCRIPTION="Simple powerful testing with Python" |
43 |
-HOMEPAGE="https://pytest.org/" |
44 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="MIT" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86" |
49 |
-IUSE="test" |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-# When bumping, please check setup.py for the proper py version |
53 |
-PY_VER="1.5.0" |
54 |
- |
55 |
-# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__ |
56 |
-# support, which only came in py3.6. |
57 |
-RDEPEND=" |
58 |
- >=dev-python/atomicwrites-1.0[${PYTHON_USEDEP}] |
59 |
- >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] |
60 |
- >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] |
61 |
- $(python_gen_cond_dep ' |
62 |
- dev-python/importlib_metadata[${PYTHON_USEDEP}] |
63 |
- ' -2 python3_{5,6,7} pypy3) |
64 |
- $(python_gen_cond_dep ' |
65 |
- dev-python/pathlib2[${PYTHON_USEDEP}] |
66 |
- dev-python/funcsigs[${PYTHON_USEDEP}] |
67 |
- ' -2) |
68 |
- >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] |
69 |
- <dev-python/pluggy-1 |
70 |
- >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}] |
71 |
- dev-python/packaging[${PYTHON_USEDEP}] |
72 |
- dev-python/six[${PYTHON_USEDEP}] |
73 |
- dev-python/wcwidth[${PYTHON_USEDEP}]" |
74 |
- |
75 |
-# flake cause a number of tests to fail |
76 |
-DEPEND=" |
77 |
- test? ( |
78 |
- ${RDEPEND} |
79 |
- dev-python/argcomplete[${PYTHON_USEDEP}] |
80 |
- >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] |
81 |
- dev-python/nose[${PYTHON_USEDEP}] |
82 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
83 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
84 |
- dev-python/requests[${PYTHON_USEDEP}] |
85 |
- !!dev-python/flaky |
86 |
- !!dev-python/pytest-aiohttp |
87 |
- !!dev-python/pytest-asyncio |
88 |
- !!dev-python/pytest-django |
89 |
- $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) |
90 |
- )" |
91 |
- |
92 |
-PATCHES=( |
93 |
- "${FILESDIR}/pytest-4.5.0-strip-setuptools_scm.patch" |
94 |
- "${FILESDIR}/pytest-4.6.10-timeout.patch" |
95 |
-) |
96 |
- |
97 |
-python_prepare_all() { |
98 |
- grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" |
99 |
- |
100 |
- # Something in the ebuild environment causes this to hang/error. |
101 |
- # https://bugs.gentoo.org/598442 |
102 |
- rm testing/test_pdb.py || die |
103 |
- |
104 |
- distutils-r1_python_prepare_all |
105 |
-} |
106 |
- |
107 |
-python_test() { |
108 |
- distutils_install_for_testing |
109 |
- |
110 |
- # In v4.1.1, pytest started being picky about its own verbosity options. |
111 |
- # running pytest on itself with -vv made 3 tests fail. This is why we don't |
112 |
- # have it below. |
113 |
- "${EPYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX \ |
114 |
- || die "tests failed with ${EPYTHON}" |
115 |
-} |