Gentoo Archives: gentoo-commits

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