1 |
commit: a7c54a0a337d42fcaccda4b91052e561722e49e9 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 28 17:46:46 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 28 20:03:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7c54a0a |
7 |
|
8 |
dev-python/pytest: Bump to 6.1.2 |
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.1.2.ebuild | 62 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest/Manifest b/dev-python/pytest/Manifest |
17 |
index 499c615def8..b74d4b8345c 100644 |
18 |
--- a/dev-python/pytest/Manifest |
19 |
+++ b/dev-python/pytest/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST pytest-5.4.3.tar.gz 1022353 BLAKE2B 70d4f23cbbfc4c4ce63c512ee0a01556973761a |
21 |
DIST pytest-6.0.1.tar.gz 1069631 BLAKE2B 89a78ebf8e8cf968ea767fe7244408ca79d247c1ca459815ac299ce773b44c375429935c8a25b4de26349969113c60e4b6812d5aa2d805691664af74796ea85b SHA512 bdd790c3860da2ed3a3ff47f04512c3bfae4fa1e31fc6b96fc19bd57d1804a6fec968ecf17a11c5b20d30dcf82d6391ef0d893ae57a3da9ad777a15c078c129f |
22 |
DIST pytest-6.0.2.tar.gz 1070533 BLAKE2B 54397bdf8255641e1cb0555a78b3687a49376d9cc603a98b6df3415159aef0331cbaa7d0883bafbceea1b2273fc0ba5c867f7b66eef5b2b4c24f3e5196786877 SHA512 478d28c30f4f990dcdd98edcd074051e32d9ab25941c21bdc9c4cc47b726da79b5b3a01572ff97f608598ef6bb9df075ebba49abb2f1420947e0c6d4fe0be9c8 |
23 |
DIST pytest-6.1.1.tar.gz 1084076 BLAKE2B 61eb5efcffbd5a623c7021e37bbe908522fcfbf42ac56cb45fb7e10e0cd30e845bb8a6c563e86bbff47fba1f0db72f1451eb0bf86862b7e150e29be6a2e80967 SHA512 fc61028a01187f6161061a0c2fc392dd719586780a49eec037a72878de00bc33a81c1bc0e2be01be52b30c7eeea2c590d1a4ec08cb14a955bc624478118889b0 |
24 |
+DIST pytest-6.1.2.tar.gz 1084943 BLAKE2B cbdf29c54118b5daf699f11fb674d37d5972a163a7a53f42f6ddf9224e2d8d9e84b9a88106d5a77e70f470ccbffb15c2cf9a939be69bc0a2cab1fc4c76054562 SHA512 6335e994c5273881c8d1c334fe6bfa9cd0a3e5c251f3d6a9332f7f7c1427e6560ff48d8f235b307ea5eb53491072daf30c41f566bb67b304354fd88d286c61b1 |
25 |
|
26 |
diff --git a/dev-python/pytest/pytest-6.1.2.ebuild b/dev-python/pytest/pytest-6.1.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f101893a5c2 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pytest/pytest-6.1.2.ebuild |
31 |
@@ -0,0 +1,62 @@ |
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_{6..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="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
49 |
+IUSE="test" |
50 |
+RESTRICT="!test? ( test )" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=dev-python/attrs-17.4.0[${PYTHON_USEDEP}] |
54 |
+ $(python_gen_cond_dep ' |
55 |
+ dev-python/importlib_metadata[${PYTHON_USEDEP}] |
56 |
+ ' python3_{6,7} pypy3) |
57 |
+ dev-python/iniconfig[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/more-itertools-4.0.0[${PYTHON_USEDEP}] |
59 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/pluggy-0.12[${PYTHON_USEDEP}] |
61 |
+ <dev-python/pluggy-1 |
62 |
+ >=dev-python/py-1.8.2[${PYTHON_USEDEP}] |
63 |
+ dev-python/toml[${PYTHON_USEDEP}] |
64 |
+" |
65 |
+# flake cause a number of tests to fail |
66 |
+DEPEND=" |
67 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
68 |
+ test? ( |
69 |
+ ${RDEPEND} |
70 |
+ dev-python/argcomplete[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}] |
72 |
+ dev-python/mock[${PYTHON_USEDEP}] |
73 |
+ dev-python/nose[${PYTHON_USEDEP}] |
74 |
+ dev-python/requests[${PYTHON_USEDEP}] |
75 |
+ dev-python/xmlschema[${PYTHON_USEDEP}] |
76 |
+ !!dev-python/flaky |
77 |
+ )" |
78 |
+ |
79 |
+python_prepare_all() { |
80 |
+ # fragile to warnings from other packages (setuptools) |
81 |
+ # little value for us to run it |
82 |
+ sed -i -e 's:test_no_warnings:_&:' \ |
83 |
+ testing/test_meta.py || die |
84 |
+ |
85 |
+ distutils-r1_python_prepare_all |
86 |
+} |
87 |
+ |
88 |
+python_test() { |
89 |
+ distutils_install_for_testing |
90 |
+ |
91 |
+ "${EPYTHON}" -m pytest -vv --lsof -rfsxX || |
92 |
+ die "Tests failed with ${EPYTHON}" |
93 |
+} |