mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/coverage: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -4,9 +4,5 @@ DIST coverage-7.14.2.tar.gz 923982 BLAKE2B 825dab5a7bfdfd751a7e641f3d1e714740231
|
||||
DIST coverage-7.14.2.tar.gz.provenance 9758 BLAKE2B 92560d10a299b3525aa49a0f976dff01daf04aff635dc8fd825f9447e8cceefc5b864b7509178121c425e2993a84e897d29bd240017d46e71af62b72439636cc SHA512 051b6e23378083641cb1b479071fd32c41b75489e42ec534bffe9a77207326e4a0a94936e65f08b61c8ecd0c224020da37ed450b4f13c3b3fbd3eb18b43615e1
|
||||
DIST coverage-7.14.3.tar.gz 924398 BLAKE2B 8f1699e1c4b6c93ae22f5799df40843ff9ff35a77a73d2980aa6d76b70005010983aac11bce1cdc02d5edda6f4afddb9dd43117ca12a05e04d4b5782102a2335 SHA512 1a29d6e4824fc472b766476e0940d0d4db0ce4ea33ec4376d7738fb318365da05e33773bd8ca1cad56b7f2471780333b52a53f135bc13414ccf3b3c445e8d2fe
|
||||
DIST coverage-7.14.3.tar.gz.provenance 9907 BLAKE2B c1876fbc3b147afa865812c8f09d1595f317f62b4c07f644f4bacf450d4c21bc45e8de8cdb001d0f497967d7aa77dd4340877457462bed39006ebfd72b856fa6 SHA512 13702b5009e3a416e341bb6db12d9b2251d832650595f6439e2aeaf212994624a37047f1eb34c1473e65c7fac597658e6ada02788fef4526a0b60e410bdedbbd
|
||||
DIST coverage-7.15.0.tar.gz 925362 BLAKE2B 2ecd07a36f06d9c047733cd89dfd0db412797a251d8ff9becb2b90b69be07f3ebb69dee4dca9cc4ed246850b7f77ccfc1a2799b02b92f591c9683a6f8f44676c SHA512 559aea2ef68f488b3863f9919ee586b011197bb7e91c73cc72e61d4811af0ec7b084dc77752355f661f230147633ea2245e23c3a9a7c081a10872ae77e58dfc5
|
||||
DIST coverage-7.15.0.tar.gz.provenance 9903 BLAKE2B 0ac0779725018ed2b284fe0baf8d91076dd02af8263a1955d8688c2bfa8ec3333d0f96004812968d3a02048d22b941367faa59545669396289574314eccb8a27 SHA512 caf9b9f57391720f55bc88148de7b97275f41a0d1ecbbc314ee1adee6ec938949e5616227ba23c27d1f27cbd80b2cefd73eae47151a85719c75957c924dad2ff
|
||||
DIST coverage-7.15.1.tar.gz 927640 BLAKE2B 8ee2cce28ba521b439e062170628a4a4645a8f7b81cb34bce5b1527e47c6e75a5554d358c2167cbe4672672ff768ab7b14ea4f39326447e63d8b8f29507033d8 SHA512 a4d98d8f17e6e11430be7d2ce9f83730c775a1d76aa20c46d2fa931f2439b5814afaa6cec1f3f5563fc11929e823513264715882c84cbc92a7ea032024c7a1d4
|
||||
DIST coverage-7.15.1.tar.gz.provenance 9907 BLAKE2B c93b401bb05ac8bf5baf4dc487c3704ba68d685deae8cb7559c60929dfd767fb9e2b2706d00eb77354573dcec0d2ee4ba8d55daaf04204b5677c434d5f5f0a60 SHA512 b4a5a2b040a331ff050cd7a1a33dc42b63207e029bd13c7d14e877619b9c89fdf2bb355e42bd1b6a8f3052048c78c36a007a41dbc8836a2d21eda246c4ce8ac8
|
||||
DIST coverage-7.15.2.tar.gz 927741 BLAKE2B 61b652d900901b1e2cb2b192ba95f757e5d9da830ab54d26ae1fca9c717e73f86f8e2aeeea6ab8664020d5d0c6883b051bdcc848a326282ac5a0172d6e8cdea0 SHA512 578cf91905d525343eee636fc24dbf70e0d0d249b0fd4228d750de3feef3cab344a3f24cb73cfa0af7a34d7e651e56b539b512d2cbf4ff59dce95eb03509e575
|
||||
DIST coverage-7.15.2.tar.gz.provenance 10044 BLAKE2B b4b740dad204628ab76ca8697ad816a60dd7bf73ebbc8a1682575c8dc84240fb1338e85db5a2e2c804c7a7f255188de1b14269b5f72f5024ebd7f8f7b4e1d06b SHA512 5114b7cd42289ebe32923a80f575f3badd881e7b38e17b0a9b99faf60b0aa1048239b852109b39c8435da3016f13c5d01599e18bbd843da54264595242fa7f78
|
||||
|
||||
@@ -1,110 +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_{12..15} )
|
||||
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 ..."
|
||||
epytest -o addopts= "${@:2}" tests
|
||||
}
|
||||
|
||||
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
|
||||
# mismatch of expected concurrency in error message
|
||||
# TODO: report upstream?
|
||||
tests/test_concurrency.py::ConcurrencyTest::test_greenlet
|
||||
tests/test_concurrency.py::ConcurrencyTest::test_greenlet_simple_code
|
||||
# packaging tests, fragile to setuptools version
|
||||
tests/test_setup.py
|
||||
# looks like a difference in exit status reporting?
|
||||
# https://github.com/nedbat/coveragepy/issues/2008
|
||||
tests/test_process.py::ProcessTest::test_save_signal_usr1
|
||||
)
|
||||
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[@]}"
|
||||
|
||||
case ${EPYTHON} in
|
||||
*3.11)
|
||||
;;
|
||||
*)
|
||||
# available since Python 3.12
|
||||
test_tracer sysmon "${xdist_args[@]}"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ -n ${c_ext} ]]; then
|
||||
rm coverage/*.so || die
|
||||
fi
|
||||
}
|
||||
@@ -1,110 +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_{12..15} python3_{14,15}t )
|
||||
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 ..."
|
||||
epytest -o addopts= "${@:2}" tests
|
||||
}
|
||||
|
||||
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
|
||||
# mismatch of expected concurrency in error message
|
||||
# TODO: report upstream?
|
||||
tests/test_concurrency.py::ConcurrencyTest::test_greenlet
|
||||
tests/test_concurrency.py::ConcurrencyTest::test_greenlet_simple_code
|
||||
# packaging tests, fragile to setuptools version
|
||||
tests/test_setup.py
|
||||
# looks like a difference in exit status reporting?
|
||||
# https://github.com/nedbat/coveragepy/issues/2008
|
||||
tests/test_process.py::ProcessTest::test_save_signal_usr1
|
||||
)
|
||||
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[@]}"
|
||||
|
||||
case ${EPYTHON} in
|
||||
*3.11)
|
||||
;;
|
||||
*)
|
||||
# available since Python 3.12
|
||||
test_tracer sysmon "${xdist_args[@]}"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ -n ${c_ext} ]]; then
|
||||
rm coverage/*.so || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user