1 |
commit: d2b986082c6624158e8a37899eb9b9e78ce009d3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 29 06:49:35 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 29 07:18:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2b98608 |
7 |
|
8 |
dev-python/pandas: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pandas/Manifest | 3 - |
13 |
dev-python/pandas/pandas-1.1.5-r1.ebuild | 182 ----------------------------- |
14 |
dev-python/pandas/pandas-1.2.1-r1.ebuild | 190 ------------------------------- |
15 |
dev-python/pandas/pandas-1.2.2-r1.ebuild | 190 ------------------------------- |
16 |
4 files changed, 565 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/pandas/Manifest b/dev-python/pandas/Manifest |
19 |
index e777abfb37e..e728ccd7ef2 100644 |
20 |
--- a/dev-python/pandas/Manifest |
21 |
+++ b/dev-python/pandas/Manifest |
22 |
@@ -1,5 +1,2 @@ |
23 |
-DIST pandas-1.1.5.tar.gz 5229894 BLAKE2B 5b47774e33c7fccd7a9110e8971e8ce63cafd68273ee870b386aa8562be4c8f667137a4a078eafb2a62847bdd6f73c390254e8024d483c21e1834a8c49d44d32 SHA512 a213690ea658554b78e003a30cc88a59e34195457401d84b1cafdf74433ad27c801c12b8138371bb0206f6dc083ae882eabf0e33cb5733fa313e9f3257d48823 |
24 |
-DIST pandas-1.2.1.tar.gz 5459053 BLAKE2B 49d99e7217d52f1233cdff20628da9028b7a8ce1d89a5ebe502c6e960ca9f7948005e7a63a15b76f9bc44ab5f15e00eef86c3b3179e6cad820e6f5072c7c78f0 SHA512 9bf9212ebdd07785f1877f5f80d6a5beb4637e8a1cf741e32a705a48724280a8e8daae209c66c1a3f00718b566127d77af578d6c72a5d9b68e2b03784c604083 |
25 |
-DIST pandas-1.2.2.tar.gz 5463571 BLAKE2B e27e032bb9d6abb6f40d1a15bc7e9796690f0bd099e5fc7704cbd5b40b37c0f277b462116bd7582263abef8f728d3109f6c4c425cac427f0c750b019fd5e8ad8 SHA512 288ec9f3a2042c2a376340ddc25b4e2d9d3c4de146468316378269d4b70fb271241acb9aa5295415d8bebabad859a9ea9dc95aa71a68f06c2eba73809b9b30e2 |
26 |
DIST pandas-1.2.3.tar.gz 5466356 BLAKE2B f392321915128769814b3a8b7673cd7b00c9c292f4cb8d8b2e8537f7cc513f92cb6b8ff74dffe3b167987e8fa387738264dbebfdf4019f9cd7afd4f78234212a SHA512 3108424253aa143a85ef166091829bbd8c9b6446b516f37252742146d184f722e1fb8af5b4d04937362a298068019a91392e40c818126df6a7459bab7f3077cb |
27 |
DIST pandas-1.2.4.tar.gz 5469105 BLAKE2B 7f39e3ca67f5997c0668b0c2e9792869963adcd0347a3983188a992794ad58ccba82105b4dc3315cc17d79104f7fea7a273c218967eb51b1ea1514e87aeebb66 SHA512 79e7a38b8edad52b70eb81ba821141b928c782009d59c50076e7d1e7c015078d333c0c80bda7ba720f4ccb221a0ba93a02885fe6a573567ee37ffae14ee9b2c3 |
28 |
|
29 |
diff --git a/dev-python/pandas/pandas-1.1.5-r1.ebuild b/dev-python/pandas/pandas-1.1.5-r1.ebuild |
30 |
deleted file mode 100644 |
31 |
index 75aeaa4bcee..00000000000 |
32 |
--- a/dev-python/pandas/pandas-1.1.5-r1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,182 +0,0 @@ |
35 |
-# Copyright 1999-2021 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-PYTHON_COMPAT=( python3_{7..9} ) |
41 |
-PYTHON_REQ_USE="threads(+)" |
42 |
- |
43 |
-VIRTUALX_REQUIRED="manual" |
44 |
- |
45 |
-inherit distutils-r1 flag-o-matic multiprocessing optfeature virtualx |
46 |
- |
47 |
-DESCRIPTION="Powerful data structures for data analysis and statistics" |
48 |
-HOMEPAGE="https://pandas.pydata.org/" |
49 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/_/}.tar.gz" |
50 |
-S="${WORKDIR}/${P/_/}" |
51 |
- |
52 |
-SLOT="0" |
53 |
-LICENSE="BSD" |
54 |
-KEYWORDS="amd64 ~arm ~arm64 x86" |
55 |
-IUSE="doc full-support minimal test X" |
56 |
-RESTRICT="!test? ( test )" |
57 |
- |
58 |
-RECOMMENDED_DEPEND=" |
59 |
- >=dev-python/bottleneck-1.2.1[${PYTHON_USEDEP}] |
60 |
- >=dev-python/numexpr-2.1[${PYTHON_USEDEP}] |
61 |
-" |
62 |
- |
63 |
-# TODO: add pandas-gbq to the tree |
64 |
-OPTIONAL_DEPEND=" |
65 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
66 |
- dev-python/blosc[${PYTHON_USEDEP}] |
67 |
- || ( |
68 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
69 |
- dev-python/lxml[${PYTHON_USEDEP}] |
70 |
- ) |
71 |
- dev-python/jinja[${PYTHON_USEDEP}] |
72 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
73 |
- || ( |
74 |
- dev-python/openpyxl[${PYTHON_USEDEP}] |
75 |
- dev-python/xlsxwriter[${PYTHON_USEDEP}] |
76 |
- ) |
77 |
- >=dev-python/pytables-3.2.1[${PYTHON_USEDEP}] |
78 |
- dev-python/statsmodels[${PYTHON_USEDEP}] |
79 |
- $(python_gen_cond_dep ' |
80 |
- >=dev-python/xarray-0.10.8[${PYTHON_USEDEP}] |
81 |
- ' python3_{6,7}) |
82 |
- >=dev-python/sqlalchemy-0.8.1[${PYTHON_USEDEP}] |
83 |
- >=dev-python/xlrd-1.0.0[${PYTHON_USEDEP}] |
84 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
85 |
- >=dev-python/scipy-1.1[${PYTHON_USEDEP}] |
86 |
- X? ( |
87 |
- || ( |
88 |
- dev-python/PyQt5[${PYTHON_USEDEP}] |
89 |
- x11-misc/xclip |
90 |
- x11-misc/xsel |
91 |
- ) |
92 |
- ) |
93 |
-" |
94 |
-COMMON_DEPEND=" |
95 |
- >dev-python/numpy-1.15.4[${PYTHON_USEDEP}] |
96 |
- dev-python/python-dateutil[${PYTHON_USEDEP}] |
97 |
- dev-python/pytz[${PYTHON_USEDEP}] |
98 |
-" |
99 |
-DEPEND="${COMMON_DEPEND} |
100 |
- >=dev-python/cython-0.29.21[${PYTHON_USEDEP}] |
101 |
- doc? ( |
102 |
- ${VIRTUALX_DEPEND} |
103 |
- app-text/pandoc |
104 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
105 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
106 |
- dev-python/ipython[${PYTHON_USEDEP}] |
107 |
- dev-python/lxml[${PYTHON_USEDEP}] |
108 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
109 |
- dev-python/nbsphinx[${PYTHON_USEDEP}] |
110 |
- >=dev-python/numpydoc-0.9.1[${PYTHON_USEDEP}] |
111 |
- >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] |
112 |
- >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}] |
113 |
- dev-python/pytz[${PYTHON_USEDEP}] |
114 |
- dev-python/rpy[${PYTHON_USEDEP}] |
115 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
116 |
- dev-python/xlrd[${PYTHON_USEDEP}] |
117 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
118 |
- dev-python/scipy[${PYTHON_USEDEP}] |
119 |
- x11-misc/xclip |
120 |
- ) |
121 |
- test? ( |
122 |
- ${VIRTUALX_DEPEND} |
123 |
- ${RECOMMENDED_DEPEND} |
124 |
- ${OPTIONAL_DEPEND} |
125 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
126 |
- dev-python/hypothesis[${PYTHON_USEDEP}] |
127 |
- dev-python/nose[${PYTHON_USEDEP}] |
128 |
- dev-python/openpyxl[${PYTHON_USEDEP}] |
129 |
- dev-python/pymysql[${PYTHON_USEDEP}] |
130 |
- dev-python/pytest[${PYTHON_USEDEP}] |
131 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
132 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
133 |
- dev-python/psycopg:2[${PYTHON_USEDEP}] |
134 |
- dev-python/xlsxwriter[${PYTHON_USEDEP}] |
135 |
- x11-misc/xclip |
136 |
- x11-misc/xsel |
137 |
- ) |
138 |
-" |
139 |
-# dev-python/statsmodels invokes a circular dep |
140 |
-# hence rm from doc? ( ), again |
141 |
-RDEPEND="${COMMON_DEPEND} |
142 |
- !minimal? ( ${RECOMMENDED_DEPEND} ) |
143 |
- full-support? ( ${OPTIONAL_DEPEND} ) |
144 |
-" |
145 |
- |
146 |
-python_prepare_all() { |
147 |
- # Prevent un-needed download during build |
148 |
- sed -e "/^ 'sphinx.ext.intersphinx',/d" \ |
149 |
- -i doc/source/conf.py || die |
150 |
- |
151 |
- # requires package installed |
152 |
- sed -e 's:test_register_entrypoint:_&:' \ |
153 |
- -i pandas/tests/plotting/test_backend.py || die |
154 |
- |
155 |
- sed -e '/extra_compile_args =/s:"-Werror"::' \ |
156 |
- -i setup.py || die |
157 |
- |
158 |
- distutils-r1_python_prepare_all |
159 |
-} |
160 |
- |
161 |
-python_compile() { |
162 |
- distutils-r1_python_compile -j1 |
163 |
-} |
164 |
- |
165 |
-python_compile_all() { |
166 |
- # To build docs the need be located in $BUILD_DIR, |
167 |
- # else PYTHONPATH points to unusable modules. |
168 |
- if use doc; then |
169 |
- cd "${BUILD_DIR}"/lib || die |
170 |
- cp -ar "${S}"/doc . && cd doc || die |
171 |
- LANG=C PYTHONPATH=. virtx ${EPYTHON} make.py html |
172 |
- fi |
173 |
-} |
174 |
- |
175 |
-src_test() { |
176 |
- virtx distutils-r1_src_test |
177 |
-} |
178 |
- |
179 |
-python_test() { |
180 |
- local -x LC_ALL=C.UTF-8 |
181 |
- pushd "${BUILD_DIR}"/lib > /dev/null || die |
182 |
- "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die |
183 |
- PYTHONPATH=. pytest pandas -v --skip-slow --skip-network \ |
184 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \ |
185 |
- -m "not single" || die "Tests failed with ${EPYTHON}" |
186 |
- find . '(' -name .pytest_cache -o -name .hypothesis ')' \ |
187 |
- -exec rm -r {} + || die |
188 |
- popd > /dev/null || die |
189 |
-} |
190 |
- |
191 |
-python_install_all() { |
192 |
- if use doc; then |
193 |
- dodoc -r "${BUILD_DIR}"/lib/doc/build/html |
194 |
- einfo "An initial build of docs is absent of references to statsmodels" |
195 |
- einfo "due to circular dependency. To have them included, emerge" |
196 |
- einfo "statsmodels next and re-emerge pandas with USE doc" |
197 |
- fi |
198 |
- |
199 |
- distutils-r1_python_install_all |
200 |
-} |
201 |
- |
202 |
-pkg_postinst() { |
203 |
- optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck |
204 |
- optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" |
205 |
- optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup:4 dev-python/html5lib dev-python/lxml |
206 |
- optfeature "for msgpack compression using blosc" dev-python/blosc |
207 |
- optfeature "Template engine for conditional HTML formatting" dev-python/jinja |
208 |
- optfeature "Plotting support" dev-python/matplotlib |
209 |
- optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt |
210 |
- optfeature "necessary for HDF5-based storage" ">=dev-python/pytables-3.2.1" |
211 |
- optfeature "R I/O support" dev-python/rpy |
212 |
- optfeature "Needed for parts of pandas.stats" dev-python/statsmodels |
213 |
- optfeature "SQL database support" ">=dev-python/sqlalchemy-0.8.1" |
214 |
- optfeature "miscellaneous statistical functions" dev-python/scipy |
215 |
- optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/pygtk x11-misc/xclip x11-misc/xsel |
216 |
-} |
217 |
|
218 |
diff --git a/dev-python/pandas/pandas-1.2.1-r1.ebuild b/dev-python/pandas/pandas-1.2.1-r1.ebuild |
219 |
deleted file mode 100644 |
220 |
index e8005c2752e..00000000000 |
221 |
--- a/dev-python/pandas/pandas-1.2.1-r1.ebuild |
222 |
+++ /dev/null |
223 |
@@ -1,190 +0,0 @@ |
224 |
-# Copyright 1999-2021 Gentoo Authors |
225 |
-# Distributed under the terms of the GNU General Public License v2 |
226 |
- |
227 |
-EAPI=7 |
228 |
- |
229 |
-PYTHON_COMPAT=( python3_{7..9} ) |
230 |
-PYTHON_REQ_USE="threads(+)" |
231 |
- |
232 |
-VIRTUALX_REQUIRED="manual" |
233 |
- |
234 |
-inherit distutils-r1 flag-o-matic multiprocessing optfeature virtualx |
235 |
- |
236 |
-DESCRIPTION="Powerful data structures for data analysis and statistics" |
237 |
-HOMEPAGE="https://pandas.pydata.org/" |
238 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/_/}.tar.gz" |
239 |
-S="${WORKDIR}/${P/_/}" |
240 |
- |
241 |
-SLOT="0" |
242 |
-LICENSE="BSD" |
243 |
-KEYWORDS="amd64 ~arm ~arm64 ~x86" |
244 |
-IUSE="doc full-support minimal test X" |
245 |
-RESTRICT="!test? ( test )" |
246 |
- |
247 |
-RECOMMENDED_DEPEND=" |
248 |
- >=dev-python/bottleneck-1.2.1[${PYTHON_USEDEP}] |
249 |
- >=dev-python/numexpr-2.1[${PYTHON_USEDEP}] |
250 |
-" |
251 |
- |
252 |
-# TODO: add pandas-gbq to the tree |
253 |
-OPTIONAL_DEPEND=" |
254 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
255 |
- dev-python/blosc[${PYTHON_USEDEP}] |
256 |
- || ( |
257 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
258 |
- dev-python/lxml[${PYTHON_USEDEP}] |
259 |
- ) |
260 |
- dev-python/jinja[${PYTHON_USEDEP}] |
261 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
262 |
- || ( |
263 |
- dev-python/openpyxl[${PYTHON_USEDEP}] |
264 |
- dev-python/xlsxwriter[${PYTHON_USEDEP}] |
265 |
- ) |
266 |
- >=dev-python/pytables-3.2.1[${PYTHON_USEDEP}] |
267 |
- dev-python/statsmodels[${PYTHON_USEDEP}] |
268 |
- $(python_gen_cond_dep ' |
269 |
- >=dev-python/xarray-0.10.8[${PYTHON_USEDEP}] |
270 |
- ' python3_{6,7}) |
271 |
- >=dev-python/sqlalchemy-0.8.1[${PYTHON_USEDEP}] |
272 |
- >=dev-python/xlrd-1.0.0[${PYTHON_USEDEP}] |
273 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
274 |
- >=dev-python/scipy-1.1[${PYTHON_USEDEP}] |
275 |
- X? ( |
276 |
- || ( |
277 |
- dev-python/PyQt5[${PYTHON_USEDEP}] |
278 |
- x11-misc/xclip |
279 |
- x11-misc/xsel |
280 |
- ) |
281 |
- ) |
282 |
-" |
283 |
-COMMON_DEPEND=" |
284 |
- >dev-python/numpy-1.15.4[${PYTHON_USEDEP}] |
285 |
- dev-python/python-dateutil[${PYTHON_USEDEP}] |
286 |
- dev-python/pytz[${PYTHON_USEDEP}] |
287 |
-" |
288 |
-DEPEND="${COMMON_DEPEND} |
289 |
- >=dev-python/cython-0.29.21[${PYTHON_USEDEP}] |
290 |
- doc? ( |
291 |
- ${VIRTUALX_DEPEND} |
292 |
- app-text/pandoc |
293 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
294 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
295 |
- dev-python/ipython[${PYTHON_USEDEP}] |
296 |
- dev-python/lxml[${PYTHON_USEDEP}] |
297 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
298 |
- dev-python/nbsphinx[${PYTHON_USEDEP}] |
299 |
- >=dev-python/numpydoc-0.9.1[${PYTHON_USEDEP}] |
300 |
- >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] |
301 |
- >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}] |
302 |
- dev-python/pytz[${PYTHON_USEDEP}] |
303 |
- dev-python/rpy[${PYTHON_USEDEP}] |
304 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
305 |
- dev-python/xlrd[${PYTHON_USEDEP}] |
306 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
307 |
- dev-python/scipy[${PYTHON_USEDEP}] |
308 |
- x11-misc/xclip |
309 |
- ) |
310 |
- test? ( |
311 |
- ${VIRTUALX_DEPEND} |
312 |
- ${RECOMMENDED_DEPEND} |
313 |
- ${OPTIONAL_DEPEND} |
314 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
315 |
- dev-python/hypothesis[${PYTHON_USEDEP}] |
316 |
- dev-python/nose[${PYTHON_USEDEP}] |
317 |
- dev-python/openpyxl[${PYTHON_USEDEP}] |
318 |
- dev-python/pymysql[${PYTHON_USEDEP}] |
319 |
- >=dev-python/pytest-5.1[${PYTHON_USEDEP}] |
320 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
321 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
322 |
- dev-python/psycopg:2[${PYTHON_USEDEP}] |
323 |
- dev-python/xlsxwriter[${PYTHON_USEDEP}] |
324 |
- x11-misc/xclip |
325 |
- x11-misc/xsel |
326 |
- ) |
327 |
-" |
328 |
-# dev-python/statsmodels invokes a circular dep |
329 |
-# hence rm from doc? ( ), again |
330 |
-RDEPEND="${COMMON_DEPEND} |
331 |
- !minimal? ( ${RECOMMENDED_DEPEND} ) |
332 |
- full-support? ( ${OPTIONAL_DEPEND} ) |
333 |
-" |
334 |
- |
335 |
-python_prepare_all() { |
336 |
- # Prevent un-needed download during build |
337 |
- sed -e "/^ 'sphinx.ext.intersphinx',/d" \ |
338 |
- -i doc/source/conf.py || die |
339 |
- |
340 |
- # requires package installed |
341 |
- sed -e '/extra_compile_args =/s:"-Werror"::' \ |
342 |
- -i setup.py || die |
343 |
- |
344 |
- distutils-r1_python_prepare_all |
345 |
-} |
346 |
- |
347 |
-python_compile() { |
348 |
- distutils-r1_python_compile -j1 |
349 |
-} |
350 |
- |
351 |
-python_compile_all() { |
352 |
- # To build docs the need be located in $BUILD_DIR, |
353 |
- # else PYTHONPATH points to unusable modules. |
354 |
- if use doc; then |
355 |
- cd "${BUILD_DIR}"/lib || die |
356 |
- cp -ar "${S}"/doc . && cd doc || die |
357 |
- LANG=C PYTHONPATH=. virtx ${EPYTHON} make.py html |
358 |
- fi |
359 |
-} |
360 |
- |
361 |
-src_test() { |
362 |
- virtx distutils-r1_src_test |
363 |
-} |
364 |
- |
365 |
-python_test() { |
366 |
- local deselect=( |
367 |
- # test for rounding errors, fails if we have better precision |
368 |
- # e.g. on amd64 with FMA or on arm64 |
369 |
- # https://github.com/pandas-dev/pandas/issues/38921 |
370 |
- pandas/tests/window/test_rolling.py::test_rolling_var_numerical_issues |
371 |
- |
372 |
- # weird issue, doesn't seem very important |
373 |
- 'pandas/tests/base/test_misc.py::test_memory_usage[series-with-empty-index]' |
374 |
- ) |
375 |
- |
376 |
- local -x LC_ALL=C.UTF-8 |
377 |
- pushd "${BUILD_DIR}"/lib > /dev/null || die |
378 |
- "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die |
379 |
- PYTHONPATH=. pytest pandas -vv --skip-slow --skip-network \ |
380 |
- ${deselect[@]/#/--deselect } \ |
381 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \ |
382 |
- -m "not single" || die "Tests failed with ${EPYTHON}" |
383 |
- find . '(' -name .pytest_cache -o -name .hypothesis ')' \ |
384 |
- -exec rm -r {} + || die |
385 |
- popd > /dev/null || die |
386 |
-} |
387 |
- |
388 |
-python_install_all() { |
389 |
- if use doc; then |
390 |
- dodoc -r "${BUILD_DIR}"/lib/doc/build/html |
391 |
- einfo "An initial build of docs is absent of references to statsmodels" |
392 |
- einfo "due to circular dependency. To have them included, emerge" |
393 |
- einfo "statsmodels next and re-emerge pandas with USE doc" |
394 |
- fi |
395 |
- |
396 |
- distutils-r1_python_install_all |
397 |
-} |
398 |
- |
399 |
-pkg_postinst() { |
400 |
- optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck |
401 |
- optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" |
402 |
- optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup:4 dev-python/html5lib dev-python/lxml |
403 |
- optfeature "for msgpack compression using blosc" dev-python/blosc |
404 |
- optfeature "Template engine for conditional HTML formatting" dev-python/jinja |
405 |
- optfeature "Plotting support" dev-python/matplotlib |
406 |
- optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt |
407 |
- optfeature "necessary for HDF5-based storage" ">=dev-python/pytables-3.2.1" |
408 |
- optfeature "R I/O support" dev-python/rpy |
409 |
- optfeature "Needed for parts of pandas.stats" dev-python/statsmodels |
410 |
- optfeature "SQL database support" ">=dev-python/sqlalchemy-0.8.1" |
411 |
- optfeature "miscellaneous statistical functions" dev-python/scipy |
412 |
- optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/pygtk x11-misc/xclip x11-misc/xsel |
413 |
-} |
414 |
|
415 |
diff --git a/dev-python/pandas/pandas-1.2.2-r1.ebuild b/dev-python/pandas/pandas-1.2.2-r1.ebuild |
416 |
deleted file mode 100644 |
417 |
index 5ff9e82c213..00000000000 |
418 |
--- a/dev-python/pandas/pandas-1.2.2-r1.ebuild |
419 |
+++ /dev/null |
420 |
@@ -1,190 +0,0 @@ |
421 |
-# Copyright 1999-2021 Gentoo Authors |
422 |
-# Distributed under the terms of the GNU General Public License v2 |
423 |
- |
424 |
-EAPI=7 |
425 |
- |
426 |
-PYTHON_COMPAT=( python3_{7..9} ) |
427 |
-PYTHON_REQ_USE="threads(+)" |
428 |
- |
429 |
-VIRTUALX_REQUIRED="manual" |
430 |
- |
431 |
-inherit distutils-r1 flag-o-matic multiprocessing optfeature virtualx |
432 |
- |
433 |
-DESCRIPTION="Powerful data structures for data analysis and statistics" |
434 |
-HOMEPAGE="https://pandas.pydata.org/" |
435 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P/_/}.tar.gz" |
436 |
-S="${WORKDIR}/${P/_/}" |
437 |
- |
438 |
-SLOT="0" |
439 |
-LICENSE="BSD" |
440 |
-KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
441 |
-IUSE="doc full-support minimal test X" |
442 |
-RESTRICT="!test? ( test )" |
443 |
- |
444 |
-RECOMMENDED_DEPEND=" |
445 |
- >=dev-python/bottleneck-1.2.1[${PYTHON_USEDEP}] |
446 |
- >=dev-python/numexpr-2.1[${PYTHON_USEDEP}] |
447 |
-" |
448 |
- |
449 |
-# TODO: add pandas-gbq to the tree |
450 |
-OPTIONAL_DEPEND=" |
451 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
452 |
- dev-python/blosc[${PYTHON_USEDEP}] |
453 |
- || ( |
454 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
455 |
- dev-python/lxml[${PYTHON_USEDEP}] |
456 |
- ) |
457 |
- dev-python/jinja[${PYTHON_USEDEP}] |
458 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
459 |
- || ( |
460 |
- dev-python/openpyxl[${PYTHON_USEDEP}] |
461 |
- dev-python/xlsxwriter[${PYTHON_USEDEP}] |
462 |
- ) |
463 |
- >=dev-python/pytables-3.2.1[${PYTHON_USEDEP}] |
464 |
- dev-python/statsmodels[${PYTHON_USEDEP}] |
465 |
- $(python_gen_cond_dep ' |
466 |
- >=dev-python/xarray-0.10.8[${PYTHON_USEDEP}] |
467 |
- ' python3_{6,7}) |
468 |
- >=dev-python/sqlalchemy-0.8.1[${PYTHON_USEDEP}] |
469 |
- >=dev-python/xlrd-1.0.0[${PYTHON_USEDEP}] |
470 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
471 |
- >=dev-python/scipy-1.1[${PYTHON_USEDEP}] |
472 |
- X? ( |
473 |
- || ( |
474 |
- dev-python/PyQt5[${PYTHON_USEDEP}] |
475 |
- x11-misc/xclip |
476 |
- x11-misc/xsel |
477 |
- ) |
478 |
- ) |
479 |
-" |
480 |
-COMMON_DEPEND=" |
481 |
- >dev-python/numpy-1.15.4[${PYTHON_USEDEP}] |
482 |
- dev-python/python-dateutil[${PYTHON_USEDEP}] |
483 |
- dev-python/pytz[${PYTHON_USEDEP}] |
484 |
-" |
485 |
-DEPEND="${COMMON_DEPEND} |
486 |
- >=dev-python/cython-0.29.21[${PYTHON_USEDEP}] |
487 |
- doc? ( |
488 |
- ${VIRTUALX_DEPEND} |
489 |
- app-text/pandoc |
490 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
491 |
- dev-python/html5lib[${PYTHON_USEDEP}] |
492 |
- dev-python/ipython[${PYTHON_USEDEP}] |
493 |
- dev-python/lxml[${PYTHON_USEDEP}] |
494 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
495 |
- dev-python/nbsphinx[${PYTHON_USEDEP}] |
496 |
- >=dev-python/numpydoc-0.9.1[${PYTHON_USEDEP}] |
497 |
- >=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}] |
498 |
- >=dev-python/pytables-3.0.0[${PYTHON_USEDEP}] |
499 |
- dev-python/pytz[${PYTHON_USEDEP}] |
500 |
- dev-python/rpy[${PYTHON_USEDEP}] |
501 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
502 |
- dev-python/xlrd[${PYTHON_USEDEP}] |
503 |
- dev-python/xlwt[${PYTHON_USEDEP}] |
504 |
- dev-python/scipy[${PYTHON_USEDEP}] |
505 |
- x11-misc/xclip |
506 |
- ) |
507 |
- test? ( |
508 |
- ${VIRTUALX_DEPEND} |
509 |
- ${RECOMMENDED_DEPEND} |
510 |
- ${OPTIONAL_DEPEND} |
511 |
- dev-python/beautifulsoup:4[${PYTHON_USEDEP}] |
512 |
- dev-python/hypothesis[${PYTHON_USEDEP}] |
513 |
- dev-python/nose[${PYTHON_USEDEP}] |
514 |
- dev-python/openpyxl[${PYTHON_USEDEP}] |
515 |
- dev-python/pymysql[${PYTHON_USEDEP}] |
516 |
- >=dev-python/pytest-5.1[${PYTHON_USEDEP}] |
517 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
518 |
- dev-python/pytest-xdist[${PYTHON_USEDEP}] |
519 |
- dev-python/psycopg:2[${PYTHON_USEDEP}] |
520 |
- dev-python/xlsxwriter[${PYTHON_USEDEP}] |
521 |
- x11-misc/xclip |
522 |
- x11-misc/xsel |
523 |
- ) |
524 |
-" |
525 |
-# dev-python/statsmodels invokes a circular dep |
526 |
-# hence rm from doc? ( ), again |
527 |
-RDEPEND="${COMMON_DEPEND} |
528 |
- !minimal? ( ${RECOMMENDED_DEPEND} ) |
529 |
- full-support? ( ${OPTIONAL_DEPEND} ) |
530 |
-" |
531 |
- |
532 |
-python_prepare_all() { |
533 |
- # Prevent un-needed download during build |
534 |
- sed -e "/^ 'sphinx.ext.intersphinx',/d" \ |
535 |
- -i doc/source/conf.py || die |
536 |
- |
537 |
- # requires package installed |
538 |
- sed -e '/extra_compile_args =/s:"-Werror"::' \ |
539 |
- -i setup.py || die |
540 |
- |
541 |
- distutils-r1_python_prepare_all |
542 |
-} |
543 |
- |
544 |
-python_compile() { |
545 |
- distutils-r1_python_compile -j1 |
546 |
-} |
547 |
- |
548 |
-python_compile_all() { |
549 |
- # To build docs the need be located in $BUILD_DIR, |
550 |
- # else PYTHONPATH points to unusable modules. |
551 |
- if use doc; then |
552 |
- cd "${BUILD_DIR}"/lib || die |
553 |
- cp -ar "${S}"/doc . && cd doc || die |
554 |
- LANG=C PYTHONPATH=. virtx ${EPYTHON} make.py html |
555 |
- fi |
556 |
-} |
557 |
- |
558 |
-src_test() { |
559 |
- virtx distutils-r1_src_test |
560 |
-} |
561 |
- |
562 |
-python_test() { |
563 |
- local deselect=( |
564 |
- # test for rounding errors, fails if we have better precision |
565 |
- # e.g. on amd64 with FMA or on arm64 |
566 |
- # https://github.com/pandas-dev/pandas/issues/38921 |
567 |
- pandas/tests/window/test_rolling.py::test_rolling_var_numerical_issues |
568 |
- |
569 |
- # weird issue, doesn't seem very important |
570 |
- 'pandas/tests/base/test_misc.py::test_memory_usage[series-with-empty-index]' |
571 |
- ) |
572 |
- |
573 |
- local -x LC_ALL=C.UTF-8 |
574 |
- pushd "${BUILD_DIR}"/lib > /dev/null || die |
575 |
- "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die |
576 |
- PYTHONPATH=. pytest pandas -vv --skip-slow --skip-network \ |
577 |
- ${deselect[@]/#/--deselect } \ |
578 |
- -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" \ |
579 |
- -m "not single" || die "Tests failed with ${EPYTHON}" |
580 |
- find . '(' -name .pytest_cache -o -name .hypothesis ')' \ |
581 |
- -exec rm -r {} + || die |
582 |
- popd > /dev/null || die |
583 |
-} |
584 |
- |
585 |
-python_install_all() { |
586 |
- if use doc; then |
587 |
- dodoc -r "${BUILD_DIR}"/lib/doc/build/html |
588 |
- einfo "An initial build of docs is absent of references to statsmodels" |
589 |
- einfo "due to circular dependency. To have them included, emerge" |
590 |
- einfo "statsmodels next and re-emerge pandas with USE doc" |
591 |
- fi |
592 |
- |
593 |
- distutils-r1_python_install_all |
594 |
-} |
595 |
- |
596 |
-pkg_postinst() { |
597 |
- optfeature "accelerating certain types of NaN evaluations, using specialized cython routines to achieve large speedups." dev-python/bottleneck |
598 |
- optfeature "accelerating certain numerical operations, using multiple cores as well as smart chunking and caching to achieve large speedups" ">=dev-python/numexpr-2.1" |
599 |
- optfeature "needed for pandas.io.html.read_html" dev-python/beautifulsoup:4 dev-python/html5lib dev-python/lxml |
600 |
- optfeature "for msgpack compression using blosc" dev-python/blosc |
601 |
- optfeature "Template engine for conditional HTML formatting" dev-python/jinja |
602 |
- optfeature "Plotting support" dev-python/matplotlib |
603 |
- optfeature "Needed for Excel I/O" ">=dev-python/openpyxl-1.6.1" dev-python/xlsxwriter dev-python/xlrd dev-python/xlwt |
604 |
- optfeature "necessary for HDF5-based storage" ">=dev-python/pytables-3.2.1" |
605 |
- optfeature "R I/O support" dev-python/rpy |
606 |
- optfeature "Needed for parts of pandas.stats" dev-python/statsmodels |
607 |
- optfeature "SQL database support" ">=dev-python/sqlalchemy-0.8.1" |
608 |
- optfeature "miscellaneous statistical functions" dev-python/scipy |
609 |
- optfeature "necessary to use pandas.io.clipboard.read_clipboard support" dev-python/PyQt5 dev-python/pygtk x11-misc/xclip x11-misc/xsel |
610 |
-} |