dev-python/coverage: add 7.2.1
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
98898ded4e
commit
588213a726
@ -576,14 +576,14 @@ 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 1854 Ebuilds in total, 1843 of them have in total 1860 (36 different) licenses assigned.
|
||||
There are 1855 Ebuilds in total, 1844 of them have in total 1861 (36 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1085|
|
||||
|Apache-2.0|399|
|
||||
|GPL-3|118|
|
||||
|BSD|96|
|
||||
|BSD|97|
|
||||
|LGPL-3|27|
|
||||
|GPL-2|24|
|
||||
|GPL-3+|14|
|
||||
|
||||
@ -1,7 +1,9 @@
|
||||
DIST coverage-6.4.4.tar.gz 772949 BLAKE2B 87b4c51ac43ac3bd2202496f6db6de5c74dd9925521bf3092cd862b86d8d7c0e3d008ee550c90e890febd87cc4d167669e830668f15da94ef4ea72e82154bf26 SHA512 f210f2471b170e05d4dac2cc9a91e3f0d4ba6456cdf91dc1c0ef67a02a11f4279c5beca5df8854c42660346995492b1eff020e1ac578d2a0a129627dadd17114
|
||||
DIST coverage-6.4.tar.gz 715897 BLAKE2B 69fd1979da2c652d5cf8b83adcde4755824faf832867c0181e610ef1369bae217c487b230aa649f03692440efc78628474d72303635568f8e7e5b41f83afc1ed SHA512 e834ff2329eb930ea40a28e8be7f665322558a1f00b5297a2daaaefc986ae451f333ea76bf6e345cad1560d721ebd990cdd5b79b30bddd9e17223acc85508089
|
||||
DIST coverage-7.1.0.tar.gz 809785 BLAKE2B 3720aee79ecfdd6aa652b5198bad4d6b5827a85f1d58986eec51bab1e72800dac28eb0ebbeb15d547ef03694ca1397bec47c37a9233dc34b2d3d2a6a22a48274 SHA512 80920b337391e47f1e631ba8a892792b6d2c72e753ddf403222c6ad527637699889f29cfee40721949e5eeb6e7977f319635c44d79f58e7e19676d1165dfdde2
|
||||
DIST coverage-7.2.1.tar.gz 812219 BLAKE2B bb6b482990b0620d7e264244a9e31ee44b37fe83436c1d7d016d20e36d9ecbea85a614a4142683757bb1284bfbe2a157fc4748b01c76b5495c5eca5834e9a848 SHA512 40a7f1d25c7100b8f2f4ba1f877c241f65e1f560cdad861dab05254a4e177de37615888441d47a6c2ebc525ad2b52b476da7111efe5583708f094dd3a1b39984
|
||||
EBUILD coverage-6.4.4-r1.ebuild 1683 BLAKE2B 2a21f026adaaa16f45ff4f41cde501facb0216c857b0f8768afa613d5f1270e23b757144faf47be6a8e93137df7178231ac6fc6d147dd6e885912aec8b3cf94b SHA512 aecade2d5f7b0efb1fd7b0b9025f9842b531ee9a7aeccfc756de41ca6f2e438dac4d35bbf5c0ce6e45e01439c4481cc9d0cc9076e65518280afb820df5f7ff30
|
||||
EBUILD coverage-6.4.ebuild 1595 BLAKE2B 55761d6dd696ce2905bd22031497be2e7dfebfdf0c4456290e4c214c8391798b4d108e77850c90fef2d97b39163052db28fd80237023c1955b305552d2cdb255 SHA512 ebbf011f1afe63266ba8389d89e597cfa39b06eb1b48133ab63860971225f206734cebc97a99da44fadf03be60ac0307febd6668a33365ceb91c42ad72c0f496
|
||||
EBUILD coverage-7.1.0.ebuild 1796 BLAKE2B 9c4e8d72bf4712dd624965a195dd3463d0ce591419d097cd245eee216205e36b95ebcc579ea8ce539a35311edf8fb835fa8e5036070a6e127e3ca9b9de356a07 SHA512 91da221dc2fa7773067e98773d1e7b56564f84f56af5ddd79f88ac35aec32f9a76bddeb42eb3eb519dd27059a5c48d3a0dd585e67d0ee897fc40bb2ed360e005
|
||||
EBUILD coverage-7.2.1.ebuild 1749 BLAKE2B d5da41aae46cccba947ee03ba8494b6f2959eaf61564269e4e49c180dba129235a9c33a8accd2478f2f6da57949359029c2883600c0ed0960c29bee4f90755be SHA512 fed3b89f6ccca4bd4a11de011445c4504ee1f486a8055eabf85cd6b5ae1597418e5301a93a74451b15853010e1277c7a595254db9e8cea85ced5d7710d34e376
|
||||
MISC metadata.xml 530 BLAKE2B 3e14d7215b1b7d2378f26a970409c4353296f739b6235482180f600dcd2fba23f9c344dac75fd230f373858e5ae51767a399f561088be6616975e0454907f35f SHA512 9beed37da27d4f410267000b535be26c1ed968f43e8427b77f56ac838b25cb68efb43952ab67df647c5aaa4925a227257094b0c1b849e5784c296fcb52096ce2
|
||||
|
||||
77
dev-python/coverage/coverage-7.2.1.ebuild
Normal file
77
dev-python/coverage/coverage-7.2.1.ebuild
Normal file
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_REQ_USE="threads(+),sqlite(+)"
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Code coverage measurement for Python"
|
||||
HOMEPAGE="
|
||||
https://coverage.readthedocs.io/en/latest/
|
||||
https://github.com/nedbat/coveragepy/
|
||||
https://pypi.org/project/coverage/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/tomli[${PYTHON_USEDEP}]
|
||||
' 3.{8..10})
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/flaky[${PYTHON_USEDEP}]
|
||||
dev-python/hypothesis[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
>=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^addopts/s:-q -n auto::' setup.cfg || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
test_tracer() {
|
||||
local -x COVERAGE_TEST_TRACER=${1}
|
||||
einfo " Testing with the ${COVERAGE_TEST_TRACER} tracer ..."
|
||||
epytest tests
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
# pip these days insists on fetching build deps from Internet
|
||||
tests/test_venv.py
|
||||
)
|
||||
|
||||
"${EPYTHON}" igor.py zip_mods || die
|
||||
|
||||
local -x COVERAGE_TESTING=True
|
||||
# TODO: figure out why they can't be imported inside test env
|
||||
local -x COVERAGE_NO_CONTRACTS=1
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local -x PYTEST_PLUGINS=_hypothesis_pytestplugin,flaky.flaky_pytest_plugin,xdist.plugin
|
||||
|
||||
local prev_opt=$(shopt -p nullglob)
|
||||
shopt -s nullglob
|
||||
local c_ext=( "${BUILD_DIR}/install$(python_get_sitedir)"/coverage/*.so )
|
||||
${prev_opt}
|
||||
|
||||
if [[ -n ${c_ext} ]]; then
|
||||
cp "${c_ext}" \
|
||||
coverage/ || die
|
||||
test_tracer c
|
||||
rm coverage/*.so || die
|
||||
else
|
||||
test_tracer py
|
||||
fi
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user