Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-xdist/
Date: Sat, 15 Aug 2020 08:44:35
Message-Id: 1597481062.194f4970ee54f916836e1168856de4eeb6bbb984.mgorny@gentoo
1 commit: 194f4970ee54f916836e1168856de4eeb6bbb984
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 15 07:04:08 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 15 08:44:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=194f4970
7
8 dev-python/pytest-xdist: Bump to 2.0.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest-xdist/Manifest | 1 +
13 dev-python/pytest-xdist/pytest-xdist-2.0.0.ebuild | 38 +++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/pytest-xdist/Manifest b/dev-python/pytest-xdist/Manifest
17 index 76387d4b5ce..1ffef52f2bc 100644
18 --- a/dev-python/pytest-xdist/Manifest
19 +++ b/dev-python/pytest-xdist/Manifest
20 @@ -4,3 +4,4 @@ DIST pytest-xdist-1.31.0.tar.gz 66133 BLAKE2B 79fe5f3bcad3421c1c751ffe6e09f0da42
21 DIST pytest-xdist-1.32.0.tar.gz 67733 BLAKE2B da0ce4e43dc8752e4329ddcbc13a5f55f5bc120c13f39bb01916770d2dc1864197fd91f92bc55ba27cd74b0d837ac2d310980874cdf54761339b2cd654dd6e74 SHA512 f159b4653efb4afeff4124df484670d3c672e1014712f948390b25efc53096f8237258c83a5f1a9e688c52b4a756291cb731d37fdfa800707f556550a19cb0e8
22 DIST pytest-xdist-1.33.0.tar.gz 65588 BLAKE2B 096ffa9295ec0ef4d390b714b02a4d126aa33475b55591b91375f2da0c957802e007b990dc2051d5198f223b250a4a7294367c9da8f8969313a61a7e8ef18ebd SHA512 5e5b23e60b546779d4bbcc9b86c004bdb084689ba006c8bb8a7db9be60b6080f04a5bb2b1f5b43a5062b82e35493331d1da699d8a36177307280b06aa23a1367
23 DIST pytest-xdist-1.34.0.tar.gz 66151 BLAKE2B ac5274e32b3ef6b72113efd4300eb6946a977e0e202d3383abcdbc022126b7806edb326ddc16abb1219e22eb091e06a9c39fce3031aaf5943d4ad653a47af142 SHA512 69e9877ee0268d71d7c0ca202ccc46b3ba1a9271f0e6e4ac4b76602833f9b7012364eb6924ae994e76c1d48d63adf1702d4c5e6ed5b75c52ac7ebae958210e24
24 +DIST pytest-xdist-2.0.0.tar.gz 65663 BLAKE2B 01f4154ae77c0ca67bef9cc0c36f9e3aea03ea554ba45ababb53647720795eae85e6c884eee6cd14037d566dc7bc46f49496aaaecfaaa31322b045339e6c01e8 SHA512 ad1e22ec6963e16f3f1408f0ed39c2945da8f8d2b332b29c36151bc1245e1b9ab532315d8315c22f93f249a64ab508fd78bccd5390be7315d962dd2382f63e0d
25
26 diff --git a/dev-python/pytest-xdist/pytest-xdist-2.0.0.ebuild b/dev-python/pytest-xdist/pytest-xdist-2.0.0.ebuild
27 new file mode 100644
28 index 00000000000..45416420155
29 --- /dev/null
30 +++ b/dev-python/pytest-xdist/pytest-xdist-2.0.0.ebuild
31 @@ -0,0 +1,38 @@
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,7,8,9} pypy3 )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Distributed testing and loop-on-failing modes"
43 +HOMEPAGE="https://pypi.org/project/pytest-xdist/ https://github.com/pytest-dev/pytest-xdist"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +SLOT="0"
47 +LICENSE="MIT"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
49 +
50 +# please do not depend on pytest to avoid unnecessary USEDEP enforcement
51 +RDEPEND="
52 + dev-python/execnet[${PYTHON_USEDEP}]
53 + dev-python/psutil[${PYTHON_USEDEP}]
54 + dev-python/pytest-forked[${PYTHON_USEDEP}]
55 +"
56 +
57 +BDEPEND="
58 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
59 + test? (
60 + dev-python/filelock[${PYTHON_USEDEP}]
61 + )
62 +"
63 +
64 +distutils_enable_tests pytest
65 +
66 +python_test() {
67 + distutils_install_for_testing
68 + pytest -vv testing || die "Tests failed under ${EPYTHON}"
69 +}