1 |
commit: 14b8eb66f889b99954648c22150bc4f6d78ced65 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 25 18:35:20 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 25 18:35:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14b8eb66 |
7 |
|
8 |
dev-python/pytest-forked: Bump to 1.2.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-forked/Manifest | 1 + |
13 |
.../pytest-forked/pytest-forked-1.2.0.ebuild | 31 ++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pytest-forked/Manifest b/dev-python/pytest-forked/Manifest |
17 |
index 8cf2a4b0791..05434d38073 100644 |
18 |
--- a/dev-python/pytest-forked/Manifest |
19 |
+++ b/dev-python/pytest-forked/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pytest-forked-1.1.3.tar.gz 7308 BLAKE2B 70711228a5a815de23cbd07b2b628e336a26ccecf420dc9d30d9e9b7ed33bc362b0ba74a8f90fb7cb8dc9e7e0f61d2ac22da55584a84e8ac3a26fcfc2878a802 SHA512 2086884b0e78841b3cdf8eb2b144b8fa60ba95e4be79bc58a2b5775a5f997dddef59377f7c993e54974fbbe13e73fe8688eed4d035e85293e35a143c5f0180f3 |
22 |
+DIST pytest-forked-1.2.0.tar.gz 9533 BLAKE2B f9762fd34ffa05eb0abe143388c9608563b0b3d8d5f8c6cbb2e5e36271f4625f10e573042e66d5be5f7f9e124cb5171e570e0d59f2bc1100d2d88ee54c9b4e9b SHA512 d7ed2c36213cfb81988e84e370e0504add77fdb79d31aed4d7aabb73943042f860b4a3ca6c9aad7de5b11234631b1e0f66eb067fcb46079d2cc4ba53ef0cabfb |
23 |
|
24 |
diff --git a/dev-python/pytest-forked/pytest-forked-1.2.0.ebuild b/dev-python/pytest-forked/pytest-forked-1.2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..d1217706c9c |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pytest-forked/pytest-forked-1.2.0.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 1999-2020 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=( python2_7 python3_{6..9} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="run tests in isolated forked subprocesses" |
41 |
+HOMEPAGE="https://pypi.org/project/pytest-forked/ https://github.com/pytest-dev/pytest-forked" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+SLOT="0" |
45 |
+LICENSE="MIT" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
47 |
+IUSE="test" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/pytest-3.1.0[${PYTHON_USEDEP}]" |
52 |
+ |
53 |
+BDEPEND=" |
54 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
55 |
+ test? ( ${RDEPEND} )" |
56 |
+ |
57 |
+python_test() { |
58 |
+ distutils_install_for_testing |
59 |
+ pytest -vv -p no:flaky || die "Tests failed under ${EPYTHON}" |
60 |
+} |