dev-python/pytest-xdist: new package, add 3.3.1-r1

Closes: #3220
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-04-12 21:43:32 +02:00
parent c79ed3a456
commit 89d8b0d24b
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 66 additions and 3 deletions

View File

@ -617,12 +617,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
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.
There are 1772 Ebuilds in total, 1761 of them have in total 1781 (42 different) licenses assigned.
There are 1775 Ebuilds in total, 1764 of them have in total 1784 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1006|
|Apache-2.0|398|
|MIT|1007|
|Apache-2.0|400|
|GPL-3|106|
|BSD|102|
|LGPL-3|25|

View File

@ -0,0 +1,3 @@
DIST pytest-xdist-3.3.1.tar.gz 77751 BLAKE2B 483774b3fefefb513cc3021c49fd816089869a885ba098588e503530ff3b2dfb77612aff80a7147ff33fd8c1fe69c4fda40133de94007e41c699ad763d112e92 SHA512 f439ff1acf65a8df025fec847602ebdc5355b2099501845f8cde3c5287299a9c3102fa6dd6fc82a30bc016893556a24b0b5409323f5db4015e77c711a7b5c59f
EBUILD pytest-xdist-3.3.1-r1.ebuild 962 BLAKE2B 6c2f3aac8a9c7a1cda15b4ed56aa85ce3dd1b2b27e0e1e6bef9c3c866452d05f89a0e01c057b3809fa0c06144b1095dc5be46b6364c8545ac5752aa05e379426 SHA512 ace5a149b3b093ddf38e44a8dc886289c68e783898be0f6f807f0e4d88aac9cdc29979f7b9f37fdf330260ae6e0a5c394d2f3e71cfc04f523ae55d8bc23c3ae5
MISC metadata.xml 560 BLAKE2B 1df999344406050f8b3cc8c82541e71b69eff6dde9a26f6418744834109808344c25c56edb61e8f56cacac11e7810e401b667a5b94f9e76d7bd767eabdc506d6 SHA512 d0625300a548d08d13962e7700da4b24b69bf990be4fe182a27c87a8048147cb0a0a70031cd6c51eba6cfe940c720e6d6232d99562a723e2621b90ae42bd237e

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">pytest-xdist</remote-id>
<remote-id type="github">pytest-dev/pytest-xdist</remote-id>
<maintainer status="unknown">
<email>pytest-dev@python.org,holger@merlinux.eu</email>
<name>holger krekel and contributors</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,44 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{11..12} )
inherit distutils-r1 pypi
DESCRIPTION="Distributed testing and loop-on-failing modes"
HOMEPAGE="
https://pypi.org/project/pytest-xdist/
https://github.com/pytest-dev/pytest-xdist/
"
SLOT="0"
LICENSE="MIT"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="
dev-python/execnet[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
>=dev-python/pytest-6.2.0[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/filelock[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
# disable autoloading plugins in nested pytest calls
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
# since we disabled autoloading, force loading necessary plugins
local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail
epytest
}