dev-python/coverage: treeclean
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
9d49698435
commit
4c4fd3069a
@ -612,14 +612,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 1719 Ebuilds in total, 1708 of them have in total 1731 (43 different) licenses assigned.
|
||||
There are 1717 Ebuilds in total, 1706 of them have in total 1729 (43 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1002|
|
||||
|Apache-2.0|357|
|
||||
|GPL-3|109|
|
||||
|BSD|97|
|
||||
|BSD|95|
|
||||
|LGPL-3|24|
|
||||
|GPL-2|22|
|
||||
|all-rights-reserved|15|
|
||||
|
@ -1,5 +0,0 @@
|
||||
DIST coverage-6.4.4.tar.gz 772949 BLAKE2B 87b4c51ac43ac3bd2202496f6db6de5c74dd9925521bf3092cd862b86d8d7c0e3d008ee550c90e890febd87cc4d167669e830668f15da94ef4ea72e82154bf26 SHA512 f210f2471b170e05d4dac2cc9a91e3f0d4ba6456cdf91dc1c0ef67a02a11f4279c5beca5df8854c42660346995492b1eff020e1ac578d2a0a129627dadd17114
|
||||
DIST coverage-7.2.1.tar.gz 812219 BLAKE2B bb6b482990b0620d7e264244a9e31ee44b37fe83436c1d7d016d20e36d9ecbea85a614a4142683757bb1284bfbe2a157fc4748b01c76b5495c5eca5834e9a848 SHA512 40a7f1d25c7100b8f2f4ba1f877c241f65e1f560cdad861dab05254a4e177de37615888441d47a6c2ebc525ad2b52b476da7111efe5583708f094dd3a1b39984
|
||||
EBUILD coverage-6.4.4-r1.ebuild 1637 BLAKE2B 8f0405a2ca51a0d373239c6d55734c3253a93112f60434e41240ac909008b69443762f625daccc1ac2fb78d4de2ed0481d316a34be096349c89502c9da6d3b46 SHA512 7db73f5c3d2101a480c36fd0a41cff60174a78bd8b2c2961f6380d0ece62a5b50924ba164bfb84897fbf4209544efe786707fa365b057265f1000bbf0c53f34d
|
||||
EBUILD coverage-7.2.1.ebuild 1750 BLAKE2B c3bbe00c1960d75671a6d06a80263be3b2d939696d21f6f92e5ada2eb4835f5a6b1249b590d7df658d315a049ed083213a6f5e03b287092cc9fe53de8be36cdf SHA512 4334bb5b7499d06715e961c429a98f9668a3dd1bf5b80baf0c8b0365c3913a2c460051b48d132ab9349f3036247832e07a0792f361a1e22dbca7050fb3455af8
|
||||
MISC metadata.xml 530 BLAKE2B 3e14d7215b1b7d2378f26a970409c4353296f739b6235482180f600dcd2fba23f9c344dac75fd230f373858e5ae51767a399f561088be6616975e0454907f35f SHA512 9beed37da27d4f410267000b535be26c1ed968f43e8427b77f56ac838b25cb68efb43952ab67df647c5aaa4925a227257094b0c1b849e5784c296fcb52096ce2
|
@ -1,72 +0,0 @@
|
||||
# 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_{10..12} )
|
||||
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() {
|
||||
"${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
|
||||
}
|
@ -1,77 +0,0 @@
|
||||
# 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_{10..12} )
|
||||
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
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?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">coverage</remote-id>
|
||||
<remote-id type="github">nedbat/coveragepy</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>ned@nedbatchelder.com</email>
|
||||
<name>Ned Batchelder and 161 others</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user