1 |
commit: 57dbc6db0705bc057d3535178bb2b77e8869d272 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 2 17:23:06 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 2 17:23:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57dbc6db |
7 |
|
8 |
dev-python/statsmodels: Remove unmaintained live ebuild |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/statsmodels/statsmodels-9999.ebuild | 77 -------------------------- |
13 |
1 file changed, 77 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/statsmodels/statsmodels-9999.ebuild b/dev-python/statsmodels/statsmodels-9999.ebuild |
16 |
deleted file mode 100644 |
17 |
index a826d02a24e..00000000000 |
18 |
--- a/dev-python/statsmodels/statsmodels-9999.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,77 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
-PYTHON_COMPAT=( python3_7 ) |
26 |
- |
27 |
-inherit distutils-r1 git-r3 optfeature virtualx |
28 |
- |
29 |
-DESCRIPTION="Statistical computations and models for use with SciPy" |
30 |
-HOMEPAGE="https://www.statsmodels.org/stable/index.html" |
31 |
-SRC_URI="" |
32 |
-EGIT_REPO_URI="https://github.com/statsmodels/statsmodels.git" |
33 |
- |
34 |
-LICENSE="BSD" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="" |
37 |
-IUSE="doc examples test" |
38 |
-RESTRICT="!test? ( test )" |
39 |
- |
40 |
-CDEPEND=" |
41 |
- dev-python/numpy[${PYTHON_USEDEP}] |
42 |
- dev-python/pandas[${PYTHON_USEDEP}] |
43 |
- dev-python/patsy[${PYTHON_USEDEP}] |
44 |
- dev-python/scipy[${PYTHON_USEDEP}] |
45 |
-" |
46 |
-RDEPEND="${CDEPEND} |
47 |
- examples? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) |
48 |
-" |
49 |
-DEPEND="${CDEPEND} |
50 |
- dev-python/cython[${PYTHON_USEDEP}] |
51 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
52 |
- doc? ( |
53 |
- dev-python/ipykernel[${PYTHON_USEDEP}] |
54 |
- dev-python/jupyter_client[${PYTHON_USEDEP}] |
55 |
- dev-python/matplotlib[${PYTHON_USEDEP}] |
56 |
- dev-python/nbconvert[${PYTHON_USEDEP}] |
57 |
- dev-python/nbformat[${PYTHON_USEDEP}] |
58 |
- dev-python/numpydoc[${PYTHON_USEDEP}] |
59 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
60 |
- ) |
61 |
- test? ( dev-python/pytest[${PYTHON_USEDEP}] ) |
62 |
-" |
63 |
- |
64 |
-python_prepare_all() { |
65 |
- # Prevent un-needed d'loading |
66 |
- sed -e "/sphinx.ext.intersphinx/d" -i docs/source/conf.py || die |
67 |
- export VARTEXFONTS="${T}"/fonts |
68 |
- export MPLCONFIGDIR="${T}" |
69 |
- export HOME="${T}" |
70 |
- echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die |
71 |
- distutils-r1_python_prepare_all |
72 |
-} |
73 |
- |
74 |
-python_compile_all() { |
75 |
- if use doc; then |
76 |
- esetup.py build_sphinx -b html --build-dir=docs/build |
77 |
- HTML_DOCS=( docs/build/html/. ) |
78 |
- fi |
79 |
-} |
80 |
- |
81 |
-python_test() { |
82 |
- cd "${BUILD_DIR}" || die |
83 |
- ${EPYTHON} -c 'import statsmodels; statsmodels.test(exit=True)' || die |
84 |
-} |
85 |
- |
86 |
-python_install_all() { |
87 |
- find "${S}" -name \*LICENSE.txt -delete |
88 |
- if use examples; then |
89 |
- docompress -x /usr/share/doc/${PF}/examples |
90 |
- dodoc -r examples |
91 |
- fi |
92 |
- distutils-r1_python_install_all |
93 |
-} |
94 |
- |
95 |
-pkg_postinst() { |
96 |
- optfeature "Plotting functionality" "dev-python/matplotlib" |
97 |
-} |