Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/mocker: mocker-1.1.1.ebuild ChangeLog mocker-1.0.ebuild
Date: Sat, 03 Nov 2012 18:24:49
Message-Id: 20121103182432.E54FA215FF@flycatcher.gentoo.org
1 idella4 12/11/03 18:24:32
2
3 Modified: ChangeLog
4 Added: mocker-1.1.1.ebuild
5 Removed: mocker-1.0.ebuild
6 Log:
7 bumped to mocker-1.1.1, new patch for pypy to pass tests, mocker-1.0 dropped, closes Bug 425686
8
9 (Portage version: 2.1.11.30/cvs/Linux x86_64, unsigned Manifest commit)
10
11 Revision Changes Path
12 1.7 dev-python/mocker/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mocker/ChangeLog?rev=1.7&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mocker/ChangeLog?rev=1.7&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mocker/ChangeLog?r1=1.6&r2=1.7
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/mocker/ChangeLog,v
21 retrieving revision 1.6
22 retrieving revision 1.7
23 diff -u -r1.6 -r1.7
24 --- ChangeLog 16 Sep 2011 08:01:07 -0000 1.6
25 +++ ChangeLog 3 Nov 2012 18:24:32 -0000 1.7
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-python/mocker
28 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mocker/ChangeLog,v 1.6 2011/09/16 08:01:07 djc Exp $
30 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mocker/ChangeLog,v 1.7 2012/11/03 18:24:32 idella4 Exp $
32 +
33 +*mocker-1.1.1 (04 Nov 2012)
34 +
35 + 04 Nov 2012; Ian Delaney <idella4@g.o>
36 + +files/mocker-1.1.1-pypy_test.patch, +mocker-1.1.1.ebuild, -mocker-1.0.ebuild:
37 + bumped to mocker-1.1.1, new patch for pypy to pass tests, mocker-1.0 dropped,
38 + closes Bug 425686
39
40 *mocker-1.1 (16 Sep 2011)
41
42 @@ -29,4 +36,3 @@
43 +mocker-0.10.1.ebuild:
44 Initial commit, ebuild by Maciej Blizinski <maciej.blizinski@×××××.com> -
45 thanks, Maciej. bug #214433
46 -
47
48
49
50 1.1 dev-python/mocker/mocker-1.1.1.ebuild
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mocker/mocker-1.1.1.ebuild?rev=1.1&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mocker/mocker-1.1.1.ebuild?rev=1.1&content-type=text/plain
54
55 Index: mocker-1.1.1.ebuild
56 ===================================================================
57 # Copyright 1999-2012 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 # $Header: /var/cvsroot/gentoo-x86/dev-python/mocker/mocker-1.1.1.ebuild,v 1.1 2012/11/03 18:24:32 idella4 Exp $
60
61 EAPI="4"
62 PYTHON_DEPEND="2"
63 SUPPORT_PYTHON_ABIS="1"
64 RESTRICT_PYTHON_ABIS="3.*"
65
66 inherit distutils eutils
67
68 DESCRIPTION="Platform for Python test doubles: mocks, stubs, fakes, and dummies"
69 HOMEPAGE="http://labix.org/mocker http://pypi.python.org/pypi/mocker"
70 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"
71
72 LICENSE="BSD"
73 SLOT="0"
74 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
75 IUSE=""
76
77 DEPEND="dev-python/setuptools"
78 RDEPEND=""
79
80 PYTHON_MODNAME="mocker.py"
81
82 src_prepare() {
83 epatch "${FILESDIR}"/${P}-pypy_test.patch
84 }
85
86 src_test() {
87 testing() {
88 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test.py
89 }
90 python_execute_function testing
91 }