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/webob: webob-1.2.2.ebuild ChangeLog
Date: Fri, 24 Aug 2012 07:05:16
Message-Id: 20120824070449.B09AC20550@flycatcher.gentoo.org
1 patrick 12/08/24 07:04:49
2
3 Modified: ChangeLog
4 Added: webob-1.2.2.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha122/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.55 dev-python/webob/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webob/ChangeLog?rev=1.55&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webob/ChangeLog?rev=1.55&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webob/ChangeLog?r1=1.54&r2=1.55
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/webob/ChangeLog,v
20 retrieving revision 1.54
21 retrieving revision 1.55
22 diff -u -r1.54 -r1.55
23 --- ChangeLog 5 Aug 2012 06:13:32 -0000 1.54
24 +++ ChangeLog 24 Aug 2012 07:04:49 -0000 1.55
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/webob
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/webob/ChangeLog,v 1.54 2012/08/05 06:13:32 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/webob/ChangeLog,v 1.55 2012/08/24 07:04:49 patrick Exp $
30 +
31 +*webob-1.2.2 (24 Aug 2012)
32 +
33 + 24 Aug 2012; Patrick Lauer <patrick@g.o> +webob-1.2.2.ebuild:
34 + Bump
35
36 05 Aug 2012; Anthony G. Basile <blueness@g.o> webob-1.1.ebuild:
37 Stable arm, bug #427546
38 @@ -206,4 +211,3 @@
39 02 Jul 2008; Rob Cakebread <pythonhead@g.o> +metadata.xml,
40 +webob-0.9.2.ebuild:
41 Initial commit.
42 -
43
44
45
46 1.1 dev-python/webob/webob-1.2.2.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webob/webob-1.2.2.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/webob/webob-1.2.2.ebuild?rev=1.1&content-type=text/plain
50
51 Index: webob-1.2.2.ebuild
52 ===================================================================
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/dev-python/webob/webob-1.2.2.ebuild,v 1.1 2012/08/24 07:04:49 patrick Exp $
56
57 EAPI="3"
58 PYTHON_DEPEND="2"
59 SUPPORT_PYTHON_ABIS="1"
60 RESTRICT_PYTHON_ABIS="2.4 3.*"
61 DISTUTILS_SRC_TEST="nosetests"
62
63 inherit distutils eutils
64
65 MY_PN="WebOb"
66 MY_P="${MY_PN}-${PV}"
67
68 DESCRIPTION="WSGI request and response object"
69 HOMEPAGE="http://pythonpaste.org/webob/ http://pypi.python.org/pypi/WebOb"
70 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
71
72 LICENSE="MIT"
73 SLOT="0"
74 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
75 IUSE="doc test"
76
77 DEPEND="app-arch/unzip
78 dev-python/setuptools
79 doc? ( dev-python/sphinx )
80 test? ( dev-python/webtest )"
81 RDEPEND=""
82
83 S="${WORKDIR}/${MY_P}"
84
85 src_compile() {
86 distutils_src_compile
87
88 if use doc; then
89 einfo "Generation of documentation"
90 "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed"
91 fi
92 }
93
94 src_install() {
95 distutils_src_install
96
97 if use doc; then
98 pushd build/sphinx/html > /dev/null
99 insinto /usr/share/doc/${PF}/html
100 doins -r [a-z]* _static || die "Installation of documentation failed"
101 popd > /dev/null
102 fi
103 }