Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/webtest: webtest-1.4.3.ebuild ChangeLog
Date: Thu, 29 Nov 2012 06:20:53
Message-Id: 20121129062041.772A120C65@flycatcher.gentoo.org
1 patrick 12/11/29 06:20:41
2
3 Modified: ChangeLog
4 Added: webtest-1.4.3.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.42 dev-python/webtest/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/ChangeLog?rev=1.42&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/ChangeLog?rev=1.42&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/ChangeLog?r1=1.41&r2=1.42
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/webtest/ChangeLog,v
20 retrieving revision 1.41
21 retrieving revision 1.42
22 diff -u -r1.41 -r1.42
23 --- ChangeLog 13 Oct 2012 19:00:10 -0000 1.41
24 +++ ChangeLog 29 Nov 2012 06:20:41 -0000 1.42
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/webtest
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/ChangeLog,v 1.41 2012/10/13 19:00:10 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/ChangeLog,v 1.42 2012/11/29 06:20:41 patrick Exp $
30 +
31 +*webtest-1.4.3 (29 Nov 2012)
32 +
33 + 29 Nov 2012; Patrick Lauer <patrick@g.o> +webtest-1.4.3.ebuild:
34 + Bump
35
36 13 Oct 2012; Raúl Porcel <armin76@g.o> webtest-1.2.3.ebuild,
37 webtest-1.3.ebuild, webtest-1.3.4.ebuild, webtest-1.4.0.ebuild:
38
39
40
41 1.1 dev-python/webtest/webtest-1.4.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/webtest-1.4.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/webtest-1.4.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: webtest-1.4.3.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/webtest-1.4.3.ebuild,v 1.1 2012/11/29 06:20:41 patrick Exp $
51
52 EAPI="3"
53 PYTHON_DEPEND="2:2.6 3:3.2"
54 SUPPORT_PYTHON_ABIS="1"
55 RESTRICT_PYTHON_ABIS="2.5 3.1"
56 PYTHON_TESTS_RESTRICTED_ABIS="*-pypy-*"
57 DISTUTILS_SRC_TEST="nosetests"
58
59 inherit distutils
60
61 MY_PN="WebTest"
62 MY_P="${MY_PN}-${PV}"
63
64 DESCRIPTION="Helper to test WSGI applications"
65 HOMEPAGE="http://pythonpaste.org/webtest/ http://pypi.python.org/pypi/WebTest"
66 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
67
68 LICENSE="MIT"
69 SLOT="0"
70 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
71 IUSE="doc"
72
73 RDEPEND=">=dev-python/webob-0.9.2"
74 DEPEND="${RDEPEND}
75 dev-python/setuptools
76 doc? ( dev-python/sphinx )
77 test? ( dev-python/pyquery )"
78
79 S="${WORKDIR}/${MY_P}"
80
81 src_compile() {
82 distutils_src_compile
83
84 if use doc; then
85 einfo "Generation of documentation"
86 sphinx-build docs html || die "Building of documentation failed"
87 fi
88 }
89
90 src_install() {
91 distutils_src_install
92
93 # Avoid future-import bug on py2.5.* - lint3 is py3 anyway
94 delete_lint3() {
95 [[ "${PYTHON_ABI}" == 3.* ]] && return
96 rm "${ED}$(python_get_sitedir)/webtest/lint3.py"
97 }
98 python_execute_function -q delete_lint3
99
100 if use doc; then
101 dohtml -r html/*
102 fi
103 }