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-2.0.6.ebuild ChangeLog
Date: Mon, 03 Jun 2013 06:22:41
Message-Id: 20130603062237.977232171D@flycatcher.gentoo.org
1 patrick 13/06/03 06:22:37
2
3 Modified: ChangeLog
4 Added: webtest-2.0.6.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.60 dev-python/webtest/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/ChangeLog?rev=1.60&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/ChangeLog?rev=1.60&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/ChangeLog?r1=1.59&r2=1.60
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/webtest/ChangeLog,v
20 retrieving revision 1.59
21 retrieving revision 1.60
22 diff -u -r1.59 -r1.60
23 --- ChangeLog 19 Apr 2013 02:31:55 -0000 1.59
24 +++ ChangeLog 3 Jun 2013 06:22:37 -0000 1.60
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/webtest
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/ChangeLog,v 1.59 2013/04/19 02:31:55 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/ChangeLog,v 1.60 2013/06/03 06:22:37 patrick Exp $
30 +
31 +*webtest-2.0.6 (03 Jun 2013)
32 +
33 + 03 Jun 2013; Patrick Lauer <patrick@g.o> +webtest-2.0.6.ebuild:
34 + Bump
35
36 *webtest-2.0.5 (19 Apr 2013)
37
38
39
40
41 1.1 dev-python/webtest/webtest-2.0.6.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/webtest-2.0.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webtest/webtest-2.0.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: webtest-2.0.6.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/webtest-2.0.6.ebuild,v 1.1 2013/06/03 06:22:37 patrick Exp $
51
52 EAPI=5
53
54 # sigh.
55 RESTRICT="test"
56
57 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
58 PYTHON_TESTS_RESTRICTED_ABIS="3.*"
59
60 inherit distutils-r1
61
62 MY_PN="WebTest"
63 MY_P="${MY_PN}-${PV}"
64
65 DESCRIPTION="Helper to test WSGI applications"
66 HOMEPAGE="http://pythonpaste.org/webtest/ http://pypi.python.org/pypi/WebTest"
67 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
68
69 LICENSE="MIT"
70 SLOT="0"
71 KEYWORDS="~amd64 ~x86"
72 IUSE="doc test"
73
74 RDEPEND=">=dev-python/webob-0.9.2[${PYTHON_USEDEP}]"
75 DEPEND="${RDEPEND}
76 app-arch/unzip
77 dev-python/setuptools[${PYTHON_USEDEP}]
78 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
79 test? ( dev-python/nose[${PYTHON_USEDEP}]
80 dev-python/pyquery[${PYTHON_USEDEP}]
81 dev-python/waitress[${PYTHON_USEDEP}]
82 dev-python/wsgiproxy2[${PYTHON_USEDEP}]
83 dev-python/paste
84 dev-python/pastedeploy )"
85
86 S="${WORKDIR}/${MY_P}"
87
88 python_compile_all() {
89 if use doc; then
90 sphinx-build docs html || die
91 fi
92 }
93
94 python_test() {
95 nosetests || die "Tests fail with ${EPYTHON}"
96 }
97
98 python_install() {
99 distutils-r1_python_install
100
101 # Why is it so?
102 if [[ ${EPYTHON} == python3* ]]; then
103 rm -f "${D}$(python_get_sitedir)"/webtest/lint3.py
104 fi
105 }
106
107 python_install_all() {
108 use doc && local HTML_DOCS=( html/. )
109 distutils-r1_python_install_all
110 }