1 |
idella4 14/05/21 05:45:44 |
2 |
|
3 |
Modified: waitress-0.8.9.ebuild ChangeLog |
4 |
Log: |
5 |
add IUSE doc, doc build |
6 |
|
7 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-python/waitress/waitress-0.8.9.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/waitress/waitress-0.8.9.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/waitress/waitress-0.8.9.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/waitress/waitress-0.8.9.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: waitress-0.8.9.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/waitress/waitress-0.8.9.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- waitress-0.8.9.ebuild 21 May 2014 03:30:59 -0000 1.1 |
23 |
+++ waitress-0.8.9.ebuild 21 May 2014 05:45:44 -0000 1.2 |
24 |
@@ -1,29 +1,46 @@ |
25 |
# Copyright 1999-2014 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/waitress/waitress-0.8.9.ebuild,v 1.1 2014/05/21 03:30:59 idella4 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/waitress/waitress-0.8.9.ebuild,v 1.2 2014/05/21 05:45:44 idella4 Exp $ |
29 |
|
30 |
EAPI=5 |
31 |
|
32 |
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy ) |
33 |
|
34 |
-# doc creation is fatally broken. well not fatally but it's bad |
35 |
- |
36 |
inherit distutils-r1 |
37 |
|
38 |
DESCRIPTION="A pure-Python WSGI server" |
39 |
HOMEPAGE="http://docs.pylonsproject.org/projects/waitress/en/latest/ https://pypi.python.org/pypi/waitress/ https://github.com/Pylons/waitress" |
40 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz \ |
42 |
+ doc? ( http://dev.gentoo.org/~idella4/pylons_sphinx_theme.tar.gz )" |
43 |
|
44 |
LICENSE="MIT" |
45 |
SLOT="0" |
46 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
47 |
-IUSE="test" |
48 |
+IUSE="doc test" |
49 |
|
50 |
RDEPEND="" |
51 |
DEPEND="${RDEPEND} |
52 |
app-arch/unzip |
53 |
test? ( dev-python/nose )" |
54 |
|
55 |
+python_prepare_all() { |
56 |
+ if use doc; then |
57 |
+ local PATCHES=( "${FILESDIR}"/${P}-doc.patch ) |
58 |
+ einfo "doc patch applied" |
59 |
+ mv "${WORKDIR}"/_themes ./docs/ || die |
60 |
+ fi |
61 |
+ distutils-r1_python_prepare_all |
62 |
+} |
63 |
+ |
64 |
+python_compile_all() { |
65 |
+ use doc && emake -C docs html |
66 |
+} |
67 |
+ |
68 |
python_test() { |
69 |
nosetests || die "Tests fail with ${EPYTHON}" |
70 |
} |
71 |
+ |
72 |
+python_install_all() { |
73 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
74 |
+ distutils-r1_python_install_all |
75 |
+} |
76 |
|
77 |
|
78 |
|
79 |
1.9 dev-python/waitress/ChangeLog |
80 |
|
81 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/waitress/ChangeLog?rev=1.9&view=markup |
82 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/waitress/ChangeLog?rev=1.9&content-type=text/plain |
83 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/waitress/ChangeLog?r1=1.8&r2=1.9 |
84 |
|
85 |
Index: ChangeLog |
86 |
=================================================================== |
87 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/waitress/ChangeLog,v |
88 |
retrieving revision 1.8 |
89 |
retrieving revision 1.9 |
90 |
diff -u -r1.8 -r1.9 |
91 |
--- ChangeLog 21 May 2014 03:30:59 -0000 1.8 |
92 |
+++ ChangeLog 21 May 2014 05:45:44 -0000 1.9 |
93 |
@@ -1,6 +1,10 @@ |
94 |
# ChangeLog for dev-python/waitress |
95 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
96 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/waitress/ChangeLog,v 1.8 2014/05/21 03:30:59 idella4 Exp $ |
97 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/waitress/ChangeLog,v 1.9 2014/05/21 05:45:44 idella4 Exp $ |
98 |
+ |
99 |
+ 21 May 2014; Ian Delaney <idella4@g.o> +files/waitress-0.8.9-doc.patch, |
100 |
+ waitress-0.8.9.ebuild: |
101 |
+ add IUSE doc, doc build |
102 |
|
103 |
*waitress-0.8.9 (21 May 2014) |