diff options
Diffstat (limited to 'dev-python/coverage')
| -rw-r--r-- | dev-python/coverage/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/coverage/coverage-7.10.0.ebuild | 109 | ||||
| -rw-r--r-- | dev-python/coverage/coverage-7.10.2.ebuild | 109 |
3 files changed, 0 insertions, 220 deletions
diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index e2b77a900b7b..177a4634abd8 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,5 +1,3 @@ -DIST coverage-7.10.0.tar.gz 819816 BLAKE2B 18e404a03b95a03fad0a4d1b51e3888dfc19e8664370bf89dcbd917969b8a240c4f80577b87231ee022d9bc10de9bdc248223ad531ac2ffafd78a4a5cbba3e74 SHA512 27575b11c3a14d8de73ffb1e56f64ba9c218bace54290685241ce347f2c246950b8ce30bc5c97497c5663196001b2dba5541ae05cf004552cf1f0a09b85fea08 -DIST coverage-7.10.2.tar.gz 820754 BLAKE2B 6d743134e950de09ade50fc2b921be0ffaa20d88a33023495f8453df6e789b87fe5f8d08b0bdac3fdbde4bb71ab367d4fc43cc429ebd5e6bb941f283a9ac88bd SHA512 5faafc9fbcbd539741f4d3e68a3a033ee3109aa42958f12f5e33cc2f2c0eadfe4c729f23225804d38a1dfadde5d84a9b5c76970a35d3dbe852a94c74d618f388 DIST coverage-7.10.4.tar.gz 823798 BLAKE2B 65ba8f5931ac5e577da9636a3df82e8b5a4b0447c051e671d18446c56cd642f0c0904984995ebf2896e91d8f1c12b3b1c5f2895269979bb4cba430008a2ae4b1 SHA512 59b7ac1b21be9b5fa5af8710568c24dfedc53d39d6ded5e79af2472ad64c2546e76f2eaaf0c0e4e387d00c52c3932e1d81970c4e14432cf6b19eb1be8fbeb21d DIST coverage-7.9.1.tar.gz 813650 BLAKE2B 42ea77277135a98d812c690aad744db427d6832ff01af68197015e4ff932c7ca88d2f804c0bceaca28b86087cb24245e5f57600444d064f1f008fc8b0a2353b5 SHA512 0bccbf802cdbd7d4df7c88cd7573466b024f7fb4cbf41fc5166a3e2dd70cd107caad01529971eb061cd571faadb342de057d0929f02b3b3e513666c052ecf591 DIST coverage-7.9.2.tar.gz 813556 BLAKE2B 6ed57a0011f7d05634c2a5c1e023f9ccfbb40d9a4bdd9011f2eaf03b658468a18df2044417f15108ec6429b6b62c63cd6a73e31904c0266137a4c6e65557207f SHA512 33ace642aada4b0ff5a72c3df628fe60fcc8b5f586f4851bfecc2ffa237cf019cbd78413c133aa8454e168b8895bfbc1363b722cf072eaf90979935b1982662c diff --git a/dev-python/coverage/coverage-7.10.0.ebuild b/dev-python/coverage/coverage-7.10.0.ebuild deleted file mode 100644 index cd489db384a5..000000000000 --- a/dev-python/coverage/coverage-7.10.0.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) -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/nedbat/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 -} diff --git a/dev-python/coverage/coverage-7.10.2.ebuild b/dev-python/coverage/coverage-7.10.2.ebuild deleted file mode 100644 index cd489db384a5..000000000000 --- a/dev-python/coverage/coverage-7.10.2.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) -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/nedbat/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 -} |
