From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF2C1158086 for ; Mon, 1 Nov 2021 08:32:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26638E082B; Mon, 1 Nov 2021 08:32:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CAABBE0831 for ; Mon, 1 Nov 2021 08:32:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 06865342D08 for ; Mon, 1 Nov 2021 08:32:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE1621A0 for ; Mon, 1 Nov 2021 08:32:15 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1635755527.36a83c850987bb7460f089aa7c7c9b32805aed20.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/coverage/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/coverage/Manifest dev-python/coverage/coverage-6.1.1.ebuild X-VCS-Directories: dev-python/coverage/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 36a83c850987bb7460f089aa7c7c9b32805aed20 X-VCS-Branch: master Date: Mon, 1 Nov 2021 08:32:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cfa4286d-6f20-45e9-9b6b-35aa46ca19b0 X-Archives-Hash: 2c006ebdc206b86e634bd67bd41d479b commit: 36a83c850987bb7460f089aa7c7c9b32805aed20 Author: Michał Górny gentoo org> AuthorDate: Mon Nov 1 07:36:33 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Nov 1 08:32:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36a83c85 dev-python/coverage: Bump to 6.1.1 Signed-off-by: Michał Górny gentoo.org> dev-python/coverage/Manifest | 1 + dev-python/coverage/coverage-6.1.1.ebuild | 54 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest index c0b2ce702cd..34d573ab1f2 100644 --- a/dev-python/coverage/Manifest +++ b/dev-python/coverage/Manifest @@ -2,3 +2,4 @@ DIST coverage-4.5.4.tar.gz 385185 BLAKE2B 9d040bff13cebd1cb7147f15c3ec03bb08648c DIST coverage-5.5.tar.gz 691258 BLAKE2B 66bf340956b760d996ce424f977b407eb74062db56108e4910459dbcb7c271820ca655a648021763aede1c4d87c44524cea0cb34f969f203f630d48cf15b05b4 SHA512 fb78b4920a2f18afb9545a6f13910f491708443965881954fff6ee8553ab3d6bd898f7a95df1091435e8d5627ac850b880a6233e716a6acb934ecc195ec2ee52 DIST coverage-6.0.2.tar.gz 722511 BLAKE2B 43a860610921fd0df106cbe26ba094e5a11bf1137a795a15bc22d82d0f813e8dc67bfe660757d325f15f719429b480ca625ebe66569489ed8c4c477bac23c393 SHA512 a43a312d4668846b6f72eebac1a289d0a603303cd32624c3308cce8934f693c7d3786b36da5cea3ff1cce60f93110a2ded168304e1ca9a79053f0886b7f1bf17 DIST coverage-6.0.tar.gz 719495 BLAKE2B fa2768cc34f5c8e5e1b0bd328dda4b83bccae4bcb37b1e2ea8ff9a7fad973239a264f12cea7fae7ed129abe1a7aa86b43e2e32fcfd5c4de2077c8b32f405cd3a SHA512 b9a5dcb2aeb8517a9a52feadfd817727086d88682d9d93d65d9f4d7b6116d8eca1ecceaccc98ff34ca2fb1c2d4dc457d0d58d387465e67970ae4df0f4c9f7ca5 +DIST coverage-6.1.1.tar.gz 715305 BLAKE2B fbd7c8e7e1737bc8be8acf0f10c66fa333a027520b5f54869080ea9e31951230442d0d7f5a5ec11201b7ca3ba65ee92c906a373c18123920abe0d3dee5a8e040 SHA512 c029ab4e0d16e4b0a395e63e96d7a8f24bdb3a46a97fbc223d59dafaa52b8522e924a13d88777f862d69e1f30d015b00e0740530e719b6a94065d285cd3dd03a diff --git a/dev-python/coverage/coverage-6.1.1.ebuild b/dev-python/coverage/coverage-6.1.1.ebuild new file mode 100644 index 00000000000..4581809c8ea --- /dev/null +++ b/dev-python/coverage/coverage-6.1.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite(+)" +inherit distutils-r1 + +DESCRIPTION="Code coverage measurement for Python" +HOMEPAGE="https://coverage.readthedocs.io/en/latest/ https://pypi.org/project/coverage/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +#IUSE="test" +# The tests are impossible to appease. Please run them externally +# via tox. Or fix the ebuild if you have hours of time to spend +# on something utterly useless. +RESTRICT="test" + +#BDEPEND=" +# test? ( +# dev-python/PyContracts[${PYTHON_USEDEP}] +# dev-python/flaky[${PYTHON_USEDEP}] +# dev-python/hypothesis[${PYTHON_USEDEP}] +# dev-python/mock[${PYTHON_USEDEP}] +# dev-python/pytest[${PYTHON_USEDEP}] +# >=dev-python/unittest-mixins-1.4[${PYTHON_USEDEP}] +# ) +#" + +src_prepare() { + # avoid the dep on xdist, run tests verbosely + sed -i -e '/^addopts/s:-n3:-v:' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + distutils_install_for_testing + + "${EPYTHON}" igor.py zip_mods || die + "${EPYTHON}" igor.py test_with_tracer py || die + + # No C extensions under pypy + if [[ ${EPYTHON} != pypy* ]]; then + cp -l -- "${TEST_DIR}"/lib/*/coverage/*.so coverage/ || die + "${EPYTHON}" igor.py test_with_tracer c || die + fi + + # clean up leftover "egg1" directory + rm -rf build/lib/egg1 || die +}