dev-python/coverage: version bump to 4.0
authorDirkjan Ochtman <djc@gentoo.org>
Mon, 21 Sep 2015 06:17:20 +0000 (08:17 +0200)
committerDirkjan Ochtman <djc@gentoo.org>
Mon, 21 Sep 2015 06:17:20 +0000 (08:17 +0200)
Package-Manager: portage-2.2.20.1

dev-python/coverage/Manifest
dev-python/coverage/coverage-4.0.ebuild [new file with mode: 0644]

index 9316b3a03041b66dd53b54b2a2f7c9bca070ecb4..1828f72f485f780bed6e7fbaba29ed4ebf348d9f 100644 (file)
@@ -1,3 +1,4 @@
 DIST coverage-3.6.tar.gz 232067 SHA256 df3bf169d4727f3fad146ca715a49a1f72a8258689651ef9de908022e739700d SHA512 fb9f26ba20dced48d01929251a08b0b9da2bc5910ccc734910aed76634bd98b538983880e2e29c2c4604f6b97ed3a947871dfe8c9a43acc4556484e4c77ee68e WHIRLPOOL c6163901763dadd4cfba13953dd2535778b0da73a4f08f1400534135d49d54558736c46253146cbe03f9680d33f3cd2a33f8be7795ff17054bf0608393ac6eca
 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.tar.gz 166399 SHA256 b1244343e39cb2835f9c89c2d8fbcad8e4a5b4945344b434a4d8b6e9e7431390 SHA512 ef8c4cf9025df16d8d2a60bc7c09cf7507118104df98212504c56df7c0758af603995bc6734a939631c83d9d8532d2f85fb903e7dc2ea6694b18b4b1a1162e0f WHIRLPOOL 15db3f5d793009154fdd496a917e2494f81466b220b481a9f74e474ea70610b837c3c830f83a3df743231c9e786e42f6a253515c152b9c5f34b2921b6e7ecf08
diff --git a/dev-python/coverage/coverage-4.0.ebuild b/dev-python/coverage/coverage-4.0.ebuild
new file mode 100644 (file)
index 0000000..a2e1c40
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} 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=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+python_compile() {
+       if [[ ${EPYTHON} == python2.7 ]]; then
+               local CFLAGS="${CFLAGS} -fno-strict-aliasing"
+               export CFLAGS
+       fi
+
+       distutils-r1_python_compile
+}