diff options
Diffstat (limited to 'dev-python/coverage')
| -rw-r--r-- | dev-python/coverage/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/coverage/coverage-7.13.4.ebuild | 110 |
2 files changed, 0 insertions, 112 deletions
diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index aa2a3e58c95b..acd907bd4a67 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -1,4 +1,2 @@ -DIST coverage-7.13.4.tar.gz 827239 BLAKE2B 97a0d24240c4e9617909d5138238cebc9d88ff6eaafb51a98d7d9e88db7856ee2397ddc760708407954b6ed1ec0b71c864b5f3e2efa87b79e835d41765289782 SHA512 90369ffbb0105cb31be14cdf3e7a909090c96c692a03c63b36030b734b439b9720ea957d6f03c759a91ae17de93d9030cd314c8630a021f2e4f6d9df376910f8 -DIST coverage-7.13.4.tar.gz.provenance 9440 BLAKE2B f1053da51b5f6697f41fe9bfe1e4f2cee3e30c4539ab6b7a67824e8c6d3f3da2a1badff0efde5941772a0397e0c9b7f949e40e6dce688b9d29b30e4834e741f5 SHA512 a5c490008c872924a19addbda7dc8e574ecc8a8e9197ceaf64700655a475f21e856c0a69f174e3065b0dd4bba3dc1457f640d007bb249e3410df7d691e72dbc9 DIST coverage-7.13.5.tar.gz 915967 BLAKE2B e31e8855746c255db960c20b8cef10c3ef9e8f7e90d7003e59de4a4de066092b4951c74681049a34ee8d320504904376503acab046398c98788fd38ad255bf79 SHA512 6210bbd9ed0c044d07630f4303ae97e3c9f84e3bb288d748e7c7598da2206303454fa1827116defc60b557b8dd6c2aca887003634008fc425e45ba4e0cba0097 DIST coverage-7.13.5.tar.gz.provenance 9680 BLAKE2B 2d4f7742ba5dcaed044b75fde5951d0dd27898c3279f3484edca7b336b9b1cb8c1270acaff8101e0d1a8c3fad75e3b545bb4d9448629dffee7bc516251710ea2 SHA512 538158dac92b66c524d60c76939052b71cd347716e55658638eaaf7d4630b86a0bb5e12f198187700dc72c6e5d4cf41b44b4f293a2091ededa39352d8ceb8bf8 diff --git a/dev-python/coverage/coverage-7.13.4.ebuild b/dev-python/coverage/coverage-7.13.4.ebuild deleted file mode 100644 index 35405eddf989..000000000000 --- a/dev-python/coverage/coverage-7.13.4.ebuild +++ /dev/null @@ -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_{10..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 ..." - 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 -} |
