summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-11-04 15:13:06 +0100
committerJustin Lecher <jlec@gentoo.org>2015-11-04 15:15:15 +0100
commit14344e30b5347d008adac5aa0f530fabe695bd4e (patch)
tree1af216a36b3f1295e5d5111dd29917620cc99880 /dev-python/coverage
parentdev-python/regendoc: Version Bump (diff)
downloadgentoo-14344e30b5347d008adac5aa0f530fabe695bd4e.tar.gz
gentoo-14344e30b5347d008adac5aa0f530fabe695bd4e.tar.bz2
gentoo-14344e30b5347d008adac5aa0f530fabe695bd4e.zip
dev-python/coverage: Version Bump
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/coverage')
-rw-r--r--dev-python/coverage/Manifest1
-rw-r--r--dev-python/coverage/coverage-4.0.2.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/coverage/Manifest b/dev-python/coverage/Manifest
index 6e2e820c2783..39042c29f5fc 100644
--- a/dev-python/coverage/Manifest
+++ b/dev-python/coverage/Manifest
@@ -2,4 +2,5 @@ DIST coverage-3.6.tar.gz 232067 SHA256 df3bf169d4727f3fad146ca715a49a1f72a825868
DIST coverage-3.7.1.tar.gz 284735 SHA256 d1aea1c4aa61b8366d6a42dd3650622fbf9c634ed24eaf7f379c8b970e5ed44e SHA512 d198b06db938119fad8c13b9a7bbf018a5406c29327c943014e3b9b33ea85f0fbadaef6565fba26a461a3f1ee31f4cbfb42503420cc587c846ce499e80fd5133 WHIRLPOOL f07d239053bf357fe3dca7bec04d390db9b6610060fd848c9f15ea9de2f0a141d66e68cba5833a63bde860f4377c9029574e6ea7ed76ffe2fda332703e3100ab
DIST coverage-3.7.tar.gz 283419 SHA256 c50ee4c391a083d87e2345b0094a7ec24a07b98b4e435f134d02a62ea3827fdb SHA512 62d20d8a3f5be93c8eae513b61330cd5876df94cb7269ff90bcc0d4b946dd426b7bad9bcb74e2b6334a5c14178c408667c7dfd00d5362ee499c203d4ac55d189 WHIRLPOOL 910e766d2eaa7918611325beacb4ab2dd220cccf2478b01e635b8339f4bdd11823b69a1c5a630d20342188db7e1aae0ab0d26e85743ce3f0e24c1ead5f49e64b
DIST coverage-4.0.1.tar.gz 349737 SHA256 bc10f57a83863e8ca8916f763f13b4b249e2f85b553df3958281cb7f4f402d5b SHA512 457a39fe122daf4c92d1e54d2295eb538db7045fb09f56bdd385a322293b1949443a468133069b723799b78d5e6cb7831cd9fb660064bb0ce8611591e0e68b17 WHIRLPOOL c07ba967261105a50c8707b2dc7ebc04fe38affca5a6e61259f4a6c43900538e018c3e31237360410e4755a4beea460626a1ad8fd33105a00fb4a41890d71cb6
+DIST coverage-4.0.2.tar.gz 352797 SHA256 a9bac9b1d17f0c776e3e575f42cf2572a0eab240a223945238719e0982ff28bb SHA512 ba3ec08bc1dfb297b792efdf30708d631075c29d5d40d7d27e0515fa318c023379200b6a6f2c1a70c68a6f1bfd92b8a8cecd8667219aff6bc26f6285cec73ebc WHIRLPOOL e346539f5f19baf28f038142309501607dc34c3817fe48d94fdbaaa8673323c4222527a3b731aa21f7100cb81248801062a40849948c73a0c7759ebc12ddd25f
DIST coverage-4.0.tar.gz 166399 SHA256 b1244343e39cb2835f9c89c2d8fbcad8e4a5b4945344b434a4d8b6e9e7431390 SHA512 ef8c4cf9025df16d8d2a60bc7c09cf7507118104df98212504c56df7c0758af603995bc6734a939631c83d9d8532d2f85fb903e7dc2ea6694b18b4b1a1162e0f WHIRLPOOL 15db3f5d793009154fdd496a917e2494f81466b220b481a9f74e474ea70610b837c3c830f83a3df743231c9e786e42f6a253515c152b9c5f34b2921b6e7ecf08
diff --git a/dev-python/coverage/coverage-4.0.2.ebuild b/dev-python/coverage/coverage-4.0.2.ebuild
new file mode 100644
index 000000000000..3a0ded212933
--- /dev/null
+++ b/dev-python/coverage/coverage-4.0.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Code coverage measurement for Python"
+HOMEPAGE="http://nedbatchelder.com/code/coverage/ https://pypi.python.org/pypi/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 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="
+ >=dev-python/setuptools-18.4[${PYTHON_USEDEP}]
+ test? (
+ dev-python/PyContracts[${PYTHON_USEDEP}]
+ dev-python/mock[${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
+}