summaryrefslogtreecommitdiff
path: root/dev-python/coverage
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/coverage')
-rw-r--r--dev-python/coverage/Manifest2
-rw-r--r--dev-python/coverage/coverage-7.15.4.ebuild98
-rw-r--r--dev-python/coverage/coverage-7.16.1.ebuild2
3 files changed, 1 insertions, 101 deletions
diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest
index 83cbd8b853dd..159a10bc897b 100644
--- a/dev-python/coverage/Manifest
+++ b/dev-python/coverage/Manifest
@@ -1,5 +1,3 @@
-DIST coverage-7.15.4.tar.gz 936952 BLAKE2B 524db3ea1117e1d19df9d6fcbee400014f3145dd33f04e583daba49dbc2c1028ce99afdeb5c5630ab8cf344cdee974ef661f7d413a0c7c916917f899e31b376d SHA512 d0a0541e95e9e509aa8cd496a0cf1ae2da820bb3457c684e916bae18c654210d43f4919a4b72a633e48a8d5803c4e4654e2c03d07129bb5026d1ce6cbf1ef44e
-DIST coverage-7.15.4.tar.gz.provenance 9997 BLAKE2B 0c5bb2094a2b276460d6c35e8074aa4a49f4a1b9130c631e5224449bb6e93bf2cccfefe2939d8aa26f9954a51e5671704c9fa3f30354d2c673f344a1d1765199 SHA512 c6599777cfc67cdb601ddda20badf1d78de357bf7235e2ba6bd7f5a2d606694314e7cfb96d3225a1ad47a9667cb7d9047ede6de4c3fc747f5b58e4ccdadb30d5
DIST coverage-7.16.0.tar.gz 945620 BLAKE2B 5f93ac8e2a91c354fb7dc57fc710613f639ec485a53c866288fe4a96c262af030d2657974d827ad6929bdf72f261c0937595c73650231a1536f4d36c0d20242f SHA512 2a63023d8ed89537ee20b766f07556979243f5eb72228972ad6b2f4c4cf9f79c85ec69c73fe5f8bc7120f8a358abe60b64281c96c128462b430f7ceb9f1ca83a
DIST coverage-7.16.0.tar.gz.provenance 9905 BLAKE2B 7c9a6480d9295ea7818c83285ae379c29a255b7a8252cfe5b80dbc8cc0af289d15bd6e9306af9e656271e443994a0a867a4ac0a385b75fb612a82e997985848e SHA512 c28195e374aa4330625f979e851b4d54c6040f8a3044059a0d218254b7d66d9087129051f0e4b2a24f39effc13ddd26b76f0baa341ffd803e7d6f3dd206acd33
DIST coverage-7.16.1.tar.gz 969651 BLAKE2B 0b33a919ba5722d9ff20c3561f096677abfbced651e9d4ac5f7c295276f777e41263c043de2e7fc7c9543403deb230ad00b2cd4b3ca46fae2136304fde25ec93 SHA512 5d5b295b3462d558656e4c1ce060c12f0e4cf20cfd4aeec51a1100d331929cfdf4e0f5fa5a7d695e817de8466f27252af92e52d43ae3bd88e7705dd5cb874d01
diff --git a/dev-python/coverage/coverage-7.15.4.ebuild b/dev-python/coverage/coverage-7.15.4.ebuild
deleted file mode 100644
index 31d0c11b537c..000000000000
--- a/dev-python/coverage/coverage-7.15.4.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYPI_VERIFY_REPO=https://github.com/coveragepy/coveragepy
-PYTHON_COMPAT=( python3_{13..14} )
-PYTHON_REQ_USE="threads(+),sqlite(+)"
-
-inherit distutils-r1 multiprocessing pypi
-
-DESCRIPTION="Code coverage measurement for Python"
-HOMEPAGE="
- https://coverage.readthedocs.io/en/latest/
- https://github.com/coveragepy/coveragepy/
- https://pypi.org/project/coverage/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos"
-IUSE="+native-extensions"
-
-BDEPEND="
- test? (
- >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}]
- )
-"
-
-EPYTEST_PLUGINS=( hypothesis pytest-{rerunfailures,xdist} )
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-python_compile() {
- if ! use native-extensions; then
- local -x COVERAGE_DISABLE_EXTENSION=1
- fi
-
- distutils-r1_python_compile
-}
-
-test_tracer() {
- local -x COVERAGE_CORE=${1}
- einfo " Testing with the ${COVERAGE_CORE} core ..."
- nonfatal epytest -o addopts= "${@:2}" tests ||
- die "Tests failed with ${EPYTHON}, ${COVERAGE_CORE} core"
-}
-
-python_test() {
- local EPYTEST_DESELECT=(
- # broken because of pytest plugins explicity loaded
- tests/test_debug.py::ShortStackTest::test_short_stack{,_skip}
- # these expect specific availability of C extension matching
- # COVERAGE_CORE (which breaks testing pytracer on CPython)
- tests/test_cmdline.py::CmdLineStdoutTest::test_version
- tests/test_debug.py::DebugTraceTest::test_debug_sys_ctracer
- # packaging tests, fragile to setuptools version
- tests/test_setup.py
- )
- 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 jobs=${EPYTEST_JOBS:-$(makeopts_jobs)}
- local xdist_args=()
- if [[ ${jobs} -gt 1 ]]; then
- # required upstream to avoid cross-test conflicts
- xdist_args+=( --dist=loadgroup )
- fi
-
- 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 ctrace "${xdist_args[@]}"
- fi
-
- test_tracer pytrace "${xdist_args[@]}"
-
- # available since Python 3.12
- test_tracer sysmon "${xdist_args[@]}"
-
- if [[ -n ${c_ext} ]]; then
- rm coverage/*.so || die
- fi
-}
diff --git a/dev-python/coverage/coverage-7.16.1.ebuild b/dev-python/coverage/coverage-7.16.1.ebuild
index bb83b5e46e2e..4064d1893376 100644
--- a/dev-python/coverage/coverage-7.16.1.ebuild
+++ b/dev-python/coverage/coverage-7.16.1.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos"
IUSE="+native-extensions"
BDEPEND="