Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/statsmodels/
Date: Mon, 27 Feb 2017 22:22:28
Message-Id: 1488234131.f70574691bd93d3b512520ef86c14e28642c283d.bicatali@gentoo
1 commit: f70574691bd93d3b512520ef86c14e28642c283d
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 22:21:50 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 22:22:11 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7057469
7
8 dev-python/statsmodels: version bump
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/statsmodels/Manifest | 2 +-
13 dev-python/statsmodels/metadata.xml | 16 +++---
14 dev-python/statsmodels/statsmodels-0.5.0.ebuild | 67 ----------------------
15 dev-python/statsmodels/statsmodels-0.8.0.ebuild | 76 +++++++++++++++++++++++++
16 4 files changed, 85 insertions(+), 76 deletions(-)
17
18 diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest
19 index 2e761505dd..1cffa0f451 100644
20 --- a/dev-python/statsmodels/Manifest
21 +++ b/dev-python/statsmodels/Manifest
22 @@ -1,2 +1,2 @@
23 -DIST statsmodels-0.5.0.tar.gz 5519668 SHA256 65398518bdd414c712362738e61d34ee5ec07b4c084bba17c65af5f20ae109d0 SHA512 24526200f212c1ad4492b84aad65967254d89aecee4c9f5d76ed499aa9b8c7fe619ca7301810ff5e7aec407f2f01b139c9f9c152a4597fe21736d04b24f6dd0a WHIRLPOOL c2719d25873ea949da30c63895c4536c559c0f45923eb885a3f7f664f3b82783d9945b346032513c4e0f1df9b82f9657956885e05d94505207a4c9ddb10a489e
24 DIST statsmodels-0.6.1.tar.gz 6980841 SHA256 be4e44374aec9e848b73e5a230dee190ac0c4519e1d40f69a5813190b13ec676 SHA512 9047b8cf4b9d19bd697867cecef1c4608fd86f3d16e67e44d8c152e1e25918f5aff6b4843c58395e71614be401551e3e48d4dcf158480cbdb45d9735b1c5ea77 WHIRLPOOL b14c7f5b734b26190f23edbf4020ace135571d4c0fa45e3e174647879d4c6547273abbab6c8911c346bf85b433a1908bd230fa52a1e09ede0e74c5e5167a8ecf
25 +DIST statsmodels-0.8.0.tar.gz 9464851 SHA256 26431ab706fbae896db7870a0892743bfbb9f5c83231644692166a31d2d86048 SHA512 32bb7f36acc16796c445e5f695d958af4525fbbb2d374376fb4a73c972e3796fad05532456cef4aa5ee59d6fce11921174e17bbfc2e05d2488ce1ceac5175239 WHIRLPOOL 92dd92c9c5af6c73d90d2122e17306431be0263ae719db393400e5553ab4cbf3003603d0979b1528fd90bc1f5063d13d6778832f45f74e43ec70c829a684fedd
26
27 diff --git a/dev-python/statsmodels/metadata.xml b/dev-python/statsmodels/metadata.xml
28 index 18891a94f2..3935be27d5 100644
29 --- a/dev-python/statsmodels/metadata.xml
30 +++ b/dev-python/statsmodels/metadata.xml
31 @@ -10,16 +10,16 @@
32 <name>Gentoo Mathematics Project</name>
33 </maintainer>
34 <longdescription lang="en">
35 - statsmodels is a Python module that allows users to explore data,
36 - estimate statistical models, and perform statistical tests. An
37 - extensive list of descriptive statistics, statistical tests,
38 - plotting functions, and result statistics are available for
39 - different types of data and each estimator. Researchers across
40 - fields may find that statsmodels fully meets their needs for
41 - statistical computing and data analysis in Python.
42 + statsmodels is a Python module that allows users to explore data,
43 + estimate statistical models, and perform statistical tests. An
44 + extensive list of descriptive statistics, statistical tests,
45 + plotting functions, and result statistics are available for
46 + different types of data and each estimator. Researchers across
47 + fields may find that statsmodels fully meets their needs for
48 + statistical computing and data analysis in Python.
49 </longdescription>
50 <upstream>
51 <remote-id type="pypi">statsmodels</remote-id>
52 - <remote-id type="sourceforge">statsmodels</remote-id>
53 + <remote-id type="github">statsmodels</remote-id>
54 </upstream>
55 </pkgmetadata>
56
57 diff --git a/dev-python/statsmodels/statsmodels-0.5.0.ebuild b/dev-python/statsmodels/statsmodels-0.5.0.ebuild
58 deleted file mode 100644
59 index 03a91e2b11..0000000000
60 --- a/dev-python/statsmodels/statsmodels-0.5.0.ebuild
61 +++ /dev/null
62 @@ -1,67 +0,0 @@
63 -# Copyright 1999-2015 Gentoo Foundation
64 -# Distributed under the terms of the GNU General Public License v2
65 -# $Id$
66 -
67 -EAPI=5
68 -
69 -PYTHON_COMPAT=( python2_7 )
70 -
71 -inherit distutils-r1 virtualx
72 -
73 -DESCRIPTION="Statistical computations and models for use with SciPy"
74 -HOMEPAGE="http://statsmodels.sourceforge.net/"
75 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
76 -
77 -LICENSE="BSD"
78 -SLOT="0"
79 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
80 -IUSE="doc examples test"
81 -
82 -RDEPEND="
83 - dev-python/pandas[${PYTHON_USEDEP}]
84 - dev-python/patsy[${PYTHON_USEDEP}]
85 - sci-libs/scipy[${PYTHON_USEDEP}]
86 - examples? ( dev-python/matplotlib[${PYTHON_USEDEP}] )"
87 -DEPEND="
88 - dev-python/cython[${PYTHON_USEDEP}]
89 - dev-python/pandas[${PYTHON_USEDEP}]
90 - dev-python/patsy[${PYTHON_USEDEP}]
91 - dev-python/setuptools[${PYTHON_USEDEP}]
92 - sci-libs/scipy[${PYTHON_USEDEP}]
93 - doc? (
94 - dev-python/matplotlib
95 - dev-python/sphinx
96 - dev-python/ipython )
97 - test? ( dev-python/nose[${PYTHON_USEDEP}] )"
98 -
99 -pkg_setup() {
100 - export MPLCONFIGDIR="${T}" HOME="${T}"
101 -}
102 -
103 -python_compile_all() {
104 - if use doc; then
105 - VARTEXFONTS="${T}"/fonts ${EPYTHON} setup.py build_sphinx || die
106 - fi
107 -}
108 -
109 -python_test() {
110 - cd "${BUILD_DIR}" || die
111 - VIRTUALX_COMMAND="nosetests"
112 - virtualmake --verbosity=3
113 -}
114 -
115 -python_install() {
116 - distutils-r1_python_install
117 - rm -r "${D}/$(python_get_sitedir)/statsmodels/examples" || die
118 -}
119 -
120 -python_install_all() {
121 - find "${S}" -name \*LICENSE.txt -delete
122 - use doc && HTML_DOCS=( build/sphinx/html/* )
123 - if use examples; then
124 - docompress -x /usr/share/doc/${PF}/examples
125 - insinto /usr/share/doc/${PF}
126 - doins -r examples
127 - fi
128 - distutils-r1_python_install_all
129 -}
130
131 diff --git a/dev-python/statsmodels/statsmodels-0.8.0.ebuild b/dev-python/statsmodels/statsmodels-0.8.0.ebuild
132 new file mode 100644
133 index 0000000000..c9550d803a
134 --- /dev/null
135 +++ b/dev-python/statsmodels/statsmodels-0.8.0.ebuild
136 @@ -0,0 +1,76 @@
137 +# Copyright 1999-2017 Gentoo Foundation
138 +# Distributed under the terms of the GNU General Public License v2
139 +# $Id$
140 +
141 +EAPI=6
142 +
143 +PYTHON_COMPAT=( python2_7 python3_{4,5} )
144 +
145 +inherit distutils-r1 virtualx
146 +
147 +DESCRIPTION="Statistical computations and models for use with SciPy"
148 +HOMEPAGE="http://www.statsmodels.org/"
149 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
150 +
151 +LICENSE="BSD"
152 +SLOT="0"
153 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
154 +IUSE="doc examples test"
155 +
156 +CDEPEND="
157 + dev-python/numpy[${PYTHON_USEDEP}]
158 + dev-python/pandas[${PYTHON_USEDEP}]
159 + dev-python/patsy[${PYTHON_USEDEP}]
160 + sci-libs/scipy[${PYTHON_USEDEP}]
161 +"
162 +RDEPEND="${CDEPEND}
163 + examples? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
164 +"
165 +DEPEND="${CDEPEND}
166 + dev-python/cython[${PYTHON_USEDEP}]
167 + dev-python/setuptools[${PYTHON_USEDEP}]
168 + doc? (
169 + dev-python/ipykernel[${PYTHON_USEDEP}]
170 + dev-python/jupyter_client[${PYTHON_USEDEP}]
171 + dev-python/matplotlib[${PYTHON_USEDEP}]
172 + dev-python/nbconvert[${PYTHON_USEDEP}]
173 + dev-python/nbformat[${PYTHON_USEDEP}]
174 + dev-python/numpydoc[${PYTHON_USEDEP}]
175 + dev-python/sphinx[${PYTHON_USEDEP}]
176 + )
177 + test? ( dev-python/nose[${PYTHON_USEDEP}] )
178 +"
179 +
180 +python_prepare_all() {
181 + # Prevent un-needed d'loading
182 + sed -e "/sphinx.ext.intersphinx/d" -i docs/source/conf.py || die
183 + export VARTEXFONTS="${T}"/fonts
184 + export MPLCONFIGDIR="${T}"
185 + export HOME="${T}"
186 + echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die
187 + distutils-r1_python_prepare_all
188 +}
189 +
190 +python_compile_all() {
191 + use doc && esetup.py build_sphinx -b html --build-dir=docs/build
192 +}
193 +
194 +python_test() {
195 + cd "${BUILD_DIR}" || die
196 + virtx nosetests -v || die
197 +}
198 +
199 +python_install_all() {
200 + find "${S}" -name \*LICENSE.txt -delete
201 + use doc && HTML_DOCS=( docs/build/html/* )
202 + if use examples; then
203 + docompress -x /usr/share/doc/${PF}/examples
204 + insinto /usr/share/doc/${PF}
205 + doins -r examples
206 + fi
207 + distutils-r1_python_install_all
208 +}
209 +
210 +pkg_postinst() {
211 + optfeature "Plotting functionality" "dev-python/matplotlib"
212 +}