1 |
commit: c000dec56c59c01206e85ce564b6b7727d0c23c1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 24 20:57:32 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 24 22:52:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c000dec5 |
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-5.4.3-r1.ebuild | 68 -------------------------------- |
14 |
2 files changed, 69 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest |
17 |
index 8341a16b4b56..95044faa7add 100644 |
18 |
--- a/dev-python/pytest/Manifest |
19 |
+++ b/dev-python/pytest/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST pytest-5.4.3.tar.gz 1022353 BLAKE2B 70d4f23cbbfc4c4ce63c512ee0a01556973761a6d3ebb71a6d9ed4fb4a4a21531e1b151ed0e4c5e56e5dd3243a1a272441f17c4c2c4e3b0b19c24654b74e8e52 SHA512 0a07d4f4f791969c6f21961a0ba0f8c6670e5870c6cc1cebf93766587bb9cb3e10db8e57f0bd33dd22b275f3aad7aa674949f124ac80e0ccca64e35be4beee4e |
22 |
DIST pytest-6.2.5.tar.gz 1118720 BLAKE2B 9dfc87279617be58353566009325f929e6fa53d54fd4c665a75f3b359ab5415972d745a680eb85ab21ca9eaec84450bc1decd50566b0ccdf90d7551f3d03ee70 SHA512 7624563a9d967da4cbf82cfff90bae8c0cca07b32e291dc7c5efa787725ed1a255edd066bf0d5fbd89b8cbed8cf5b619fe7c7017f44a7f8a014e3310c06bdbf9 |
23 |
|
24 |
diff --git a/dev-python/pytest/pytest-5.4.3-r1.ebuild b/dev-python/pytest/pytest-5.4.3-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index aac5743ce9fb..000000000000 |
27 |
--- a/dev-python/pytest/pytest-5.4.3-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,68 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
36 |
-PYTHON_COMPAT=( python3_{8,9} pypy3 ) |
37 |
- |
38 |
-inherit distutils-r1 |
39 |
- |
40 |
-DESCRIPTION="Simple powerful testing with Python" |
41 |
-HOMEPAGE="https://pytest.org/" |
42 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="MIT" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86" |
47 |
-IUSE="test" |
48 |
-RESTRICT="!test? ( test )" |
49 |
- |
50 |
-# When bumping, please check setup.py for the proper py version |
51 |
-PY_VER="1.5.0" |
52 |
- |
53 |
-# pathlib2 has been added to stdlib before py3.6, but pytest needs __fspath__ |
54 |
-# support, which only came in py3.6. |
55 |
-RDEPEND=" |
56 |
- >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] |
57 |
- >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] |
58 |
- dev-python/packaging[${PYTHON_USEDEP}] |
59 |
- >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] |
60 |
- <dev-python/pluggy-1 |
61 |
- >=dev-python/py-${PY_VER}[${PYTHON_USEDEP}] |
62 |
- dev-python/six[${PYTHON_USEDEP}] |
63 |
- dev-python/wcwidth[${PYTHON_USEDEP}]" |
64 |
- |
65 |
-# flake cause a number of tests to fail |
66 |
-DEPEND="${RDEPEND} |
67 |
- test? ( |
68 |
- >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] |
69 |
- dev-python/nose[${PYTHON_USEDEP}] |
70 |
- dev-python/mock[${PYTHON_USEDEP}] |
71 |
- dev-python/pygments[${PYTHON_USEDEP}] |
72 |
- dev-python/requests[${PYTHON_USEDEP}] |
73 |
- dev-python/xmlschema[${PYTHON_USEDEP}] |
74 |
- !!dev-python/flaky |
75 |
- )" |
76 |
- |
77 |
-PATCHES=( |
78 |
- "${FILESDIR}/${PN}"-4.5.0-strip-setuptools_scm.patch |
79 |
-) |
80 |
- |
81 |
-python_prepare_all() { |
82 |
- grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency" |
83 |
- |
84 |
- # fragile to warnings from other packages (setuptools) |
85 |
- # little value for us to run it |
86 |
- sed -i -e 's:test_no_warnings:_&:' \ |
87 |
- testing/test_meta.py || die |
88 |
- |
89 |
- distutils-r1_python_prepare_all |
90 |
-} |
91 |
- |
92 |
-python_test() { |
93 |
- distutils_install_for_testing |
94 |
- |
95 |
- "${EPYTHON}" -m pytest -vv --lsof -rfsxX \ |
96 |
- || die "tests failed with ${EPYTHON}" |
97 |
-} |