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: Wed, 10 Feb 2021 08:06:56
Message-Id: 1612944390.059f436f9c8be87489fb7c87c6ac622d69b0a2c7.mgorny@gentoo
1 commit: 059f436f9c8be87489fb7c87c6ac622d69b0a2c7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 9 23:43:09 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 10 08:06:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=059f436f
7
8 dev-python/pytest-xdist: Bump to 2.2.1
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.2.1.ebuild | 37 +++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-python/pytest-xdist/Manifest b/dev-python/pytest-xdist/Manifest
17 index 261ee16f370..aed96c0d4de 100644
18 --- a/dev-python/pytest-xdist/Manifest
19 +++ b/dev-python/pytest-xdist/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pytest-xdist-1.34.0.tar.gz 66151 BLAKE2B ac5274e32b3ef6b72113efd4300eb6946a977e0e202d3383abcdbc022126b7806edb326ddc16abb1219e22eb091e06a9c39fce3031aaf5943d4ad653a47af142 SHA512 69e9877ee0268d71d7c0ca202ccc46b3ba1a9271f0e6e4ac4b76602833f9b7012364eb6924ae994e76c1d48d63adf1702d4c5e6ed5b75c52ac7ebae958210e24
22 DIST pytest-xdist-2.2.0.tar.gz 64781 BLAKE2B 17287c28f31c42c6a8fe3622d4ba920a530e0ced3bc99cffd8f9de91c3498cc2a3b654cc32bd5b09ee8ec6c1f64226aec736acafd73397be2eb34bd3d192bb46 SHA512 2027f8512fbd6cb68ab36eb774b9d8b7e855c181733b884f394d0e84994926b4fe6158dbd55808328b262497036f101e71cb86553340eba0031d654f34541689
23 +DIST pytest-xdist-2.2.1.tar.gz 64956 BLAKE2B 7ea18b0e7893000ed9d8718506a7b0f7cf45444196a23e3defec34639c2159b52c7a533ddbc0e0a9b3c3f1e0a867ad5c85e3549167e9b7049ce718646ed50717 SHA512 0732f5ffb56eead3d1aeecd37381c2d9c6ed22398e8e51e9358b562765d737ebde48ecb6fe9f90d9a46902dba1422721cb2c7bfc9fc13918aa2c3b8e6a5e48c4
24
25 diff --git a/dev-python/pytest-xdist/pytest-xdist-2.2.1.ebuild b/dev-python/pytest-xdist/pytest-xdist-2.2.1.ebuild
26 new file mode 100644
27 index 00000000000..d27d1d1c78a
28 --- /dev/null
29 +++ b/dev-python/pytest-xdist/pytest-xdist-2.2.1.ebuild
30 @@ -0,0 +1,37 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Distributed testing and loop-on-failing modes"
41 +HOMEPAGE="https://pypi.org/project/pytest-xdist/ https://github.com/pytest-dev/pytest-xdist"
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 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
47 +
48 +# pytest-xdist >= 2 fails with pytest < 6
49 +RDEPEND="
50 + dev-python/execnet[${PYTHON_USEDEP}]
51 + dev-python/psutil[${PYTHON_USEDEP}]
52 + >=dev-python/pytest-6[${PYTHON_USEDEP}]
53 + dev-python/pytest-forked[${PYTHON_USEDEP}]
54 +"
55 +
56 +BDEPEND="
57 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
58 + test? (
59 + dev-python/filelock[${PYTHON_USEDEP}]
60 + )
61 +"
62 +
63 +PATCHES=(
64 + "${FILESDIR}"/${PN}-2.2.0-services-conflict.patch
65 +)
66 +
67 +distutils_enable_tests --install pytest