summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/statsmodels/Manifest1
-rw-r--r--dev-python/statsmodels/files/statsmodels-0.14.0-test.patch30
-rw-r--r--dev-python/statsmodels/statsmodels-0.14.0.ebuild92
3 files changed, 0 insertions, 123 deletions
diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest
index 153f0ca3c59c..cabad4cc1cc4 100644
--- a/dev-python/statsmodels/Manifest
+++ b/dev-python/statsmodels/Manifest
@@ -1,2 +1 @@
-DIST statsmodels-0.14.0.tar.gz 19374614 BLAKE2B b24c8c146ea9ed393da8e839e3c9a80b1ddaa6fe319204f4440b3435c756911bc1b6405544c6ab8e4370fd378ba26715da743e4d082af7774b8cefa8649d6c58 SHA512 876cc45eb4b5badee2ff859df8a45ce7c4f6ab2973d481f58c5b7906ebcdbb56a64769d5dd7a38c7b7415a4ee7cf98cf300b8c623bda9df001b982ff6844d1fd
DIST statsmodels-0.14.1.tar.gz 20309647 BLAKE2B ef9b70671b78eb45b48997c5a8ea35828b7722b31a6c77d55b81f4aad6ddb3608305a3319a0d284797654ef2bbd5f25416459450a6b26be56b9e3e3137fccac8 SHA512 e382ca807205e2aeff76dd22b42e7824914472588ea040d90835fd46e0c993e155828c58e81f53f9539ad9bdf195bbbd1a49a45658187498d60287374112fd68
diff --git a/dev-python/statsmodels/files/statsmodels-0.14.0-test.patch b/dev-python/statsmodels/files/statsmodels-0.14.0-test.patch
deleted file mode 100644
index db63fbdca403..000000000000
--- a/dev-python/statsmodels/files/statsmodels-0.14.0-test.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 39a33cc65573b57a5d31ac4e9393a7c1e050da22 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Sat, 6 May 2023 07:43:28 +0200
-Subject: [PATCH] TST: install missing *.csv files needed by tsa.stl tests
-
-Closes #8869
----
- setup.py | 1 +
- statsmodels/tsa/stl/tests/results/__init__.py | 0
- 2 files changed, 1 insertion(+)
- create mode 100644 statsmodels/tsa/stl/tests/results/__init__.py
-
-diff --git a/setup.py b/setup.py
-index 69141b2bd..c2fdc532b 100644
---- a/setup.py
-+++ b/setup.py
-@@ -126,6 +126,7 @@ ADDITIONAL_PACKAGE_DATA = {
- "statsmodels.datasets.tests": ["*.zip"],
- "statsmodels.iolib.tests.results": ["*.dta"],
- "statsmodels.stats.tests.results": ["*.json"],
-+ "statsmodels.tsa.stl.tests.results": ["*.csv"],
- "statsmodels.tsa.vector_ar.tests.results": ["*.npz", "*.dat"],
- "statsmodels.stats.tests": ["*.txt"],
- "statsmodels.stats.libqsturng": ["*.r", "*.txt", "*.dat"],
-diff --git a/statsmodels/tsa/stl/tests/results/__init__.py b/statsmodels/tsa/stl/tests/results/__init__.py
-new file mode 100644
-index 000000000..e69de29bb
---
-2.40.1
-
diff --git a/dev-python/statsmodels/statsmodels-0.14.0.ebuild b/dev-python/statsmodels/statsmodels-0.14.0.ebuild
deleted file mode 100644
index 69d993e13f9e..000000000000
--- a/dev-python/statsmodels/statsmodels-0.14.0.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit distutils-r1 multiprocessing optfeature pypi
-
-DESCRIPTION="Statistical computations and models for use with SciPy"
-HOMEPAGE="
- https://www.statsmodels.org/stable/index.html
- https://github.com/statsmodels/statsmodels/
- https://pypi.org/project/statsmodels/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm64 ppc64 ~riscv ~s390 ~sparc ~amd64-linux"
-IUSE="examples"
-
-DEPEND="
- >=dev-python/numpy-1.17[${PYTHON_USEDEP}]
- >=dev-python/scipy-1.3[${PYTHON_USEDEP}]
-"
-RDEPEND="
- ${DEPEND}
- >=dev-python/numpy-1.17[${PYTHON_USEDEP}]
- >=dev-python/packaging-21.3[${PYTHON_USEDEP}]
- >=dev-python/pandas-0.25[${PYTHON_USEDEP}]
- >=dev-python/patsy-0.5.2[${PYTHON_USEDEP}]
- >=dev-python/scipy-1.3[${PYTHON_USEDEP}]
-"
-# https://github.com/statsmodels/statsmodels/issues/8868 for <cython-3
-BDEPEND="
- ${DEPEND}
- <dev-python/cython-3[${PYTHON_USEDEP}]
- test? (
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_sphinx docs \
- 'dev-python/ipykernel' \
- 'dev-python/jupyter-client' \
- 'dev-python/matplotlib' \
- 'dev-python/nbconvert' \
- 'dev-python/numpydoc'
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
- local PATCHES=(
- "${FILESDIR}/${P}-test.patch"
- )
-
- # Prevent un-needed d'loading
- export VARTEXFONTS="${T}"/fonts
- export MPLCONFIGDIR="${T}"
- printf -- 'backend : Agg\n' > "${MPLCONFIGDIR}"/matplotlibrc || die
-
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- local -x MKL_NUM_THREADS=1
- local -x OMP_NUM_THREADS=1
- local EPYTEST_DESELECT=(
- # note that test path should be without "statsmodels/" prefix
- imputation/tests/test_mice.py::TestMICE::test_combine
- stats/tests/test_mediation.py::test_mixedlm
- "stats/tests/test_corrpsd.py::test_corrpsd_threshold[0]"
- )
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-
- cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
- epytest statsmodels -p xdist -n "$(makeopts_jobs)"
-}
-
-python_install_all() {
- if use examples; then
- docompress -x /usr/share/doc/${PF}/examples
- dodoc -r examples
- fi
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- optfeature "Plotting functionality" "dev-python/matplotlib"
-}