Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sure/
Date: Sun, 20 Dec 2015 16:35:56
Message-Id: 1450629342.6eefc82068c2cc8c800fca9c2b70f3b8c407bc03.jlec@gentoo
1 commit: 6eefc82068c2cc8c800fca9c2b70f3b8c407bc03
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 20 15:28:23 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 20 16:35:42 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6eefc820
7
8 dev-python/sure: Version Bump
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/sure/Manifest | 1 +
14 dev-python/sure/sure-1.2.24.ebuild | 41 ++++++++++++++++++++++++++++++++++++++
15 2 files changed, 42 insertions(+)
16
17 diff --git a/dev-python/sure/Manifest b/dev-python/sure/Manifest
18 index 051f282..fb56c85 100644
19 --- a/dev-python/sure/Manifest
20 +++ b/dev-python/sure/Manifest
21 @@ -1,3 +1,4 @@
22 +DIST sure-1.2.24.tar.gz 28089 SHA256 5c0456a0bfec40ffe57bf9f1f1d4f6cfd4b92848b8c97b5b4165afb933c0d2d3 SHA512 875d2cb220d8915737909df372bedc2266c5c948c6f5ea23f3de5ee57b0f1179d2a0ae3455228d71a4f0f4279c098bb4c142a862b55462d67fd425c0def49a8b WHIRLPOOL 6cc102e2aabb143af0ae8104a4ce7d2fe44c00facf2d27d43b5d9e44f9f9b81ba888d6e2df91f2c14b3d50c5502450dc4c353e802a17c176353f284cd84db9a2
23 DIST sure-1.2.3.tar.gz 16921 SHA256 f6200277de5b63094f2d1d384967e19a95be53ba664bb7a748b3b183e5cfadf7 SHA512 79f9e7639e468e61858d70cb3184c44e9de30d1ecefb4701e3a305b9fc231b9a4df27e795f8b31da6ddc221ba002bc83dd59621e7f364598c80b831a4bcc9fa9 WHIRLPOOL 1c2d5d58b2765e1ea89bb27d079083479f4460a01ae735268fbc82148643348a8796ec6142b39e4a188fb6bad16a130578b66ae52bd2ebe112bd2972cd6cc54a
24 DIST sure-1.2.5-r1.tar.gz 52128 SHA256 8a77c1372f3bf9784310b3cf0ab66e86190b531a2b68e47616bce0e4e4983fbe SHA512 733df3a9482cc23e5f078b554a80a726ed87f4ac307b00166d5ad7d8d40de47fe7d77a7373b213d75fc78849a2ba0dbea89f71c6f29449f52eab448fdf847c45 WHIRLPOOL d466c9a6016f636f2b388ed001c12f7e050184b2b54507e1ef5ead4899b2ab8433022254645bd7a989f15105d768902e18289c8f23cff82277d422811f1b7cfb
25 DIST sure-1.2.5.tar.gz 19048 SHA256 63f9861f607c5a27d090edaf91e6c93421a11ae1c011171f7394f44ccc391cdc SHA512 41f097318093b7e1683c38cae7aad3551bcc4e82918d3005388ce660c81a014b0939d3ad9dc12905c50892c82282c3e90aadb01ca7600b593d09afa2549c7135 WHIRLPOOL ea3bb51d9f0b375656b248c80c0a381fc026347efb0a94c856fb319c1e6f1e7d9e6e5a665f57e835a4fdb50060f3b2fa4c9168e8f61ae01af5a05bfc337a9481
26
27 diff --git a/dev-python/sure/sure-1.2.24.ebuild b/dev-python/sure/sure-1.2.24.ebuild
28 new file mode 100644
29 index 0000000..eb3ec23
30 --- /dev/null
31 +++ b/dev-python/sure/sure-1.2.24.ebuild
32 @@ -0,0 +1,41 @@
33 +# Copyright 1999-2015 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +
39 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Utility belt for automated testing in python for python"
44 +HOMEPAGE="https://github.com/gabrielfalcao/sure"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="GPL-3"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="test"
51 +
52 +CDEPEND="
53 + dev-python/mock[${PYTHON_USEDEP}]
54 + >=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
55 + dev-python/six[${PYTHON_USEDEP}]
56 + ~dev-python/rednose-0.4.1[${PYTHON_USEDEP}]
57 +"
58 +DEPEND="
59 + dev-python/setuptools[${PYTHON_USEDEP}]
60 + test? ( ${CDEPEND} )
61 +"
62 +RDEPEND="${CDEPEND}"
63 +
64 +python_prepare_all() {
65 + sed \
66 + -e "82s/read_version()/'${PV}'/" \
67 + -i setup.py || die
68 + distutils-r1_python_prepare_all
69 +}
70 +
71 +python_test() {
72 + nosetests -v -s tests --rednose || die "Tests failed under ${EPYTHON}"
73 +}