Gentoo Archives: gentoo-commits

From: "Ali Polatel (hawking)" <hawking@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/nose: ChangeLog nose-0.10.3.ebuild
Date: Wed, 25 Jun 2008 10:26:27
Message-Id: E1KBSCj-0004zS-Tn@stork.gentoo.org
1 hawking 08/06/25 10:26:21
2
3 Modified: ChangeLog
4 Added: nose-0.10.3.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r1 x86_64)
8
9 Revision Changes Path
10 1.11 dev-python/nose/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/nose/ChangeLog?rev=1.11&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/nose/ChangeLog?rev=1.11&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/nose/ChangeLog?r1=1.10&r2=1.11
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v
19 retrieving revision 1.10
20 retrieving revision 1.11
21 diff -u -r1.10 -r1.11
22 --- ChangeLog 31 Jan 2008 16:38:56 -0000 1.10
23 +++ ChangeLog 25 Jun 2008 10:26:21 -0000 1.11
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/nose
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.10 2008/01/31 16:38:56 hawking Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/nose/ChangeLog,v 1.11 2008/06/25 10:26:21 hawking Exp $
29 +
30 +*nose-0.10.3 (25 Jun 2008)
31 +
32 + 25 Jun 2008; Ali Polatel <hawking@g.o> +nose-0.10.3.ebuild:
33 + Version bump.
34
35 *nose-0.10.1 (31 Jan 2008)
36
37
38
39
40 1.1 dev-python/nose/nose-0.10.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/nose/nose-0.10.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/nose/nose-0.10.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: nose-0.10.3.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-python/nose/nose-0.10.3.ebuild,v 1.1 2008/06/25 10:26:21 hawking Exp $
50
51 inherit distutils eutils
52
53 DESCRIPTION="A unittest extension offering automatic test suite discovery and easy test authoring"
54 HOMEPAGE="http://somethingaboutorange.com/mrl/projects/nose/"
55 SRC_URI="http://somethingaboutorange.com/mrl/projects/nose/${P}.tar.gz"
56
57 LICENSE="LGPL-2.1"
58 SLOT="0"
59 KEYWORDS="~amd64 ~x86"
60 IUSE="doc examples test"
61
62 RDEPEND="dev-python/setuptools"
63 DEPEND="${RDEPEND}
64 test? ( dev-python/twisted )"
65
66 src_unpack() {
67 distutils_src_unpack
68
69 # Disable tests that access the network
70 epatch "${FILESDIR}/${PN}-0.10.0-tests-nonetwork.patch"
71 }
72
73 src_install() {
74 DOCS="AUTHORS"
75 distutils_src_install --install-data /usr/share
76
77 use doc && dohtml doc/*
78
79 if use examples ; then
80 insinto /usr/share/doc/${PF}
81 doins -r examples
82 fi
83 }
84
85 src_test() {
86 # Create the missing empty directory, that's required for tests to pass
87 if [[ ! -e "${S}"/functional_tests/support/empty ]]; then
88 mkdir "${S}"/functional_tests/support/empty
89 fi
90 PYTHONPATH=. "${python}" setup.py test || die "test failed"
91 }
92
93
94
95 --
96 gentoo-commits@l.g.o mailing list