1 |
commit: 120cca39e476fec53a444ad82c595e9936c43d4b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 4 22:16:00 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 5 12:18:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=120cca39 |
7 |
|
8 |
dev-python/pytest: Bump to 6.2.4 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest/Manifest | 1 + |
13 |
dev-python/pytest/pytest-6.2.4.ebuild | 56 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 57 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest |
17 |
index 32a370363cd..5dd254fb4aa 100644 |
18 |
--- a/dev-python/pytest/Manifest |
19 |
+++ b/dev-python/pytest/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST pytest-4.6.11.tar.gz 952305 BLAKE2B af07adf5e8fc614b1fdb7b5673fb9c557ff0dd3 |
21 |
DIST pytest-5.4.3.tar.gz 1022353 BLAKE2B 70d4f23cbbfc4c4ce63c512ee0a01556973761a6d3ebb71a6d9ed4fb4a4a21531e1b151ed0e4c5e56e5dd3243a1a272441f17c4c2c4e3b0b19c24654b74e8e52 SHA512 0a07d4f4f791969c6f21961a0ba0f8c6670e5870c6cc1cebf93766587bb9cb3e10db8e57f0bd33dd22b275f3aad7aa674949f124ac80e0ccca64e35be4beee4e |
22 |
DIST pytest-6.1.2.tar.gz 1084943 BLAKE2B cbdf29c54118b5daf699f11fb674d37d5972a163a7a53f42f6ddf9224e2d8d9e84b9a88106d5a77e70f470ccbffb15c2cf9a939be69bc0a2cab1fc4c76054562 SHA512 6335e994c5273881c8d1c334fe6bfa9cd0a3e5c251f3d6a9332f7f7c1427e6560ff48d8f235b307ea5eb53491072daf30c41f566bb67b304354fd88d286c61b1 |
23 |
DIST pytest-6.2.2.tar.gz 1116980 BLAKE2B 7e74050f01fdc4b1ba8a6d703915b0d707305e6e8299917fff8e0cedb873f998c9a904728b77e7234718016ccdac15d491d10411c582d1bfa60d2450a8a2fa7b SHA512 a81def83759c550c169b3db8ed43b4df40433a88acb663e2e9422ef562149ed52041724b7f3cc5d0d6b532f2243a8d9a9614ffbcd87ed571f7fdde7f036c2297 |
24 |
+DIST pytest-6.2.4.tar.gz 1118084 BLAKE2B 611db50e7432dfb6f8d212621a3803871fd8f6c05ec3cdefeb3958d0886f754326fc358a9a67bdb3f516388aab901b169c951471bf304adfb78fe457dc59d6c5 SHA512 43adc9a78e16a05f07e689e4557b63f2e0f4de5a1cdea6f24272b6a658a6b0a18721713cf46b5102cf2726ddbc4ffe131c39e652bd2511d285f40cbfcccc2289 |
25 |
|
26 |
diff --git a/dev-python/pytest/pytest-6.2.4.ebuild b/dev-python/pytest/pytest-6.2.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..12ec533b378 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pytest/pytest-6.2.4.ebuild |
31 |
@@ -0,0 +1,56 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
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 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
47 |
+IUSE="test" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] |
52 |
+ $(python_gen_cond_dep ' |
53 |
+ dev-python/importlib_metadata[${PYTHON_USEDEP}] |
54 |
+ ' python3_7 pypy3) |
55 |
+ dev-python/iniconfig[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] |
57 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] |
59 |
+ <dev-python/pluggy-1 |
60 |
+ >=dev-python/py-1.8.2[${PYTHON_USEDEP}] |
61 |
+ dev-python/toml[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+DEPEND=" |
64 |
+ >=dev-python/setuptools_scm-3.4[${PYTHON_USEDEP}] |
65 |
+ test? ( |
66 |
+ ${RDEPEND} |
67 |
+ dev-python/argcomplete[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] |
69 |
+ dev-python/mock[${PYTHON_USEDEP}] |
70 |
+ dev-python/nose[${PYTHON_USEDEP}] |
71 |
+ dev-python/requests[${PYTHON_USEDEP}] |
72 |
+ dev-python/xmlschema[${PYTHON_USEDEP}] |
73 |
+ )" |
74 |
+ |
75 |
+src_test() { |
76 |
+ # workaround new readline defaults |
77 |
+ echo "set enable-bracketed-paste off" > "${T}"/inputrc || die |
78 |
+ local -x INPUTRC="${T}"/inputrc |
79 |
+ distutils-r1_src_test |
80 |
+} |
81 |
+ |
82 |
+python_test() { |
83 |
+ distutils_install_for_testing --via-root |
84 |
+ |
85 |
+ "${EPYTHON}" -m pytest -vv --lsof -rfsxX -p no:pkgcore -p no:flaky || |
86 |
+ die "Tests failed with ${EPYTHON}" |
87 |
+} |