coverage: remove in Gentoo's favour

This commit is contained in:
blshkv 2020-05-12 09:38:59 +08:00
parent c5ffa5d522
commit 2d3d1ad08f
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
4 changed files with 0 additions and 108 deletions

View file

@ -1,2 +0,0 @@
DIST coverage-4.5.3.tar.gz 384747 BLAKE2B 1693047011f7cf9e59b34f6eb85495893563b42582b03e24020e665ebc85734943f4b7063e2f2d1505a8063e71517e5572e519dc510f4806d856d74a56fdbce9 SHA512 4493139c8fdd7e3fd09f8f99af330d270cb48c2a0645ba5131fa3c5190b53e7d779e2c07fddf4f8ddf9f4215ce11536c29b8796602cb113c5d3d89144ddbec82
DIST coverage-4.5.4.tar.gz 385185 BLAKE2B 9d040bff13cebd1cb7147f15c3ec03bb08648cf801b5b2bb046a6b5bcadb3d3886be8bf0a624d225f25d10a5ca82fe5fb88f55e44e92a0a3285836b837972970 SHA512 ba534e04fe35cbadc4b16735f25c08f579a49a6677ec106680f222f2dfb3d0f1e011d0962f1c2108c375173ac4588bea1619ecda05ff9ba6fd888daddfd27b0e

View file

@ -1,44 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
PYTHON_REQ_USE="threads(+)"
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="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
RDEPEND=""
DEPEND="
>=dev-python/setuptools-18.4[${PYTHON_USEDEP}]
test? (
dev-python/PyContracts[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
)
"
python_compile() {
if [[ ${EPYTHON} == python2.7 ]]; then
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
export CFLAGS
fi
distutils-r1_python_compile
}
python_test() {
cd "${BUILD_DIR}"/lib || die
[[ "${PYTHON}" =~ pypy ]] && export COVERAGE_NO_EXTENSION=no
${PYTHON} "${S}"/igor.py test_with_tracer py || die
${PYTHON} "${S}"/igor.py test_with_tracer c || die
}

View file

@ -1,43 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
PYTHON_REQ_USE="threads(+)"
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="~amd64 ~arm ~arm64 ~x86"
IUSE=""
RDEPEND=""
DEPEND="${PYTHON_DEPS}"
# test? (
# dev-python/pytest[${PYTHON_USEDEP}]
# dev-python/PyContracts[${PYTHON_USEDEP}]
# dev-python/mock[${PYTHON_USEDEP}]
# dev-python/nose[${PYTHON_USEDEP}]
# )"
python_compile() {
if [[ ${EPYTHON} == python2.7 ]]; then
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
export CFLAGS
fi
distutils-r1_python_compile
}
#python_test() {
# cd "${BUILD_DIR}"/lib || die
# [[ "${PYTHON}" =~ pypy ]] && export COVERAGE_NO_EXTENSION=no
# ${PYTHON} "${S}"/igor.py test_with_tracer py || die
# ${PYTHON} "${S}"/igor.py test_with_tracer c || die
#}

View file

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>robbat2@gentoo.org</email>
<name>Robin H. Johnson</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<longdescription lang="en">Coverage.py is a Python module that measures code coverage during Python
execution. It uses the code analysis tools and tracing hooks provided in the
Python standard library to determine which lines are executable, and which have
been executed.</longdescription>
<upstream>
<remote-id type="pypi">coverage</remote-id>
</upstream>
</pkgmetadata>