Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/webob: webob-1.0.7.ebuild ChangeLog
Date: Fri, 29 Apr 2011 20:16:19
Message-Id: 20110429201609.834A220054@flycatcher.gentoo.org
1 arfrever 11/04/29 20:16:09
2
3 Modified: ChangeLog
4 Added: webob-1.0.7.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha30_p19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.35 dev-python/webob/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webob/ChangeLog?rev=1.35&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webob/ChangeLog?rev=1.35&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webob/ChangeLog?r1=1.34&r2=1.35
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/webob/ChangeLog,v
20 retrieving revision 1.34
21 retrieving revision 1.35
22 diff -u -r1.34 -r1.35
23 --- ChangeLog 29 Apr 2011 20:10:26 -0000 1.34
24 +++ ChangeLog 29 Apr 2011 20:16:09 -0000 1.35
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/webob
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/webob/ChangeLog,v 1.34 2011/04/29 20:10:26 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/webob/ChangeLog,v 1.35 2011/04/29 20:16:09 arfrever Exp $
30 +
31 +*webob-1.0.7 (29 Apr 2011)
32 +
33 + 29 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + +webob-1.0.7.ebuild:
35 + Version bump.
36
37 29 Apr 2011; Samuli Suominen <ssuominen@g.o> webob-1.0.6.ebuild:
38 ppc64 stable wrt #365335
39
40
41
42 1.1 dev-python/webob/webob-1.0.7.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webob/webob-1.0.7.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webob/webob-1.0.7.ebuild?rev=1.1&content-type=text/plain
46
47 Index: webob-1.0.7.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/webob/webob-1.0.7.ebuild,v 1.1 2011/04/29 20:16:09 arfrever Exp $
52
53 EAPI="3"
54 PYTHON_DEPEND="2"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="3.*"
57 DISTUTILS_SRC_TEST="nosetests"
58
59 inherit distutils
60
61 MY_PN="WebOb"
62 MY_P="${MY_PN}-${PV}"
63
64 DESCRIPTION="WSGI request and response object"
65 HOMEPAGE="http://pythonpaste.org/webob/ http://pypi.python.org/pypi/WebOb"
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 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
71 IUSE="doc test"
72
73 DEPEND="app-arch/unzip
74 dev-python/setuptools
75 doc? ( dev-python/sphinx )
76 test? ( dev-python/webtest )"
77 RDEPEND=""
78
79 S="${WORKDIR}/${MY_P}"
80
81 src_prepare() {
82 distutils_src_prepare
83
84 # https://bitbucket.org/ianb/webob/issue/11
85 sed -e "s/test_multidict_cgi/_&/" -i tests/test_misc.py
86 }
87
88 src_compile() {
89 distutils_src_compile
90
91 if use doc; then
92 einfo "Generation of documentation"
93 "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed"
94 fi
95 }
96
97 src_install() {
98 distutils_src_install
99
100 if use doc; then
101 pushd build/sphinx/html > /dev/null
102 insinto /usr/share/doc/${PF}/html
103 doins -r [a-z]* _static || die "Installation of documentation failed"
104 popd > /dev/null
105 fi
106 }