From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/paste: ChangeLog paste-1.7.4.ebuild |
Date: | Sat, 26 Jun 2010 04:27:51 |
Message-Id: | 20100626042736.9DF562CF70@corvid.gentoo.org |
1 | arfrever 10/06/26 04:27:36 |
2 | |
3 | Modified: ChangeLog |
4 | Added: paste-1.7.4.ebuild |
5 | Log: |
6 | Version bump. Fix building with USE="doc" (bug #318757). |
7 | (Portage version: HEAD/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.11 dev-python/paste/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/paste/ChangeLog?rev=1.11&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/paste/ChangeLog?rev=1.11&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/paste/ChangeLog?r1=1.10&r2=1.11 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/paste/ChangeLog,v |
19 | retrieving revision 1.10 |
20 | retrieving revision 1.11 |
21 | diff -u -r1.10 -r1.11 |
22 | --- ChangeLog 26 Jun 2010 03:38:16 -0000 1.10 |
23 | +++ ChangeLog 26 Jun 2010 04:27:36 -0000 1.11 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-python/paste |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/paste/ChangeLog,v 1.10 2010/06/26 03:38:16 sping Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/paste/ChangeLog,v 1.11 2010/06/26 04:27:36 arfrever Exp $ |
29 | + |
30 | +*paste-1.7.4 (26 Jun 2010) |
31 | + |
32 | + 26 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
33 | + +paste-1.7.4.ebuild: |
34 | + Version bump. Fix building with USE="doc" (bug #318757). |
35 | |
36 | 26 Jun 2010; Sebastian Pipping <sping@g.o> paste-1.7.2.ebuild: |
37 | Revert previous commit, shooting too fast, sorry |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/paste/paste-1.7.4.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/paste/paste-1.7.4.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/paste/paste-1.7.4.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: paste-1.7.4.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/paste/paste-1.7.4.ebuild,v 1.1 2010/06/26 04:27:36 arfrever Exp $ |
51 | |
52 | EAPI="3" |
53 | PYTHON_DEPEND="2" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | RESTRICT_PYTHON_ABIS="3.*" |
56 | DISTUTILS_SRC_TEST="nosetests" |
57 | |
58 | inherit distutils |
59 | |
60 | MY_PN="Paste" |
61 | MY_P="${MY_PN}-${PV}" |
62 | |
63 | DESCRIPTION="Tools for using a Web Server Gateway Interface stack" |
64 | HOMEPAGE="http://pythonpaste.org http://pypi.python.org/pypi/Paste" |
65 | SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
66 | |
67 | LICENSE="MIT" |
68 | SLOT="0" |
69 | KEYWORDS="~amd64 ~x86 ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris" |
70 | IUSE="doc flup openid" |
71 | |
72 | RDEPEND="flup? ( dev-python/flup ) |
73 | openid? ( dev-python/python-openid )" |
74 | DEPEND="${RDEPEND} |
75 | dev-python/setuptools |
76 | doc? ( dev-python/sphinx )" |
77 | |
78 | S="${WORKDIR}/${MY_P}" |
79 | |
80 | src_prepare() { |
81 | distutils_src_prepare |
82 | |
83 | sed -i \ |
84 | -e '/highlighter/d' \ |
85 | setup.cfg || die "sed failed" |
86 | |
87 | # Disable failing tests. |
88 | rm -f tests/test_cgiapp.py |
89 | sed -e "s/test_logger/_&/" -i tests/test_exceptions/test_reporter.py || die "sed failed" |
90 | sed \ |
91 | -e "s/test_find_file/_&/" \ |
92 | -e "s/test_deep/_&/" \ |
93 | -e "s/test_static_parser/_&/" \ |
94 | -i tests/test_urlparser.py || die "sed failed" |
95 | } |
96 | |
97 | src_compile() { |
98 | distutils_src_compile |
99 | |
100 | if use doc; then |
101 | einfo "Generation of documentation" |
102 | PYTHONPATH="." "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed" |
103 | fi |
104 | } |
105 | |
106 | # Define custom src_test() due to requirement of PYTHONPATH=".". |
107 | src_test() { |
108 | testing() { |
109 | PYTHONPATH="." nosetests |
110 | } |
111 | python_execute_function testing |
112 | } |
113 | |
114 | src_install() { |
115 | distutils_src_install |
116 | |
117 | if use doc; then |
118 | pushd build/sphinx/html > /dev/null |
119 | docinto html |
120 | cp -R [a-z]* _static "${ED}usr/share/doc/${PF}/html" || die "Installation of documentation failed" |
121 | popd > /dev/null |
122 | fi |
123 | } |