dev-python/coverage: update 7.2.1, 6.4.4-r1, drop olds

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2023-05-29 10:22:03 +02:00
committed by Andreas Billmeier
parent 976b578d19
commit d30f6f2377
5 changed files with 6 additions and 157 deletions

View File

@@ -1,9 +1,5 @@
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
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

View File

@@ -1,13 +1,13 @@
# Copyright 1999-2022 Gentoo Authors
# 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_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="threads(+),sqlite(+)"
inherit distutils-r1
inherit distutils-r1 pypi
DESCRIPTION="Code coverage measurement for Python"
HOMEPAGE="
@@ -15,7 +15,6 @@ HOMEPAGE="
https://github.com/nedbat/coveragepy/
https://pypi.org/project/coverage/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"

View File

@@ -1,68 +0,0 @@
# Copyright 1999-2022 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
DESCRIPTION="Code coverage measurement for Python"
HOMEPAGE="
https://coverage.readthedocs.io/en/latest/
https://github.com/nedbat/coveragepy/
https://pypi.org/project/coverage/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
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
}

View File

@@ -1,78 +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_{9..11} )
PYTHON_REQ_USE="threads(+),sqlite(+)"
inherit distutils-r1
DESCRIPTION="Code coverage measurement for Python"
HOMEPAGE="
https://coverage.readthedocs.io/en/latest/
https://github.com/nedbat/coveragepy/
https://pypi.org/project/coverage/
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
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
}

View File

@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="threads(+),sqlite(+)"
inherit distutils-r1 pypi