1 |
commit: 5ac896040260eb9b03fdc10512f2e22dee798630 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 10 12:01:54 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 10 14:10:23 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ac89604 |
7 |
|
8 |
dev-python/pandas: Drop old |
9 |
|
10 |
Bug: https://bugs.gentoo.org/649104 |
11 |
Package-Manager: Portage-2.3.36, Repoman-2.3.9 |
12 |
|
13 |
dev-python/pandas/Manifest | 5 - |
14 |
.../files/pandas-0.17.0-testfix-backport.patch | 28 ---- |
15 |
dev-python/pandas/metadata.xml | 3 - |
16 |
dev-python/pandas/pandas-0.16.2.ebuild | 128 ---------------- |
17 |
dev-python/pandas/pandas-0.17.0.ebuild | 137 ----------------- |
18 |
dev-python/pandas/pandas-0.17.1.ebuild | 166 --------------------- |
19 |
dev-python/pandas/pandas-0.20.1.ebuild | 162 -------------------- |
20 |
dev-python/pandas/pandas-0.20.3.ebuild | 157 ------------------- |
21 |
8 files changed, 786 deletions(-) |
22 |
|
23 |
diff --git a/dev-python/pandas/Manifest b/dev-python/pandas/Manifest |
24 |
index ca22c715c1c..d1daf66ed35 100644 |
25 |
--- a/dev-python/pandas/Manifest |
26 |
+++ b/dev-python/pandas/Manifest |
27 |
@@ -1,7 +1,2 @@ |
28 |
-DIST pandas-0.16.2.tar.gz 4931751 BLAKE2B 5ffd1df908580d966f782a7b371c7798b65ae7caacda3d8591c8de770e2f9008a3d026d9cb7f80ae857db3c24c41c0d21b8586862c39ec1b20f6e02c28e1a79f SHA512 44874e12a42a01dd7ed88f3f97e954732a534a5e2dc4815ef6203bdb2d88850a607e6631a35ae8fc79f4621a5dfaa34f39bb1c9a0ecfb17da1cf0c10f35ff27b |
29 |
-DIST pandas-0.17.0.tar.gz 6508621 BLAKE2B 226bf513c4fc7261331114832880da71f7b881e906d6739a81bc7c6bb048f3eeecc9806aa65c7eed246ea4df16c380595bd432ab7c25b9964ca8b879a7f705cf SHA512 bae6964e263c7ff6cac722cdfe23081f23c357d9bc39a670b5627bef4630c236a58aa8c0393eae921721bf7049c8e5266b4dea71dd957da5d89dafc14a04797b |
30 |
-DIST pandas-0.17.1.tar.gz 6674479 BLAKE2B 0d61f0a603f758aaef6c2eddf6d70307255679b2ef0b599e81b3a4c0e67ebd7584b1f3d436e34d02264b9c17317508f40c5186fd874b4a362efa6edf68eef900 SHA512 9d9f9064585b1f3551625e0c8f4eedaaa1253790c2a5cb28e58e70eb805cc18f9770d793aa748cbd76798488ff60efdd01eb4b21daf5ad8f1dc4d9c050487234 |
31 |
DIST pandas-0.19.1.tar.gz 8360233 BLAKE2B 82611ca1a3e3169ac2d084f4dcd9c4d4d74e9e9c9913a41acad48ae68a208a884dfd877445a7d658a7ff098ef383cedae7e79a4900baa8d56c032ce9aaad96eb SHA512 6451990a7fae8c6db8ab0b014a13b4f1828754d3998f13c17b111f891fb9fd23f8e09b907623096dfa55668c42298eee1373210a9fddb95f56dd7d552b964e6f |
32 |
-DIST pandas-0.20.1.tar.gz 10307434 BLAKE2B f8490a4a7f5c165753df274a0dea81552efc90a0cbf78d9e1fbeb6d0bc26e8ffaf3dbdf796a3abfb29d01332004af2adfbd9946c69d905f309cc730613de8123 SHA512 d477a815914c825efd6430f7eb19f3f9115c1c4ab03000ca6d4f64023f7b5f53eff512792fea2d8b33c7febb3667fc3a3de55f11eeb453f285cae40e6b473707 |
33 |
-DIST pandas-0.20.3.tar.gz 10402185 BLAKE2B a2c8d8f0007d481ccb897d2e9be106319cd3b7c0edf397fb99e7c6f43511c218ff5e7a7f099fcf23406f7e3ea691272e75c0f130cce991ccf159df7223d26584 SHA512 891c7e04d075f96fadf3775e903472e279eaeaa4509eb0da81a74261a3ed86ff309de0b5a2c100ee93dd968fed1df6d7e426ca78785b2b36785fe7679218fdc5 |
34 |
DIST pandas-0.23.0rc2.tar.gz 12542694 BLAKE2B 7c6383d32430fec89b7d5cbb1f8eef0f2201ba85d5865118fa035b6ad4c852b5f4e691f98f0cf3ac5c1283720025f8500c43414d0931af5211972208428537bd SHA512 3df13f74dbcac00baffd39c732751d4e7bd16adf529b60b05b2373651d86e0aba37d6f3a4339df170e9ab3d89ee03fc18827dd3728ff972bcdfe3a0604bff59d |
35 |
|
36 |
diff --git a/dev-python/pandas/files/pandas-0.17.0-testfix-backport.patch b/dev-python/pandas/files/pandas-0.17.0-testfix-backport.patch |
37 |
deleted file mode 100644 |
38 |
index c83319256f2..00000000000 |
39 |
--- a/dev-python/pandas/files/pandas-0.17.0-testfix-backport.patch |
40 |
+++ /dev/null |
41 |
@@ -1,28 +0,0 @@ |
42 |
- pandas/tests/test_categorical.py | 10 ++++++---- |
43 |
- 1 file changed, 6 insertions(+), 4 deletions(-) |
44 |
- |
45 |
-diff --git a/pandas/tests/test_categorical.py b/pandas/tests/test_categorical.py |
46 |
-old mode 100755 |
47 |
-new mode 100644 |
48 |
-index e97010e..1d14323 |
49 |
---- a/pandas/tests/test_categorical.py |
50 |
-+++ b/pandas/tests/test_categorical.py |
51 |
-@@ -86,12 +86,14 @@ class TestCategorical(tm.TestCase): |
52 |
- factor = Categorical.from_array(arr, ordered=False) |
53 |
- self.assertFalse(factor.ordered) |
54 |
- |
55 |
-- # this however will raise as cannot be sorted |
56 |
-- # but fixed in newer versions of numpy |
57 |
-- if LooseVersion(np.__version__) < "1.10": |
58 |
-+ if compat.PY3: |
59 |
- self.assertRaises(TypeError, lambda : Categorical.from_array(arr, ordered=True)) |
60 |
- else: |
61 |
-- Categorical.from_array(arr, ordered=True) |
62 |
-+ # this however will raise as cannot be sorted (on PY3 or older numpies) |
63 |
-+ if LooseVersion(np.__version__) < "1.10": |
64 |
-+ self.assertRaises(TypeError, lambda : Categorical.from_array(arr, ordered=True)) |
65 |
-+ else: |
66 |
-+ Categorical.from_array(arr, ordered=True) |
67 |
- |
68 |
- def test_is_equal_dtype(self): |
69 |
- |
70 |
|
71 |
diff --git a/dev-python/pandas/metadata.xml b/dev-python/pandas/metadata.xml |
72 |
index 2633bf05b9c..2afb9b3d563 100644 |
73 |
--- a/dev-python/pandas/metadata.xml |
74 |
+++ b/dev-python/pandas/metadata.xml |
75 |
@@ -14,9 +14,6 @@ |
76 |
</longdescription> |
77 |
<use> |
78 |
<flag name="full-support">Pull all packages to give pandas full support</flag> |
79 |
- <flag name="excel">Pull a few Python packages for Microsoft Excel i/o</flag> |
80 |
- <flag name="html">Enable HTML i/o via <pkg>dev-python/beautifulsoup</pkg></flag> |
81 |
- <flag name="R">Enable support for R via <pkg>dev-python/rpy</pkg></flag> |
82 |
</use> |
83 |
<upstream> |
84 |
<remote-id type="pypi">pandas</remote-id> |
85 |
|
86 |
diff --git a/dev-python/pandas/pandas-0.16.2.ebuild b/dev-python/pandas/pandas-0.16.2.ebuild |
87 |
deleted file mode 100644 |
88 |
index 7b2da170695..00000000000 |
89 |
--- a/dev-python/pandas/pandas-0.16.2.ebuild |
90 |
+++ /dev/null |
91 |
@@ -1,128 +0,0 @@ |
92 |
-# Copyright 1999-2017 Gentoo Foundation |
93 |
-# Distributed under the terms of the GNU General Public License v2 |
94 |
- |
95 |
-EAPI=5 |
96 |
- |
97 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
98 |
-PYTHON_REQ_USE="threads(+)" |
99 |
- |
100 |
-inherit distutils-r1 eutils flag-o-matic virtualx |
101 |
- |
102 |
-DESCRIPTION="Powerful data structures for data analysis and statistics" |
103 |
-HOMEPAGE="http://pandas.pydata.org/" |
104 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
105 |
- |
106 |
-SLOT="0" |
107 |
-LICENSE="BSD" |
108 |
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" |
109 |
-IUSE="doc excel html test R" |
110 |
- |
111 |
-EXTRA_DEPEND=" |
112 |
- >=dev-python/google-api-python-client-1.2.0[$(python_gen_usedep python2_7 pypy)] |
113 |
- dev-python/openpyxl[${PYTHON_USEDEP}] |
114 |
- dev-python/pymysql[${PYTHON_USEDEP}] |
115 |
- dev-python/python-gflags[$(python_gen_usedep python2_7 pypy)] |
116 |
- dev-python/psycopg:2[${PYTHON_USEDEP}] |
117 |
- dev-python/statsmodels[${PYTHON_USEDEP}] |
118 |
- dev-python/sqlalchemy[${PYTHON_USEDEP}] |
119 |
- " |
120 |
-CDEPEND=" |
121 |
- >dev-python/numpy-1.7[${PYTHON_USEDEP}] |
122 |
- >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}] |
123 |
- !~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]" |
124 |
-DEPEND="${CDEPEND} |
125 |
- >=dev-python/cython-0.19.1[${PYTHON_USEDEP}] |
126 |
- doc? ( |
127 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
128 |
- dev-python/ipython[${PYTHON_USEDEP}] |
129 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
130 |
- dev-python/lxml[${PYTHON_USEDEP}] |
131 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
132 |
- >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] |
133 |
- dev-python/openpyxl[${PYTHON_USEDEP}] |
134 |
- >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}] |
135 |
- dev-python/pytz[${PYTHON_USEDEP}] |
136 |
- dev-python/rpy[${PYTHON_USEDEP}] |
137 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
138 |
- >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}] |
139 |
- dev-python/xlrd[$(python_gen_usedep 'python2_7')] |
140 |
- dev-python/xlwt[$(python_gen_usedep 'python2_7')] |
141 |
- x11-misc/xclip |
142 |
- ) |
143 |
- test? ( |
144 |
- ${EXTRA_DEPEND} |
145 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
146 |
- dev-python/nose[${PYTHON_USEDEP}] |
147 |
- x11-misc/xclip |
148 |
- x11-misc/xsel |
149 |
- )" |
150 |
-# dev-python/statsmodels invokes a circular dep |
151 |
-# hence rm from doc? ( ), again |
152 |
-RDEPEND="${CDEPEND} |
153 |
- >=dev-python/numexpr-2.1[${PYTHON_USEDEP}] |
154 |
- dev-python/bottleneck[${PYTHON_USEDEP}] |
155 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
156 |
- dev-python/pytables[${PYTHON_USEDEP}] |
157 |
- dev-python/pytz[${PYTHON_USEDEP}] |
158 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
159 |
- excel? ( |
160 |
- dev-python/xlrd[$(python_gen_usedep 'python2_7')] |
161 |
- dev-python/xlwt[$(python_gen_usedep 'python2_7')] |
162 |
- || ( |
163 |
- dev-python/xlsxwriter[${PYTHON_USEDEP}] |
164 |
- >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] |
165 |
- ) |
166 |
- ) |
167 |
- html? ( |
168 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
169 |
- || ( |
170 |
- dev-python/lxml[${PYTHON_USEDEP}] |
171 |
- dev-python/html5lib[${PYTHON_USEDEP}] ) |
172 |
- ) |
173 |
- R? ( dev-python/rpy[${PYTHON_USEDEP}] )" |
174 |
- |
175 |
-python_prepare_all() { |
176 |
- # Prevent un-needed download during build |
177 |
- sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/source/conf.py || die |
178 |
- |
179 |
- distutils-r1_python_prepare_all |
180 |
-} |
181 |
- |
182 |
-python_compile_all() { |
183 |
- # To build docs the need be located in $BUILD_DIR, |
184 |
- # else PYTHONPATH points to unusable modules. |
185 |
- if use doc; then |
186 |
- cd "${BUILD_DIR}"/lib || die |
187 |
- cp -ar "${S}"/doc . && cd doc || die |
188 |
- LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die |
189 |
- fi |
190 |
-} |
191 |
- |
192 |
-python_test() { |
193 |
- local test_pandas='not network and not disabled' |
194 |
- [[ -n "${FAST_PANDAS}" ]] && test_pandas+=' and not slow' |
195 |
- pushd "${BUILD_DIR}"/lib > /dev/null |
196 |
- VIRTUALX_COMMAND="nosetests" |
197 |
- PYTHONPATH=. MPLCONFIGDIR=. HOME=. \ |
198 |
- virtualmake --verbosity=3 -A "${test_pandas}" pandas |
199 |
- popd > /dev/null |
200 |
-} |
201 |
- |
202 |
-python_install_all() { |
203 |
- if use doc; then |
204 |
- dodoc -r "${BUILD_DIR}"/lib/doc/build/html |
205 |
- einfo "An initial build of docs is absent of references to statsmodels" |
206 |
- einfo "due to circular dependency. To have them included, emerge" |
207 |
- einfo "statsmodels next and re-emerge pandas with USE doc" |
208 |
- fi |
209 |
- |
210 |
- distutils-r1_python_install_all |
211 |
-} |
212 |
- |
213 |
-pkg_postinst() { |
214 |
- local x |
215 |
- elog "Please install" |
216 |
- for x in ${EXTRA_DEPEND}; do |
217 |
- optfeature "additional functionality" "${x%%[*}" |
218 |
- done |
219 |
-} |
220 |
|
221 |
diff --git a/dev-python/pandas/pandas-0.17.0.ebuild b/dev-python/pandas/pandas-0.17.0.ebuild |
222 |
deleted file mode 100644 |
223 |
index 22a63f27a32..00000000000 |
224 |
--- a/dev-python/pandas/pandas-0.17.0.ebuild |
225 |
+++ /dev/null |
226 |
@@ -1,137 +0,0 @@ |
227 |
-# Copyright 1999-2017 Gentoo Foundation |
228 |
-# Distributed under the terms of the GNU General Public License v2 |
229 |
- |
230 |
-EAPI=5 |
231 |
- |
232 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
233 |
-PYTHON_REQ_USE="threads(+)" |
234 |
- |
235 |
-inherit distutils-r1 eutils flag-o-matic virtualx |
236 |
- |
237 |
-DESCRIPTION="Powerful data structures for data analysis and statistics" |
238 |
-HOMEPAGE="http://pandas.pydata.org/" |
239 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
240 |
- |
241 |
-SLOT="0" |
242 |
-LICENSE="BSD" |
243 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
244 |
-IUSE="doc excel html test R" |
245 |
- |
246 |
-EXTRA_DEPEND=" |
247 |
- >=dev-python/google-api-python-client-1.2.0[$(python_gen_usedep python2_7 pypy)] |
248 |
- dev-python/openpyxl[${PYTHON_USEDEP}] |
249 |
- dev-python/pymysql[${PYTHON_USEDEP}] |
250 |
- dev-python/python-gflags[$(python_gen_usedep python2_7 pypy)] |
251 |
- dev-python/psycopg:2[${PYTHON_USEDEP}] |
252 |
- dev-python/statsmodels[${PYTHON_USEDEP}] |
253 |
- dev-python/sqlalchemy[${PYTHON_USEDEP}] |
254 |
- " |
255 |
-CDEPEND=" |
256 |
- >dev-python/numpy-1.7[${PYTHON_USEDEP}] |
257 |
- >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}] |
258 |
- !~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]" |
259 |
-DEPEND="${CDEPEND} |
260 |
- >=dev-python/cython-0.19.1[${PYTHON_USEDEP}] |
261 |
- doc? ( |
262 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
263 |
- dev-python/ipython[${PYTHON_USEDEP}] |
264 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
265 |
- dev-python/lxml[${PYTHON_USEDEP}] |
266 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
267 |
- >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] |
268 |
- >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}] |
269 |
- dev-python/pytz[${PYTHON_USEDEP}] |
270 |
- dev-python/rpy[${PYTHON_USEDEP}] |
271 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
272 |
- >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}] |
273 |
- dev-python/xlrd[${PYTHON_USEDEP}] |
274 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
275 |
- x11-misc/xclip |
276 |
- ) |
277 |
- test? ( |
278 |
- ${EXTRA_DEPEND} |
279 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
280 |
- dev-python/nose[${PYTHON_USEDEP}] |
281 |
- x11-misc/xclip |
282 |
- x11-misc/xsel |
283 |
- )" |
284 |
-# dev-python/statsmodels invokes a circular dep |
285 |
-# hence rm from doc? ( ), again |
286 |
-RDEPEND="${CDEPEND} |
287 |
- >=dev-python/numexpr-2.1[${PYTHON_USEDEP}] |
288 |
- dev-python/bottleneck[${PYTHON_USEDEP}] |
289 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
290 |
- dev-python/pytables[${PYTHON_USEDEP}] |
291 |
- dev-python/pytz[${PYTHON_USEDEP}] |
292 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
293 |
- excel? ( |
294 |
- dev-python/xlrd[${PYTHON_USEDEP}] |
295 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
296 |
- || ( |
297 |
- dev-python/xlsxwriter[${PYTHON_USEDEP}] |
298 |
- >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] |
299 |
- ) |
300 |
- ) |
301 |
- html? ( |
302 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
303 |
- || ( |
304 |
- dev-python/lxml[${PYTHON_USEDEP}] |
305 |
- dev-python/html5lib[${PYTHON_USEDEP}] ) |
306 |
- ) |
307 |
- R? ( dev-python/rpy[${PYTHON_USEDEP}] )" |
308 |
- |
309 |
-PATCHES=( |
310 |
- "${FILESDIR}"/${P}-testfix-backport.patch |
311 |
-) |
312 |
- |
313 |
-python_prepare_all() { |
314 |
- # Prevent un-needed download during build |
315 |
- sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/source/conf.py || die |
316 |
- |
317 |
- # https://github.com/pydata/pandas/issues/11299 |
318 |
- sed \ |
319 |
- -e 's:testOdArray:disable:g' \ |
320 |
- -i pandas/io/tests/test_json/test_ujson.py || die |
321 |
- |
322 |
- distutils-r1_python_prepare_all |
323 |
-} |
324 |
- |
325 |
-python_compile_all() { |
326 |
- # To build docs the need be located in $BUILD_DIR, |
327 |
- # else PYTHONPATH points to unusable modules. |
328 |
- if use doc; then |
329 |
- cd "${BUILD_DIR}"/lib || die |
330 |
- cp -ar "${S}"/doc . && cd doc || die |
331 |
- LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die |
332 |
- fi |
333 |
-} |
334 |
- |
335 |
-python_test() { |
336 |
- local test_pandas='not network and not disabled' |
337 |
- [[ -n "${FAST_PANDAS}" ]] && test_pandas+=' and not slow' |
338 |
- pushd "${BUILD_DIR}"/lib > /dev/null |
339 |
- "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die |
340 |
- VIRTUALX_COMMAND="nosetests" |
341 |
- PYTHONPATH=. MPLCONFIGDIR=. \ |
342 |
- virtualmake --verbosity=3 -A "${test_pandas}" pandas |
343 |
- popd > /dev/null |
344 |
-} |
345 |
- |
346 |
-python_install_all() { |
347 |
- if use doc; then |
348 |
- dodoc -r "${BUILD_DIR}"/lib/doc/build/html |
349 |
- einfo "An initial build of docs is absent of references to statsmodels" |
350 |
- einfo "due to circular dependency. To have them included, emerge" |
351 |
- einfo "statsmodels next and re-emerge pandas with USE doc" |
352 |
- fi |
353 |
- |
354 |
- distutils-r1_python_install_all |
355 |
-} |
356 |
- |
357 |
-pkg_postinst() { |
358 |
- local x |
359 |
- elog "Please install" |
360 |
- for x in ${EXTRA_DEPEND}; do |
361 |
- optfeature "additional functionality" "${x%%[*}" |
362 |
- done |
363 |
-} |
364 |
|
365 |
diff --git a/dev-python/pandas/pandas-0.17.1.ebuild b/dev-python/pandas/pandas-0.17.1.ebuild |
366 |
deleted file mode 100644 |
367 |
index 8ddf16d1d5b..00000000000 |
368 |
--- a/dev-python/pandas/pandas-0.17.1.ebuild |
369 |
+++ /dev/null |
370 |
@@ -1,166 +0,0 @@ |
371 |
-# Copyright 1999-2017 Gentoo Foundation |
372 |
-# Distributed under the terms of the GNU General Public License v2 |
373 |
- |
374 |
-EAPI=5 |
375 |
- |
376 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
377 |
-PYTHON_REQ_USE="threads(+)" |
378 |
- |
379 |
-VIRTUALX_REQUIRED="manual" |
380 |
- |
381 |
-inherit distutils-r1 eutils flag-o-matic virtualx |
382 |
- |
383 |
-DESCRIPTION="Powerful data structures for data analysis and statistics" |
384 |
-HOMEPAGE="http://pandas.pydata.org/" |
385 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
386 |
- |
387 |
-SLOT="0" |
388 |
-LICENSE="BSD" |
389 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
390 |
-IUSE="doc -minimal full-support test X" |
391 |
- |
392 |
-MINIMAL_DEPEND=" |
393 |
- >dev-python/numpy-1.7[${PYTHON_USEDEP}] |
394 |
- >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}] |
395 |
- dev-python/pytz[${PYTHON_USEDEP}] |
396 |
- !<dev-python/numexpr-2.1[${PYTHON_USEDEP}] |
397 |
- !~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]" |
398 |
-RECOMMENDED_DEPEND=" |
399 |
- dev-python/bottleneck[${PYTHON_USEDEP}] |
400 |
- >=dev-python/numexpr-2.1[${PYTHON_USEDEP}]" |
401 |
-OPTIONAL_DEPEND=" |
402 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
403 |
- dev-python/blosc[${PYTHON_USEDEP}] |
404 |
- dev-python/boto[${PYTHON_USEDEP}] |
405 |
- >=dev-python/google-api-python-client-1.2.0[$(python_gen_usedep python2_7 pypy)] |
406 |
- || ( dev-python/html5lib[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] ) |
407 |
- dev-python/httplib2[${PYTHON_USEDEP}] |
408 |
- dev-python/jinja[${PYTHON_USEDEP}] |
409 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
410 |
- || ( >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] dev-python/xlsxwriter[${PYTHON_USEDEP}] ) |
411 |
- >=dev-python/pytables-3.2.1[${PYTHON_USEDEP}] |
412 |
- dev-python/python-gflags[$(python_gen_usedep python2_7 pypy)] |
413 |
- dev-python/rpy[${PYTHON_USEDEP}] |
414 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
415 |
- dev-python/statsmodels[${PYTHON_USEDEP}] |
416 |
- >=dev-python/sqlalchemy-0.8.1[${PYTHON_USEDEP}] |
417 |
- dev-python/xlrd[${PYTHON_USEDEP}] |
418 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
419 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
420 |
- X? ( |
421 |
- || ( |
422 |
- dev-python/PyQt4[${PYTHON_USEDEP}] |
423 |
- dev-python/pyside[${PYTHON_USEDEP}] |
424 |
- dev-python/pygtk[$(python_gen_usedep python2_7)] |
425 |
- ) |
426 |
- || ( |
427 |
- x11-misc/xclip |
428 |
- x11-misc/xsel |
429 |
- ) |
430 |
- ) |
431 |
- " |
432 |
- |
433 |
-DEPEND="${MINIMAL_DEPEND} |
434 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
435 |
- >=dev-python/cython-0.19.1[${PYTHON_USEDEP}] |
436 |
- doc? ( |
437 |
- ${VIRTUALX_DEPEND} |
438 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
439 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
440 |
- dev-python/ipython[${PYTHON_USEDEP}] |
441 |
- dev-python/lxml[${PYTHON_USEDEP}] |
442 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
443 |
- >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] |
444 |
- >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}] |
445 |
- dev-python/pytz[${PYTHON_USEDEP}] |
446 |
- dev-python/rpy[${PYTHON_USEDEP}] |
447 |
- >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}] |
448 |
- dev-python/xlrd[${PYTHON_USEDEP}] |
449 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
450 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
451 |
- x11-misc/xclip |
452 |
- ) |
453 |
- test? ( |
454 |
- ${VIRTUALX_DEPEND} |
455 |
- ${RECOMMENDED_DEPEND} |
456 |
- ${OPTIONAL_DEPEND} |
457 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
458 |
- dev-python/nose[${PYTHON_USEDEP}] |
459 |
- dev-python/pymysql[${PYTHON_USEDEP}] |
460 |
- dev-python/psycopg:2[${PYTHON_USEDEP}] |
461 |
- x11-misc/xclip |
462 |
- x11-misc/xsel |
463 |
- )" |
464 |
-# dev-python/statsmodels invokes a circular dep |
465 |
-# hence rm from doc? ( ), again |
466 |
-RDEPEND=" |
467 |
- ${MINIMAL_DEPEND} |
468 |
- !minimal? ( ${RECOMMENDED_DEPEND} ) |
469 |
- full-support? ( ${OPTIONAL_DEPEND} )" |
470 |
- |
471 |
-_PATCHES=( |
472 |
- "${FILESDIR}"/${P}-testfix-backport.patch |
473 |
-) |
474 |
- |
475 |
-python_prepare_all() { |
476 |
- # Prevent un-needed download during build |
477 |
- sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/source/conf.py || die |
478 |
- |
479 |
- # https://github.com/pydata/pandas/issues/11299 |
480 |
- sed \ |
481 |
- -e 's:testOdArray:disable:g' \ |
482 |
- -i pandas/io/tests/test_json/test_ujson.py || die |
483 |
- |
484 |
- distutils-r1_python_prepare_all |
485 |
-} |
486 |
- |
487 |
-python_compile_all() { |
488 |
- # To build docs the need be located in $BUILD_DIR, |
489 |
- # else PYTHONPATH points to unusable modules. |
490 |
- if use doc; then |
491 |
- VIRTUALX_COMMAND="${EPYTHON}" |
492 |
- cd "${BUILD_DIR}"/lib || die |
493 |
- cp -ar "${S}"/doc . && cd doc || die |
494 |
- LANG=C PYTHONPATH=. virtualmake make.py html || die |
495 |
- fi |
496 |
-} |
497 |
- |
498 |
-python_test() { |
499 |
- local test_pandas='not network and not disabled' |
500 |
- [[ -n "${FAST_PANDAS}" ]] && test_pandas+=' and not slow' |
501 |
- pushd "${BUILD_DIR}"/lib > /dev/null |
502 |
- "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die |
503 |
- VIRTUALX_COMMAND="nosetests" |
504 |
- PYTHONPATH=. MPLCONFIGDIR=. \ |
505 |
- virtualmake --verbosity=3 -A "${test_pandas}" pandas |
506 |
- popd > /dev/null |
507 |
-} |
508 |
- |
509 |
-python_install_all() { |
510 |
- if use doc; then |
511 |
- dodoc -r "${BUILD_DIR}"/lib/doc/build/html |
512 |
- einfo "An initial build of docs is absent of references to statsmodels" |
513 |
- einfo "due to circular dependency. To have them included, emerge" |
514 |
- einfo "statsmodels next and re-emerge pandas with USE doc" |
515 |
- fi |
516 |
- |
517 |
- distutils-r1_python_install_all |
518 |
-} |
519 |
- |
520 |
-pkg_postinst() { |
521 |
- optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck |
522 |
- optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" |
523 |
- optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup:4 dev-python/html5lib dev-python/lxml |
524 |
- optfeature "for msgpack compression using blosc" dev-python/blosc |
525 |
- optfeature "necessary for Amazon S3 access" dev-python/boto |
526 |
- optfeature "needed for pandas.io.gbq" dev-python/httplib2 dev-python/setuptools dev-python/python-gflags ">=dev-python/google-api-python-client-1.2.0" |
527 |
- optfeature "Template engine for conditional HTML formatting" dev-python/jinja |
528 |
- optfeature "Plotting support" dev-python/matplotlib |
529 |
- optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt |
530 |
- optfeature "necessary for HDF5-based storage" ">=dev-python/pytables-3.2.1" |
531 |
- optfeature "R I/O support" dev-python/rpy |
532 |
- optfeature "Needed for parts of pandas.stats" dev-python/statsmodels |
533 |
- optfeature "SQL database support" ">=dev-python/sqlalchemy-0.8.1" |
534 |
- optfeature "miscellaneous statistical functions" sci-libs/scipy |
535 |
- optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt4 dev-python/pyside dev-python/pygtk x11-misc/xclip x11-misc/xsel |
536 |
-} |
537 |
|
538 |
diff --git a/dev-python/pandas/pandas-0.20.1.ebuild b/dev-python/pandas/pandas-0.20.1.ebuild |
539 |
deleted file mode 100644 |
540 |
index 9e3b7f8bd65..00000000000 |
541 |
--- a/dev-python/pandas/pandas-0.20.1.ebuild |
542 |
+++ /dev/null |
543 |
@@ -1,162 +0,0 @@ |
544 |
-# Copyright 1999-2017 Gentoo Foundation |
545 |
-# Distributed under the terms of the GNU General Public License v2 |
546 |
- |
547 |
-EAPI=6 |
548 |
- |
549 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
550 |
-PYTHON_REQ_USE="threads(+)" |
551 |
- |
552 |
-VIRTUALX_REQUIRED="manual" |
553 |
- |
554 |
-inherit distutils-r1 eutils flag-o-matic virtualx |
555 |
- |
556 |
-DESCRIPTION="Powerful data structures for data analysis and statistics" |
557 |
-HOMEPAGE="http://pandas.pydata.org/" |
558 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
559 |
- |
560 |
-SLOT="0" |
561 |
-LICENSE="BSD" |
562 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
563 |
-IUSE="doc -minimal full-support test X" |
564 |
- |
565 |
-MINIMAL_DEPEND=" |
566 |
- >dev-python/numpy-1.7[${PYTHON_USEDEP}] |
567 |
- >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}] |
568 |
- dev-python/pytz[${PYTHON_USEDEP}] |
569 |
- !<dev-python/numexpr-2.1[${PYTHON_USEDEP}] |
570 |
- !~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]" |
571 |
-RECOMMENDED_DEPEND=" |
572 |
- dev-python/bottleneck[${PYTHON_USEDEP}] |
573 |
- >=dev-python/numexpr-2.1[${PYTHON_USEDEP}]" |
574 |
-OPTIONAL_DEPEND=" |
575 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
576 |
- dev-python/blosc[${PYTHON_USEDEP}] |
577 |
- dev-python/boto[${PYTHON_USEDEP}] |
578 |
- >=dev-python/google-api-python-client-1.2.0[$(python_gen_usedep python2_7 pypy)] |
579 |
- || ( dev-python/html5lib[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] ) |
580 |
- dev-python/httplib2[${PYTHON_USEDEP}] |
581 |
- dev-python/jinja[${PYTHON_USEDEP}] |
582 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
583 |
- || ( >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] dev-python/xlsxwriter[${PYTHON_USEDEP}] ) |
584 |
- >=dev-python/pytables-3.2.1[${PYTHON_USEDEP}] |
585 |
- dev-python/python-gflags[$(python_gen_usedep python2_7 pypy)] |
586 |
- dev-python/rpy[${PYTHON_USEDEP}] |
587 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
588 |
- dev-python/statsmodels[${PYTHON_USEDEP}] |
589 |
- >=dev-python/sqlalchemy-0.8.1[${PYTHON_USEDEP}] |
590 |
- dev-python/xlrd[${PYTHON_USEDEP}] |
591 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
592 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
593 |
- X? ( |
594 |
- || ( |
595 |
- dev-python/PyQt4[${PYTHON_USEDEP}] |
596 |
- dev-python/pyside[${PYTHON_USEDEP}] |
597 |
- dev-python/pygtk[$(python_gen_usedep python2_7)] |
598 |
- ) |
599 |
- || ( |
600 |
- x11-misc/xclip |
601 |
- x11-misc/xsel |
602 |
- ) |
603 |
- ) |
604 |
- " |
605 |
- |
606 |
-DEPEND="${MINIMAL_DEPEND} |
607 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
608 |
- >=dev-python/cython-0.23[${PYTHON_USEDEP}] |
609 |
- doc? ( |
610 |
- ${VIRTUALX_DEPEND} |
611 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
612 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
613 |
- dev-python/ipython[${PYTHON_USEDEP}] |
614 |
- dev-python/lxml[${PYTHON_USEDEP}] |
615 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
616 |
- >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] |
617 |
- >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}] |
618 |
- dev-python/pytz[${PYTHON_USEDEP}] |
619 |
- dev-python/rpy[${PYTHON_USEDEP}] |
620 |
- >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}] |
621 |
- dev-python/xlrd[${PYTHON_USEDEP}] |
622 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
623 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
624 |
- x11-misc/xclip |
625 |
- ) |
626 |
- test? ( |
627 |
- ${VIRTUALX_DEPEND} |
628 |
- ${RECOMMENDED_DEPEND} |
629 |
- ${OPTIONAL_DEPEND} |
630 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
631 |
- dev-python/nose[${PYTHON_USEDEP}] |
632 |
- dev-python/pymysql[${PYTHON_USEDEP}] |
633 |
- dev-python/psycopg:2[${PYTHON_USEDEP}] |
634 |
- x11-misc/xclip |
635 |
- x11-misc/xsel |
636 |
- )" |
637 |
-# dev-python/statsmodels invokes a circular dep |
638 |
-# hence rm from doc? ( ), again |
639 |
-RDEPEND=" |
640 |
- ${MINIMAL_DEPEND} |
641 |
- !minimal? ( ${RECOMMENDED_DEPEND} ) |
642 |
- full-support? ( ${OPTIONAL_DEPEND} )" |
643 |
- |
644 |
-python_prepare_all() { |
645 |
- # Prevent un-needed download during build |
646 |
- sed \ |
647 |
- -e "/^ 'sphinx.ext.intersphinx',/d" \ |
648 |
- -i doc/source/conf.py || die |
649 |
- |
650 |
- # https://github.com/pydata/pandas/issues/11299 |
651 |
- sed \ |
652 |
- -e 's:testOdArray:disable:g' \ |
653 |
- -i pandas/tests/io/json/test_ujson.py || die |
654 |
- |
655 |
- distutils-r1_python_prepare_all |
656 |
-} |
657 |
- |
658 |
-python_compile_all() { |
659 |
- # To build docs the need be located in $BUILD_DIR, |
660 |
- # else PYTHONPATH points to unusable modules. |
661 |
- if use doc; then |
662 |
- cd "${BUILD_DIR}"/lib || die |
663 |
- cp -ar "${S}"/doc . && cd doc || die |
664 |
- LANG=C PYTHONPATH=. virtx ${EPYTHON} make.py html || die |
665 |
- fi |
666 |
-} |
667 |
- |
668 |
-python_test() { |
669 |
- local test_pandas='not network and not disabled' |
670 |
- [[ -n "${FAST_PANDAS}" ]] && test_pandas+=' and not slow' |
671 |
- pushd "${BUILD_DIR}"/lib > /dev/null |
672 |
- "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die |
673 |
- PYTHONPATH=. MPLCONFIGDIR=. \ |
674 |
- virtx nosetests --verbosity=3 -A "${test_pandas}" pandas |
675 |
- popd > /dev/null |
676 |
-} |
677 |
- |
678 |
-python_install_all() { |
679 |
- if use doc; then |
680 |
- dodoc -r "${BUILD_DIR}"/lib/doc/build/html |
681 |
- einfo "An initial build of docs is absent of references to statsmodels" |
682 |
- einfo "due to circular dependency. To have them included, emerge" |
683 |
- einfo "statsmodels next and re-emerge pandas with USE doc" |
684 |
- fi |
685 |
- |
686 |
- distutils-r1_python_install_all |
687 |
-} |
688 |
- |
689 |
-pkg_postinst() { |
690 |
- optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck |
691 |
- optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" |
692 |
- optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup:4 dev-python/html5lib dev-python/lxml |
693 |
- optfeature "for msgpack compression using blosc" dev-python/blosc |
694 |
- optfeature "necessary for Amazon S3 access" dev-python/boto |
695 |
- optfeature "needed for pandas.io.gbq" dev-python/httplib2 dev-python/setuptools dev-python/python-gflags ">=dev-python/google-api-python-client-1.2.0" |
696 |
- optfeature "Template engine for conditional HTML formatting" dev-python/jinja |
697 |
- optfeature "Plotting support" dev-python/matplotlib |
698 |
- optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt |
699 |
- optfeature "necessary for HDF5-based storage" ">=dev-python/pytables-3.2.1" |
700 |
- optfeature "R I/O support" dev-python/rpy |
701 |
- optfeature "Needed for parts of pandas.stats" dev-python/statsmodels |
702 |
- optfeature "SQL database support" ">=dev-python/sqlalchemy-0.8.1" |
703 |
- optfeature "miscellaneous statistical functions" sci-libs/scipy |
704 |
- optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt4 dev-python/pyside dev-python/pygtk x11-misc/xclip x11-misc/xsel |
705 |
-} |
706 |
|
707 |
diff --git a/dev-python/pandas/pandas-0.20.3.ebuild b/dev-python/pandas/pandas-0.20.3.ebuild |
708 |
deleted file mode 100644 |
709 |
index a28647857c1..00000000000 |
710 |
--- a/dev-python/pandas/pandas-0.20.3.ebuild |
711 |
+++ /dev/null |
712 |
@@ -1,157 +0,0 @@ |
713 |
-# Copyright 1999-2017 Gentoo Foundation |
714 |
-# Distributed under the terms of the GNU General Public License v2 |
715 |
- |
716 |
-EAPI=6 |
717 |
- |
718 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
719 |
-PYTHON_REQ_USE="threads(+)" |
720 |
- |
721 |
-VIRTUALX_REQUIRED="manual" |
722 |
- |
723 |
-inherit distutils-r1 eutils flag-o-matic virtualx |
724 |
- |
725 |
-DESCRIPTION="Powerful data structures for data analysis and statistics" |
726 |
-HOMEPAGE="http://pandas.pydata.org/" |
727 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
728 |
- |
729 |
-SLOT="0" |
730 |
-LICENSE="BSD" |
731 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
732 |
-IUSE="doc -minimal full-support test X" |
733 |
- |
734 |
-MINIMAL_DEPEND=" |
735 |
- >dev-python/numpy-1.7[${PYTHON_USEDEP}] |
736 |
- >=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}] |
737 |
- dev-python/pytz[${PYTHON_USEDEP}] |
738 |
- !<dev-python/numexpr-2.1[${PYTHON_USEDEP}] |
739 |
- !~dev-python/openpyxl-1.9.0[${PYTHON_USEDEP}]" |
740 |
-RECOMMENDED_DEPEND=" |
741 |
- dev-python/bottleneck[${PYTHON_USEDEP}] |
742 |
- >=dev-python/numexpr-2.1[${PYTHON_USEDEP}]" |
743 |
-OPTIONAL_DEPEND=" |
744 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
745 |
- dev-python/blosc[${PYTHON_USEDEP}] |
746 |
- dev-python/boto[${PYTHON_USEDEP}] |
747 |
- >=dev-python/google-api-python-client-1.2.0[$(python_gen_usedep python2_7 pypy)] |
748 |
- || ( dev-python/html5lib[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] ) |
749 |
- dev-python/httplib2[${PYTHON_USEDEP}] |
750 |
- dev-python/jinja[${PYTHON_USEDEP}] |
751 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
752 |
- || ( >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] dev-python/xlsxwriter[${PYTHON_USEDEP}] ) |
753 |
- >=dev-python/pytables-3.2.1[${PYTHON_USEDEP}] |
754 |
- dev-python/python-gflags[$(python_gen_usedep python2_7 pypy)] |
755 |
- dev-python/rpy[${PYTHON_USEDEP}] |
756 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
757 |
- dev-python/statsmodels[${PYTHON_USEDEP}] |
758 |
- >=dev-python/sqlalchemy-0.8.1[${PYTHON_USEDEP}] |
759 |
- dev-python/xarray[${PYTHON_USEDEP}] |
760 |
- dev-python/xlrd[${PYTHON_USEDEP}] |
761 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
762 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
763 |
- X? ( |
764 |
- || ( |
765 |
- dev-python/PyQt4[${PYTHON_USEDEP}] |
766 |
- dev-python/pyside[${PYTHON_USEDEP}] |
767 |
- dev-python/pygtk[$(python_gen_usedep python2_7)] |
768 |
- ) |
769 |
- || ( |
770 |
- x11-misc/xclip |
771 |
- x11-misc/xsel |
772 |
- ) |
773 |
- ) |
774 |
- " |
775 |
- |
776 |
-DEPEND="${MINIMAL_DEPEND} |
777 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
778 |
- >=dev-python/cython-0.23[${PYTHON_USEDEP}] |
779 |
- doc? ( |
780 |
- ${VIRTUALX_DEPEND} |
781 |
- app-text/pandoc |
782 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
783 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
784 |
- dev-python/ipython[${PYTHON_USEDEP}] |
785 |
- dev-python/lxml[${PYTHON_USEDEP}] |
786 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
787 |
- >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] |
788 |
- >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}] |
789 |
- dev-python/pytz[${PYTHON_USEDEP}] |
790 |
- dev-python/rpy[${PYTHON_USEDEP}] |
791 |
- >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}] |
792 |
- dev-python/xlrd[${PYTHON_USEDEP}] |
793 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
794 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
795 |
- x11-misc/xclip |
796 |
- ) |
797 |
- test? ( |
798 |
- ${VIRTUALX_DEPEND} |
799 |
- ${RECOMMENDED_DEPEND} |
800 |
- ${OPTIONAL_DEPEND} |
801 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
802 |
- dev-python/nose[${PYTHON_USEDEP}] |
803 |
- dev-python/pymysql[${PYTHON_USEDEP}] |
804 |
- dev-python/psycopg:2[${PYTHON_USEDEP}] |
805 |
- x11-misc/xclip |
806 |
- x11-misc/xsel |
807 |
- )" |
808 |
-# dev-python/statsmodels invokes a circular dep |
809 |
-# hence rm from doc? ( ), again |
810 |
-RDEPEND=" |
811 |
- ${MINIMAL_DEPEND} |
812 |
- !minimal? ( ${RECOMMENDED_DEPEND} ) |
813 |
- full-support? ( ${OPTIONAL_DEPEND} )" |
814 |
- |
815 |
-python_prepare_all() { |
816 |
- # Prevent un-needed download during build |
817 |
- sed -e "/^ 'sphinx.ext.intersphinx',/d" \ |
818 |
- -i doc/source/conf.py || die |
819 |
- distutils-r1_python_prepare_all |
820 |
-} |
821 |
- |
822 |
-python_compile_all() { |
823 |
- # To build docs the need be located in $BUILD_DIR, |
824 |
- # else PYTHONPATH points to unusable modules. |
825 |
- if use doc; then |
826 |
- cd "${BUILD_DIR}"/lib || die |
827 |
- cp -ar "${S}"/doc . && cd doc || die |
828 |
- LANG=C PYTHONPATH=. virtx ${EPYTHON} make.py html || die |
829 |
- fi |
830 |
-} |
831 |
- |
832 |
-python_test() { |
833 |
- local test_pandas='not network and not disabled' |
834 |
- [[ -n "${FAST_PANDAS}" ]] && test_pandas+=' and not slow' |
835 |
- pushd "${BUILD_DIR}"/lib > /dev/null |
836 |
- "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die |
837 |
- PYTHONPATH=. MPLCONFIGDIR=. \ |
838 |
- virtx nosetests --verbosity=3 -A "${test_pandas}" pandas |
839 |
- popd > /dev/null |
840 |
-} |
841 |
- |
842 |
-python_install_all() { |
843 |
- if use doc; then |
844 |
- dodoc -r "${BUILD_DIR}"/lib/doc/build/html |
845 |
- einfo "An initial build of docs is absent of references to statsmodels" |
846 |
- einfo "due to circular dependency. To have them included, emerge" |
847 |
- einfo "statsmodels next and re-emerge pandas with USE doc" |
848 |
- fi |
849 |
- |
850 |
- distutils-r1_python_install_all |
851 |
-} |
852 |
- |
853 |
-pkg_postinst() { |
854 |
- optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck |
855 |
- optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" |
856 |
- optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup:4 dev-python/html5lib dev-python/lxml |
857 |
- optfeature "for msgpack compression using blosc" dev-python/blosc |
858 |
- optfeature "necessary for Amazon S3 access" dev-python/boto |
859 |
- optfeature "needed for pandas.io.gbq" dev-python/httplib2 dev-python/setuptools dev-python/python-gflags ">=dev-python/google-api-python-client-1.2.0" |
860 |
- optfeature "Template engine for conditional HTML formatting" dev-python/jinja |
861 |
- optfeature "Plotting support" dev-python/matplotlib |
862 |
- optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt |
863 |
- optfeature "necessary for HDF5-based storage" ">=dev-python/pytables-3.2.1" |
864 |
- optfeature "R I/O support" dev-python/rpy |
865 |
- optfeature "Needed for parts of pandas.stats" dev-python/statsmodels |
866 |
- optfeature "SQL database support" ">=dev-python/sqlalchemy-0.8.1" |
867 |
- optfeature "miscellaneous statistical functions" sci-libs/scipy |
868 |
- optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt4 dev-python/pyside dev-python/pygtk x11-misc/xclip x11-misc/xsel |
869 |
-} |