1 |
idella4 14/05/23 07:33:26 |
2 |
|
3 |
Modified: wsgiproxy2-0.4.1.ebuild ChangeLog |
4 |
Log: |
5 |
drop py2.6, add IUSE doc, doc build, fix everything |
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/wsgiproxy2/wsgiproxy2-0.4.1.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wsgiproxy2/wsgiproxy2-0.4.1.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wsgiproxy2/wsgiproxy2-0.4.1.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wsgiproxy2/wsgiproxy2-0.4.1.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: wsgiproxy2-0.4.1.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/wsgiproxy2/wsgiproxy2-0.4.1.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- wsgiproxy2-0.4.1.ebuild 8 Jan 2014 02:43:01 -0000 1.1 |
23 |
+++ wsgiproxy2-0.4.1.ebuild 23 May 2014 07:33:25 -0000 1.2 |
24 |
@@ -1,13 +1,10 @@ |
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/wsgiproxy2/wsgiproxy2-0.4.1.ebuild,v 1.1 2014/01/08 02:43:01 patrick Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/wsgiproxy2/wsgiproxy2-0.4.1.ebuild,v 1.2 2014/05/23 07:33:25 idella4 Exp $ |
29 |
|
30 |
EAPI=5 |
31 |
|
32 |
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) |
33 |
- |
34 |
-# this looks quite unpossible to run |
35 |
-RESTRICT="test" |
36 |
+PYTHON_COMPAT=( python{2_7,3_2,3_3} ) |
37 |
|
38 |
inherit distutils-r1 |
39 |
|
40 |
@@ -20,19 +17,33 @@ |
41 |
LICENSE="MIT" |
42 |
SLOT="0" |
43 |
KEYWORDS="~amd64 ~x86" |
44 |
-IUSE="test" |
45 |
+IUSE="doc test" |
46 |
|
47 |
-RDEPEND="dev-python/urllib3 |
48 |
- dev-python/socketpool[${PYTHON_USEDEP}] |
49 |
+RDEPEND="dev-python/urllib3[${PYTHON_USEDEP}] |
50 |
dev-python/requests[${PYTHON_USEDEP}] |
51 |
- dev-python/restkit |
52 |
dev-python/webob[${PYTHON_USEDEP}] |
53 |
dev-python/six[${PYTHON_USEDEP}]" |
54 |
-DEPEND="${RDEPEND} |
55 |
- test? ( dev-python/webtest[${PYTHON_USEDEP}] )" |
56 |
+DEPEND="test? ( ${RDEPEND} |
57 |
+ dev-python/webtest[${PYTHON_USEDEP}] |
58 |
+ dev-python/socketpool[${PYTHON_USEDEP}] |
59 |
+ dev-python/restkit[$(python_gen_usedep python2_7)] )" |
60 |
+# Tests needing restkit are skipped under py3 |
61 |
|
62 |
S="${WORKDIR}/${MY_PN}-${PV}" |
63 |
|
64 |
+python_compile_all() { |
65 |
+ if use doc; then |
66 |
+ cd docs || die |
67 |
+ sphinx-build -b html -d _build/doctrees . _build/html |
68 |
+ fi |
69 |
+} |
70 |
+ |
71 |
+# this was always possible |
72 |
python_test() { |
73 |
nosetests || die "Tests fail with ${EPYTHON}" |
74 |
} |
75 |
+ |
76 |
+python_install_all() { |
77 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
78 |
+ distutils-r1_python_install_all |
79 |
+} |
80 |
|
81 |
|
82 |
|
83 |
1.7 dev-python/wsgiproxy2/ChangeLog |
84 |
|
85 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wsgiproxy2/ChangeLog?rev=1.7&view=markup |
86 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wsgiproxy2/ChangeLog?rev=1.7&content-type=text/plain |
87 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/wsgiproxy2/ChangeLog?r1=1.6&r2=1.7 |
88 |
|
89 |
Index: ChangeLog |
90 |
=================================================================== |
91 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/wsgiproxy2/ChangeLog,v |
92 |
retrieving revision 1.6 |
93 |
retrieving revision 1.7 |
94 |
diff -u -r1.6 -r1.7 |
95 |
--- ChangeLog 8 Jan 2014 02:43:01 -0000 1.6 |
96 |
+++ ChangeLog 23 May 2014 07:33:25 -0000 1.7 |
97 |
@@ -1,6 +1,9 @@ |
98 |
# ChangeLog for dev-python/wsgiproxy2 |
99 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
100 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/wsgiproxy2/ChangeLog,v 1.6 2014/01/08 02:43:01 patrick Exp $ |
101 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/wsgiproxy2/ChangeLog,v 1.7 2014/05/23 07:33:25 idella4 Exp $ |
102 |
+ |
103 |
+ 23 May 2014; Ian Delaney <idella4@g.o> wsgiproxy2-0.4.1.ebuild: |
104 |
+ drop py2.6, add IUSE doc, doc build, fix everything |
105 |
|
106 |
*wsgiproxy2-0.4.1 (08 Jan 2014) |