Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/statsmodels/
Date: Sat, 07 May 2022 20:00:47
Message-Id: 1651953635.04d280c1c77e76827b5600ff5c66ba79dccfddb0.mgorny@gentoo
1 commit: 04d280c1c77e76827b5600ff5c66ba79dccfddb0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 7 19:56:55 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 7 20:00:35 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04d280c1
7
8 dev-python/statsmodels: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/statsmodels/Manifest | 3 -
13 .../statsmodels/statsmodels-0.12.2-r1.ebuild | 85 ----------------------
14 dev-python/statsmodels/statsmodels-0.13.0.ebuild | 83 ---------------------
15 dev-python/statsmodels/statsmodels-0.13.1.ebuild | 83 ---------------------
16 4 files changed, 254 deletions(-)
17
18 diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest
19 index 287c45a56118..541073544dbf 100644
20 --- a/dev-python/statsmodels/Manifest
21 +++ b/dev-python/statsmodels/Manifest
22 @@ -1,4 +1 @@
23 -DIST statsmodels-0.12.2.tar.gz 17470078 BLAKE2B 7b2a17fe350489888fd05d2275b597ec7cb0f32dcea97daa5c06a973fa53a7b3af40d494c735e30cd65deec9b5dd314c0513454a7c2d2c40e22fd6de3aeb40c8 SHA512 ae4872bc7300ef564407daa8b4076fd70fc180965622ed2173871579e063e2143e000540089923fe171dbb191b7dd872077d8ba6794fe23390331375ec7ce810
24 -DIST statsmodels-0.13.0.tar.gz 17766215 BLAKE2B 54894a1061bbd90154ea81d599c913119a90f89dd37055f3e6c69b23bc265a424c08a2e5cb2c88edc9a3a82fd69a236e6eaf73c08a8201c31b1cdc5cc9ea0bd5 SHA512 829e927d146f6587ef545c2a5668d9ba60e1493eb0deb79754029128d419a6811ace17572e3c324d738a1a36e69b8b85d92030b187c85fa5be49003806ba6145
25 -DIST statsmodels-0.13.1.tar.gz 18144383 BLAKE2B 87af88dae8db6a7e690133f0a48f9ee52fa104e5fbce1ffa6f7e67675b901b0843146b24b81da6b98526d2ab4414450e039e6309ee1e3cf942edcb9a2ea799f6 SHA512 027d3c538b03e9c95ba0915318b9025d6f9d7c1ce74d4b9c522971b3f0b53527e60ab3fa9f4a74d87e91b5a4f66cf7d2b4e58b214458022026596c923ff5d470
26 DIST statsmodels-0.13.2.tar.gz 17874260 BLAKE2B 93f7a308217ba938b3cd2e11d75e8f5ad19e2d4e6ab2abbea702143129bb53e7b9be54864375dbfec805624538bc73850357eb944d6c9a4c1252cc8a7606b904 SHA512 79d8dd63f667d4019e462d93e007a5ef8e11972fe35fb4d657931d6d68f3e35d29978a865682133db12fd6742f3362c2d77dfb5735c82ae454570388dd84d59a
27
28 diff --git a/dev-python/statsmodels/statsmodels-0.12.2-r1.ebuild b/dev-python/statsmodels/statsmodels-0.12.2-r1.ebuild
29 deleted file mode 100644
30 index 621dd09ec811..000000000000
31 --- a/dev-python/statsmodels/statsmodels-0.12.2-r1.ebuild
32 +++ /dev/null
33 @@ -1,85 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{8..10} )
40 -
41 -inherit distutils-r1 multiprocessing optfeature
42 -
43 -DESCRIPTION="Statistical computations and models for use with SciPy"
44 -HOMEPAGE="https://www.statsmodels.org/stable/index.html"
45 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 -
47 -LICENSE="BSD"
48 -SLOT="0"
49 -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux"
50 -IUSE="examples"
51 -
52 -RDEPEND="
53 - >=dev-python/numpy-1.15[${PYTHON_USEDEP}]
54 - >=dev-python/pandas-0.23.0[${PYTHON_USEDEP}]
55 - dev-python/patsy[${PYTHON_USEDEP}]
56 - >=dev-python/scipy-1.1[${PYTHON_USEDEP}]
57 -"
58 -BDEPEND="
59 - dev-python/cython[${PYTHON_USEDEP}]
60 - >=dev-python/numpy-1.15[${PYTHON_USEDEP}]
61 - >=dev-python/scipy-1.1[${PYTHON_USEDEP}]
62 - test? (
63 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
64 - )
65 -"
66 -
67 -PATCHES=(
68 - "${FILESDIR}/statsmodels-0.11.1-tests.patch"
69 - "${FILESDIR}/${P}-new-pandas-scipy.patch"
70 -)
71 -
72 -distutils_enable_sphinx docs \
73 - 'dev-python/ipykernel' \
74 - 'dev-python/jupyter_client' \
75 - 'dev-python/matplotlib' \
76 - 'dev-python/nbconvert' \
77 - 'dev-python/numpydoc'
78 -
79 -distutils_enable_tests pytest
80 -
81 -python_prepare_all() {
82 - # Prevent un-needed d'loading
83 - export VARTEXFONTS="${T}"/fonts
84 - export MPLCONFIGDIR="${T}"
85 - printf -- 'backend : Agg\n' > "${MPLCONFIGDIR}"/matplotlibrc || die
86 -
87 - sed -e 's:test_combine:_&:' \
88 - -i statsmodels/imputation/tests/test_mice.py || die
89 - sed -e 's:test_mixedlm:_&:' \
90 - -i statsmodels/stats/tests/test_mediation.py || die
91 -
92 - distutils-r1_python_prepare_all
93 -}
94 -
95 -python_test() {
96 - local -x MKL_NUM_THREADS=1
97 - local -x OMP_NUM_THREADS=1
98 - local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
99 -
100 - pushd "${BUILD_DIR}" >/dev/null || die
101 - "${EPYTHON}" -c "
102 -import statsmodels
103 -statsmodels.test(extra_args=['-vv', '-n', '${jobs}'], exit=True)" \
104 - || die "tests fail with ${EPYTHON}"
105 - popd >/dev/null || die
106 -}
107 -
108 -python_install_all() {
109 - if use examples; then
110 - docompress -x /usr/share/doc/${PF}/examples
111 - dodoc -r examples
112 - fi
113 - distutils-r1_python_install_all
114 -}
115 -
116 -pkg_postinst() {
117 - optfeature "Plotting functionality" "dev-python/matplotlib"
118 -}
119
120 diff --git a/dev-python/statsmodels/statsmodels-0.13.0.ebuild b/dev-python/statsmodels/statsmodels-0.13.0.ebuild
121 deleted file mode 100644
122 index dca696dc7923..000000000000
123 --- a/dev-python/statsmodels/statsmodels-0.13.0.ebuild
124 +++ /dev/null
125 @@ -1,83 +0,0 @@
126 -# Copyright 1999-2021 Gentoo Authors
127 -# Distributed under the terms of the GNU General Public License v2
128 -
129 -EAPI=8
130 -
131 -PYTHON_COMPAT=( python3_{8..10} )
132 -
133 -inherit distutils-r1 multiprocessing optfeature
134 -
135 -DESCRIPTION="Statistical computations and models for use with SciPy"
136 -HOMEPAGE="https://www.statsmodels.org/stable/index.html"
137 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
138 -
139 -LICENSE="BSD"
140 -SLOT="0"
141 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux"
142 -IUSE="examples"
143 -
144 -DEPEND="
145 - >=dev-python/numpy-1.17[${PYTHON_USEDEP}]
146 - >=dev-python/scipy-1.3[${PYTHON_USEDEP}]"
147 -RDEPEND="
148 - ${DEPEND}
149 - >=dev-python/numpy-1.17[${PYTHON_USEDEP}]
150 - >=dev-python/pandas-0.25[${PYTHON_USEDEP}]
151 - >=dev-python/patsy-0.5.2[${PYTHON_USEDEP}]
152 - >=dev-python/scipy-1.3[${PYTHON_USEDEP}]
153 -"
154 -BDEPEND="
155 - ${DEPEND}
156 - dev-python/cython[${PYTHON_USEDEP}]
157 - test? (
158 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
159 - )
160 -"
161 -
162 -distutils_enable_sphinx docs \
163 - 'dev-python/ipykernel' \
164 - 'dev-python/jupyter_client' \
165 - 'dev-python/matplotlib' \
166 - 'dev-python/nbconvert' \
167 - 'dev-python/numpydoc'
168 -
169 -distutils_enable_tests pytest
170 -
171 -python_prepare_all() {
172 - # Prevent un-needed d'loading
173 - export VARTEXFONTS="${T}"/fonts
174 - export MPLCONFIGDIR="${T}"
175 - printf -- 'backend : Agg\n' > "${MPLCONFIGDIR}"/matplotlibrc || die
176 -
177 - sed -e 's:test_combine:_&:' \
178 - -i statsmodels/imputation/tests/test_mice.py || die
179 - sed -e 's:test_mixedlm:_&:' \
180 - -i statsmodels/stats/tests/test_mediation.py || die
181 -
182 - distutils-r1_python_prepare_all
183 -}
184 -
185 -python_test() {
186 - local -x MKL_NUM_THREADS=1
187 - local -x OMP_NUM_THREADS=1
188 - local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
189 -
190 - pushd "${BUILD_DIR}" >/dev/null || die
191 - "${EPYTHON}" -c "
192 -import statsmodels
193 -statsmodels.test(extra_args=['-vv', '-n', '${jobs}'], exit=True)" \
194 - || die "tests fail with ${EPYTHON}"
195 - popd >/dev/null || die
196 -}
197 -
198 -python_install_all() {
199 - if use examples; then
200 - docompress -x /usr/share/doc/${PF}/examples
201 - dodoc -r examples
202 - fi
203 - distutils-r1_python_install_all
204 -}
205 -
206 -pkg_postinst() {
207 - optfeature "Plotting functionality" "dev-python/matplotlib"
208 -}
209
210 diff --git a/dev-python/statsmodels/statsmodels-0.13.1.ebuild b/dev-python/statsmodels/statsmodels-0.13.1.ebuild
211 deleted file mode 100644
212 index b89cd0bbb873..000000000000
213 --- a/dev-python/statsmodels/statsmodels-0.13.1.ebuild
214 +++ /dev/null
215 @@ -1,83 +0,0 @@
216 -# Copyright 1999-2022 Gentoo Authors
217 -# Distributed under the terms of the GNU General Public License v2
218 -
219 -EAPI=8
220 -
221 -PYTHON_COMPAT=( python3_{8..10} )
222 -
223 -inherit distutils-r1 multiprocessing optfeature
224 -
225 -DESCRIPTION="Statistical computations and models for use with SciPy"
226 -HOMEPAGE="https://www.statsmodels.org/stable/index.html"
227 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
228 -
229 -LICENSE="BSD"
230 -SLOT="0"
231 -KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
232 -IUSE="examples"
233 -
234 -DEPEND="
235 - >=dev-python/numpy-1.17[${PYTHON_USEDEP}]
236 - >=dev-python/scipy-1.3[${PYTHON_USEDEP}]"
237 -RDEPEND="
238 - ${DEPEND}
239 - >=dev-python/numpy-1.17[${PYTHON_USEDEP}]
240 - >=dev-python/pandas-0.25[${PYTHON_USEDEP}]
241 - >=dev-python/patsy-0.5.2[${PYTHON_USEDEP}]
242 - >=dev-python/scipy-1.3[${PYTHON_USEDEP}]
243 -"
244 -BDEPEND="
245 - ${DEPEND}
246 - dev-python/cython[${PYTHON_USEDEP}]
247 - test? (
248 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
249 - )
250 -"
251 -
252 -distutils_enable_sphinx docs \
253 - 'dev-python/ipykernel' \
254 - 'dev-python/jupyter_client' \
255 - 'dev-python/matplotlib' \
256 - 'dev-python/nbconvert' \
257 - 'dev-python/numpydoc'
258 -
259 -distutils_enable_tests pytest
260 -
261 -python_prepare_all() {
262 - # Prevent un-needed d'loading
263 - export VARTEXFONTS="${T}"/fonts
264 - export MPLCONFIGDIR="${T}"
265 - printf -- 'backend : Agg\n' > "${MPLCONFIGDIR}"/matplotlibrc || die
266 -
267 - sed -e 's:test_combine:_&:' \
268 - -i statsmodels/imputation/tests/test_mice.py || die
269 - sed -e 's:test_mixedlm:_&:' \
270 - -i statsmodels/stats/tests/test_mediation.py || die
271 -
272 - distutils-r1_python_prepare_all
273 -}
274 -
275 -python_test() {
276 - local -x MKL_NUM_THREADS=1
277 - local -x OMP_NUM_THREADS=1
278 - local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
279 -
280 - pushd "${BUILD_DIR}" >/dev/null || die
281 - "${EPYTHON}" -c "
282 -import statsmodels
283 -statsmodels.test(extra_args=['-vv', '-n', '${jobs}'], exit=True)" \
284 - || die "tests fail with ${EPYTHON}"
285 - popd >/dev/null || die
286 -}
287 -
288 -python_install_all() {
289 - if use examples; then
290 - docompress -x /usr/share/doc/${PF}/examples
291 - dodoc -r examples
292 - fi
293 - distutils-r1_python_install_all
294 -}
295 -
296 -pkg_postinst() {
297 - optfeature "Plotting functionality" "dev-python/matplotlib"
298 -}