Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/fudge: fudge-1.0.3-r2.ebuild ChangeLog fudge-1.0.3-r1.ebuild
Date: Sun, 01 Sep 2013 10:04:51
Message-Id: 20130901100444.1DCD12004C@flycatcher.gentoo.org
1 mgorny 13/09/01 10:04:44
2
3 Modified: ChangeLog
4 Added: fudge-1.0.3-r2.ebuild
5 Removed: fudge-1.0.3-r1.ebuild
6 Log:
7 Fix the distutils-r1 ebuild.
8
9 (Portage version: 9999/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
10
11 Revision Changes Path
12 1.8 dev-python/fudge/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/fudge/ChangeLog?rev=1.8&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/fudge/ChangeLog?rev=1.8&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/fudge/ChangeLog?r1=1.7&r2=1.8
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/fudge/ChangeLog,v
21 retrieving revision 1.7
22 retrieving revision 1.8
23 diff -u -r1.7 -r1.8
24 --- ChangeLog 7 Jun 2013 15:30:53 -0000 1.7
25 +++ ChangeLog 1 Sep 2013 10:04:43 -0000 1.8
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-python/fudge
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/fudge/ChangeLog,v 1.7 2013/06/07 15:30:53 idella4 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/fudge/ChangeLog,v 1.8 2013/09/01 10:04:43 mgorny Exp $
31 +
32 +*fudge-1.0.3-r2 (01 Sep 2013)
33 +
34 + 01 Sep 2013; Michał Górny <mgorny@g.o> +fudge-1.0.3-r2.ebuild,
35 + -fudge-1.0.3-r1.ebuild:
36 + Fix the distutils-r1 ebuild.
37
38 *fudge-0.9.6 (07 Jun 2013)
39
40
41
42
43 1.1 dev-python/fudge/fudge-1.0.3-r2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/fudge/fudge-1.0.3-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/fudge/fudge-1.0.3-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: fudge-1.0.3-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/fudge/fudge-1.0.3-r2.ebuild,v 1.1 2013/09/01 10:04:43 mgorny Exp $
53
54 EAPI=5
55 PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy2_0 )
56
57 inherit distutils-r1
58
59 DESCRIPTION="Replace real objects with fakes (mocks, stubs, etc) while testing"
60 HOMEPAGE="http://farmdev.com/projects/fudge/ http://pypi.python.org/pypi/fudge"
61 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
62
63 LICENSE="MIT"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="doc test"
67
68 RDEPEND=""
69 DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
70 test? ( dev-python/nose[${PYTHON_USEDEP}] )"
71
72 python_prepare_all() {
73 find -name "._*" -delete || die
74 distutils-r1_python_prepare_all
75 }
76
77 python_compile_all() {
78 use doc && emake -C docs html
79 }
80
81 python_test() {
82 nosetests -w "${BUILD_DIR}"/lib/${PN}/tests \
83 || die "Tests fail with ${EPYTHON}"
84 }
85
86 python_install_all() {
87 use doc && local HTML_DOCS=( docs/_build/html/. )
88 distutils-r1_python_install_all
89 }