1 |
commit: 90cad3a553e44d26e68462db2eb833860730af08 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 29 09:18:46 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 29 09:49:45 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90cad3a5 |
7 |
|
8 |
dev-python/statsmodels: Remove redundant versions |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/statsmodels/Manifest | 1 - |
13 |
dev-python/statsmodels/statsmodels-0.9.0.ebuild | 100 ------------------------ |
14 |
2 files changed, 101 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest |
17 |
index 0b26238e639..cc231b7edff 100644 |
18 |
--- a/dev-python/statsmodels/Manifest |
19 |
+++ b/dev-python/statsmodels/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
DIST statsmodels-0.10.2.tar.gz 14065612 BLAKE2B 0df1268de5e4108b3cc541df87a5b9d2321bd3062d4daf1cc1aa62ab08ee777bace2f10bdfb51f088a66f15287c62cf851b3f43efa7eb1227e71c06632e80d55 SHA512 bd1c0784b0b17a3ca69fef5848f5eea8dcf76b1943599a5e5c285e45b7fcc7e44c0e388f007913d420ff6f3cb66a653d1c43e6e8addef534ff5572fa69ffb54a |
22 |
-DIST statsmodels-0.9.0.tar.gz 12658359 BLAKE2B 1b451edc281ac8bfd35441d7f31ff02c7068b854c06a5e50fcb6fb2ff3c023bbee264a25407078f99ca08e467676a32c1a0156dec668673bad3e8d7a46a95154 SHA512 a0310129ee915dce5006e4e40190d19c3a09facad398ff089fa4a244d51a035f9591267fd8d34a00ce82e4cab893df96787596f9d350d878e97a0bb3305f1bd5 |
23 |
|
24 |
diff --git a/dev-python/statsmodels/statsmodels-0.9.0.ebuild b/dev-python/statsmodels/statsmodels-0.9.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index 2f681a3d845..00000000000 |
27 |
--- a/dev-python/statsmodels/statsmodels-0.9.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,100 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
-PYTHON_COMPAT=( python3_{6,7} ) |
35 |
- |
36 |
-inherit distutils-r1 eutils |
37 |
- |
38 |
-DESCRIPTION="Statistical computations and models for use with SciPy" |
39 |
-HOMEPAGE="https://www.statsmodels.org/stable/index.html" |
40 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="BSD" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" |
45 |
-IUSE="doc examples test" |
46 |
-RESTRICT="!test? ( test )" |
47 |
- |
48 |
-COMMON_DEPEND=" |
49 |
- dev-python/numpy[${PYTHON_USEDEP}] |
50 |
- >=dev-python/pandas-0.23.0[${PYTHON_USEDEP}] |
51 |
- dev-python/patsy[${PYTHON_USEDEP}] |
52 |
- sci-libs/scipy[${PYTHON_USEDEP}] |
53 |
-" |
54 |
-RDEPEND="${COMMON_DEPEND}" |
55 |
-DEPEND="${COMMON_DEPEND} |
56 |
- dev-python/cython[${PYTHON_USEDEP}] |
57 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
58 |
- doc? ( |
59 |
- dev-python/ipykernel[${PYTHON_USEDEP}] |
60 |
- dev-python/jupyter_client[${PYTHON_USEDEP}] |
61 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
62 |
- dev-python/nbconvert[${PYTHON_USEDEP}] |
63 |
- dev-python/nbformat[${PYTHON_USEDEP}] |
64 |
- dev-python/numpydoc[${PYTHON_USEDEP}] |
65 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
66 |
- ) |
67 |
- test? ( |
68 |
- dev-python/pytest[${PYTHON_USEDEP}] |
69 |
- dev-python/nose[${PYTHON_USEDEP}] |
70 |
- ) |
71 |
-" |
72 |
- |
73 |
-python_prepare_all() { |
74 |
- # Prevent un-needed d'loading |
75 |
- sed -e "/sphinx.ext.intersphinx/d" -i docs/source/conf.py || die |
76 |
- export VARTEXFONTS="${T}"/fonts |
77 |
- export MPLCONFIGDIR="${T}" |
78 |
- echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die |
79 |
- if use test; then |
80 |
- # Errors reported upstream: https://github.com/statsmodels/statsmodels/issues/4850 |
81 |
- rm statsmodels/tsa/tests/test_tsa_indexes.py || die |
82 |
- sed -i -e \ |
83 |
- "/def test_start_params_bug():/i@×××××××××××.xfail(reason='Known to fail on Gentoo')" \ |
84 |
- statsmodels/tsa/tests/test_arima.py || die |
85 |
- sed -i -e \ |
86 |
- "s/def test_pandas_endog():/def _test_pandas_endog():/g" \ |
87 |
- statsmodels/tsa/statespace/tests/test_mlemodel.py || die |
88 |
- sed -i -e \ |
89 |
- "/def test_all_datasets():/i@×××××××××××.xfail(reason='Known to fail on Gentoo')" \ |
90 |
- statsmodels/datasets/tests/test_data.py || die |
91 |
- sed -i -e \ |
92 |
- "/def test_issue_339():/i@×××××××××××.xfail(reason='Known to fail on Gentoo')" \ |
93 |
- statsmodels/discrete/tests/test_discrete.py || die |
94 |
- sed -i \ |
95 |
- -e "s/def test_hdr_multiple_alpha():/def _test_hdr_multiple_alpha():/g" \ |
96 |
- statsmodels/graphics/tests/test_functional.py || die |
97 |
- sed -i \ |
98 |
- -e '1s/^/import pytest \n/' \ |
99 |
- -e "/def test_single_factor_repeated_measures_anova():/i@×××××××××××.xfail(reason='Known to fail on Gentoo with Python 3')" \ |
100 |
- -e "/def test_two_factors_repeated_measures_anova():/i@×××××××××××.xfail(reason='Known to fail on Gentoo with Python 3')" \ |
101 |
- -e "/def test_three_factors_repeated_measures_anova():/i@×××××××××××.xfail(reason='Known to fail on Gentoo with Python 3')" \ |
102 |
- -e "/def test_repeated_measures_aggregate_compare_with_ezANOVA():/i@×××××××××××.xfail(reason='Known to fail on Gentoo with Python 3')" \ |
103 |
- statsmodels/stats/tests/test_anova_rm.py || die |
104 |
- fi |
105 |
- distutils-r1_python_prepare_all |
106 |
-} |
107 |
- |
108 |
-python_compile_all() { |
109 |
- use doc && esetup.py build_sphinx -b html --build-dir=docs/build |
110 |
-} |
111 |
- |
112 |
-python_test() { |
113 |
- cd "${BUILD_DIR}" || die |
114 |
- py.test -v || die |
115 |
-} |
116 |
- |
117 |
-python_install_all() { |
118 |
- find . -name \*LICENSE.txt -delete || die |
119 |
- use doc && HTML_DOCS=( docs/build/html/. ) |
120 |
- if use examples; then |
121 |
- docompress -x /usr/share/doc/${PF}/examples |
122 |
- dodoc -r examples |
123 |
- fi |
124 |
- distutils-r1_python_install_all |
125 |
-} |
126 |
- |
127 |
-pkg_postinst() { |
128 |
- optfeature "Plotting functionality" "dev-python/matplotlib" |
129 |
-} |