1 |
commit: d5e9b0f35895802e187ceb68a26b5aec7d104ba8 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 25 08:30:54 2016 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 25 08:30:54 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5e9b0f3 |
7 |
|
8 |
dev-python/python-sqlparse: Fix doc building |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=572742 |
11 |
|
12 |
Package-Manager: portage-2.2.27 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild | 5 +++-- |
16 |
dev-python/python-sqlparse/python-sqlparse-0.1.13.ebuild | 9 ++++++++- |
17 |
dev-python/python-sqlparse/python-sqlparse-0.1.14.ebuild | 9 ++++++++- |
18 |
dev-python/python-sqlparse/python-sqlparse-0.1.15.ebuild | 9 ++++++++- |
19 |
dev-python/python-sqlparse/python-sqlparse-0.1.16.ebuild | 9 ++++++++- |
20 |
dev-python/python-sqlparse/python-sqlparse-0.1.18.ebuild | 9 ++++++++- |
21 |
6 files changed, 43 insertions(+), 7 deletions(-) |
22 |
|
23 |
diff --git a/dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild b/dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild |
24 |
index e9dbe77..1092cca 100644 |
25 |
--- a/dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild |
26 |
+++ b/dev-python/python-sqlparse/python-sqlparse-0.1.10.ebuild |
27 |
@@ -1,4 +1,4 @@ |
28 |
-# Copyright 1999-2015 Gentoo Foundation |
29 |
+# Copyright 1999-2016 Gentoo Foundation |
30 |
# Distributed under the terms of the GNU General Public License v2 |
31 |
# $Id$ |
32 |
|
33 |
@@ -17,7 +17,8 @@ KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" |
34 |
LICENSE="BSD-2" |
35 |
IUSE="test" |
36 |
|
37 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
38 |
+DEPEND=" |
39 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
40 |
test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
41 |
DISTUTILS_IN_SOURCE_BUILD=1 # Required for running tests |
42 |
|
43 |
|
44 |
diff --git a/dev-python/python-sqlparse/python-sqlparse-0.1.13.ebuild b/dev-python/python-sqlparse/python-sqlparse-0.1.13.ebuild |
45 |
index d43dada..1991b75 100644 |
46 |
--- a/dev-python/python-sqlparse/python-sqlparse-0.1.13.ebuild |
47 |
+++ b/dev-python/python-sqlparse/python-sqlparse-0.1.13.ebuild |
48 |
@@ -1,4 +1,4 @@ |
49 |
-# Copyright 1999-2015 Gentoo Foundation |
50 |
+# Copyright 1999-2016 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Id$ |
53 |
|
54 |
@@ -17,8 +17,11 @@ KEYWORDS="~alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux |
55 |
LICENSE="BSD-2" |
56 |
IUSE="doc examples test" |
57 |
|
58 |
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" |
59 |
+ |
60 |
DEPEND=" |
61 |
dev-python/setuptools[${PYTHON_USEDEP}] |
62 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
63 |
test? ( |
64 |
dev-python/pytest[${PYTHON_USEDEP}] |
65 |
dev-python/pytest-cov[${PYTHON_USEDEP}] |
66 |
@@ -28,6 +31,10 @@ DISTUTILS_IN_SOURCE_BUILD=1 |
67 |
|
68 |
S="${WORKDIR}"/${P#python-} |
69 |
|
70 |
+pkg_setup() { |
71 |
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) |
72 |
+} |
73 |
+ |
74 |
python_compile_all() { |
75 |
use doc && emake -C docs html |
76 |
} |
77 |
|
78 |
diff --git a/dev-python/python-sqlparse/python-sqlparse-0.1.14.ebuild b/dev-python/python-sqlparse/python-sqlparse-0.1.14.ebuild |
79 |
index 5a3edd7..cfc6770 100644 |
80 |
--- a/dev-python/python-sqlparse/python-sqlparse-0.1.14.ebuild |
81 |
+++ b/dev-python/python-sqlparse/python-sqlparse-0.1.14.ebuild |
82 |
@@ -1,4 +1,4 @@ |
83 |
-# Copyright 1999-2015 Gentoo Foundation |
84 |
+# Copyright 1999-2016 Gentoo Foundation |
85 |
# Distributed under the terms of the GNU General Public License v2 |
86 |
# $Id$ |
87 |
|
88 |
@@ -20,8 +20,11 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linu |
89 |
LICENSE="BSD-2" |
90 |
IUSE="doc test" |
91 |
|
92 |
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" |
93 |
+ |
94 |
DEPEND=" |
95 |
dev-python/setuptools[${PYTHON_USEDEP}] |
96 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
97 |
test? ( |
98 |
dev-python/pytest[${PYTHON_USEDEP}] |
99 |
dev-python/pytest-cov[${PYTHON_USEDEP}] |
100 |
@@ -31,6 +34,10 @@ DISTUTILS_IN_SOURCE_BUILD=1 |
101 |
|
102 |
S="${WORKDIR}"/${P#python-} |
103 |
|
104 |
+pkg_setup() { |
105 |
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) |
106 |
+} |
107 |
+ |
108 |
python_compile_all() { |
109 |
use doc && emake -C docs html |
110 |
} |
111 |
|
112 |
diff --git a/dev-python/python-sqlparse/python-sqlparse-0.1.15.ebuild b/dev-python/python-sqlparse/python-sqlparse-0.1.15.ebuild |
113 |
index 5a3edd7..cfc6770 100644 |
114 |
--- a/dev-python/python-sqlparse/python-sqlparse-0.1.15.ebuild |
115 |
+++ b/dev-python/python-sqlparse/python-sqlparse-0.1.15.ebuild |
116 |
@@ -1,4 +1,4 @@ |
117 |
-# Copyright 1999-2015 Gentoo Foundation |
118 |
+# Copyright 1999-2016 Gentoo Foundation |
119 |
# Distributed under the terms of the GNU General Public License v2 |
120 |
# $Id$ |
121 |
|
122 |
@@ -20,8 +20,11 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linu |
123 |
LICENSE="BSD-2" |
124 |
IUSE="doc test" |
125 |
|
126 |
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" |
127 |
+ |
128 |
DEPEND=" |
129 |
dev-python/setuptools[${PYTHON_USEDEP}] |
130 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
131 |
test? ( |
132 |
dev-python/pytest[${PYTHON_USEDEP}] |
133 |
dev-python/pytest-cov[${PYTHON_USEDEP}] |
134 |
@@ -31,6 +34,10 @@ DISTUTILS_IN_SOURCE_BUILD=1 |
135 |
|
136 |
S="${WORKDIR}"/${P#python-} |
137 |
|
138 |
+pkg_setup() { |
139 |
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) |
140 |
+} |
141 |
+ |
142 |
python_compile_all() { |
143 |
use doc && emake -C docs html |
144 |
} |
145 |
|
146 |
diff --git a/dev-python/python-sqlparse/python-sqlparse-0.1.16.ebuild b/dev-python/python-sqlparse/python-sqlparse-0.1.16.ebuild |
147 |
index df6e142..6bea092 100644 |
148 |
--- a/dev-python/python-sqlparse/python-sqlparse-0.1.16.ebuild |
149 |
+++ b/dev-python/python-sqlparse/python-sqlparse-0.1.16.ebuild |
150 |
@@ -1,4 +1,4 @@ |
151 |
-# Copyright 1999-2015 Gentoo Foundation |
152 |
+# Copyright 1999-2016 Gentoo Foundation |
153 |
# Distributed under the terms of the GNU General Public License v2 |
154 |
# $Id$ |
155 |
|
156 |
@@ -20,8 +20,11 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x |
157 |
LICENSE="BSD-2" |
158 |
IUSE="doc test" |
159 |
|
160 |
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" |
161 |
+ |
162 |
DEPEND=" |
163 |
dev-python/setuptools[${PYTHON_USEDEP}] |
164 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
165 |
test? ( |
166 |
dev-python/pytest[${PYTHON_USEDEP}] |
167 |
dev-python/pytest-cov[${PYTHON_USEDEP}] |
168 |
@@ -31,6 +34,10 @@ DISTUTILS_IN_SOURCE_BUILD=1 |
169 |
|
170 |
S="${WORKDIR}"/${P#python-} |
171 |
|
172 |
+pkg_setup() { |
173 |
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) |
174 |
+} |
175 |
+ |
176 |
python_compile_all() { |
177 |
use doc && emake -C docs html |
178 |
} |
179 |
|
180 |
diff --git a/dev-python/python-sqlparse/python-sqlparse-0.1.18.ebuild b/dev-python/python-sqlparse/python-sqlparse-0.1.18.ebuild |
181 |
index df6e142..6bea092 100644 |
182 |
--- a/dev-python/python-sqlparse/python-sqlparse-0.1.18.ebuild |
183 |
+++ b/dev-python/python-sqlparse/python-sqlparse-0.1.18.ebuild |
184 |
@@ -1,4 +1,4 @@ |
185 |
-# Copyright 1999-2015 Gentoo Foundation |
186 |
+# Copyright 1999-2016 Gentoo Foundation |
187 |
# Distributed under the terms of the GNU General Public License v2 |
188 |
# $Id$ |
189 |
|
190 |
@@ -20,8 +20,11 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x |
191 |
LICENSE="BSD-2" |
192 |
IUSE="doc test" |
193 |
|
194 |
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" |
195 |
+ |
196 |
DEPEND=" |
197 |
dev-python/setuptools[${PYTHON_USEDEP}] |
198 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
199 |
test? ( |
200 |
dev-python/pytest[${PYTHON_USEDEP}] |
201 |
dev-python/pytest-cov[${PYTHON_USEDEP}] |
202 |
@@ -31,6 +34,10 @@ DISTUTILS_IN_SOURCE_BUILD=1 |
203 |
|
204 |
S="${WORKDIR}"/${P#python-} |
205 |
|
206 |
+pkg_setup() { |
207 |
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) |
208 |
+} |
209 |
+ |
210 |
python_compile_all() { |
211 |
use doc && emake -C docs html |
212 |
} |