Skip to content

Commit 89d8b0d

Browse files
committed
dev-python/pytest-xdist: new package, add 3.3.1-r1
Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3220 Signed-off-by: Andreas Billmeier <[email protected]>
1 parent c79ed3a commit 89d8b0d

File tree

4 files changed

+66
-3
lines changed

4 files changed

+66
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -617,12 +617,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
617617

618618
## Licenses
619619
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
620-
There are 1772 Ebuilds in total, 1761 of them have in total 1781 (42 different) licenses assigned.
620+
There are 1775 Ebuilds in total, 1764 of them have in total 1784 (42 different) licenses assigned.
621621

622622
|License| Ebuilds using it|
623623
|-------|-----|
624-
|MIT|1006|
625-
|Apache-2.0|398|
624+
|MIT|1007|
625+
|Apache-2.0|400|
626626
|GPL-3|106|
627627
|BSD|102|
628628
|LGPL-3|25|

dev-python/pytest-xdist/Manifest

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DIST pytest-xdist-3.3.1.tar.gz 77751 BLAKE2B 483774b3fefefb513cc3021c49fd816089869a885ba098588e503530ff3b2dfb77612aff80a7147ff33fd8c1fe69c4fda40133de94007e41c699ad763d112e92 SHA512 f439ff1acf65a8df025fec847602ebdc5355b2099501845f8cde3c5287299a9c3102fa6dd6fc82a30bc016893556a24b0b5409323f5db4015e77c711a7b5c59f
2+
EBUILD pytest-xdist-3.3.1-r1.ebuild 962 BLAKE2B 6c2f3aac8a9c7a1cda15b4ed56aa85ce3dd1b2b27e0e1e6bef9c3c866452d05f89a0e01c057b3809fa0c06144b1095dc5be46b6364c8545ac5752aa05e379426 SHA512 ace5a149b3b093ddf38e44a8dc886289c68e783898be0f6f807f0e4d88aac9cdc29979f7b9f37fdf330260ae6e0a5c394d2f3e71cfc04f523ae55d8bc23c3ae5
3+
MISC metadata.xml 560 BLAKE2B 1df999344406050f8b3cc8c82541e71b69eff6dde9a26f6418744834109808344c25c56edb61e8f56cacac11e7810e401b667a5b94f9e76d7bd767eabdc506d6 SHA512 d0625300a548d08d13962e7700da4b24b69bf990be4fe182a27c87a8048147cb0a0a70031cd6c51eba6cfe940c720e6d6232d99562a723e2621b90ae42bd237e

dev-python/pytest-xdist/metadata.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3+
<pkgmetadata>
4+
<maintainer type="project">
5+
<email>[email protected]</email>
6+
<name>Andreas Billmeier</name>
7+
</maintainer>
8+
<upstream>
9+
<remote-id type="pypi">pytest-xdist</remote-id>
10+
<remote-id type="github">pytest-dev/pytest-xdist</remote-id>
11+
<maintainer status="unknown">
12+
13+
<name>holger krekel and contributors</name>
14+
</maintainer>
15+
</upstream>
16+
</pkgmetadata>
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Copyright 1999-2024 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
DISTUTILS_USE_PEP517=setuptools
7+
PYPI_NO_NORMALIZE=1
8+
PYTHON_COMPAT=( python3_{11..12} )
9+
10+
inherit distutils-r1 pypi
11+
12+
DESCRIPTION="Distributed testing and loop-on-failing modes"
13+
HOMEPAGE="
14+
https://pypi.org/project/pytest-xdist/
15+
https://github.com/pytest-dev/pytest-xdist/
16+
"
17+
18+
SLOT="0"
19+
LICENSE="MIT"
20+
KEYWORDS="amd64 arm arm64 x86"
21+
22+
RDEPEND="
23+
dev-python/execnet[${PYTHON_USEDEP}]
24+
dev-python/psutil[${PYTHON_USEDEP}]
25+
>=dev-python/pytest-6.2.0[${PYTHON_USEDEP}]
26+
"
27+
28+
BDEPEND="
29+
dev-python/setuptools-scm[${PYTHON_USEDEP}]
30+
test? (
31+
dev-python/filelock[${PYTHON_USEDEP}]
32+
)
33+
"
34+
35+
distutils_enable_tests pytest
36+
37+
python_test() {
38+
# disable autoloading plugins in nested pytest calls
39+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
40+
# since we disabled autoloading, force loading necessary plugins
41+
local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail
42+
43+
epytest
44+
}

0 commit comments

Comments
 (0)