summaryrefslogtreecommitdiff
path: root/dev-python/statsmodels
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /dev-python/statsmodels
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-python/statsmodels')
-rw-r--r--dev-python/statsmodels/Manifest4
-rw-r--r--dev-python/statsmodels/statsmodels-0.13.1.ebuild4
-rw-r--r--dev-python/statsmodels/statsmodels-0.13.2.ebuild85
3 files changed, 90 insertions, 3 deletions
diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest
index 5d1819327118..57cb7a0cd987 100644
--- a/dev-python/statsmodels/Manifest
+++ b/dev-python/statsmodels/Manifest
@@ -3,7 +3,9 @@ AUX statsmodels-0.12.2-new-pandas-scipy.patch 4730 BLAKE2B 2543000c15af63874a8d2
DIST statsmodels-0.12.2.tar.gz 17470078 BLAKE2B 7b2a17fe350489888fd05d2275b597ec7cb0f32dcea97daa5c06a973fa53a7b3af40d494c735e30cd65deec9b5dd314c0513454a7c2d2c40e22fd6de3aeb40c8 SHA512 ae4872bc7300ef564407daa8b4076fd70fc180965622ed2173871579e063e2143e000540089923fe171dbb191b7dd872077d8ba6794fe23390331375ec7ce810
DIST statsmodels-0.13.0.tar.gz 17766215 BLAKE2B 54894a1061bbd90154ea81d599c913119a90f89dd37055f3e6c69b23bc265a424c08a2e5cb2c88edc9a3a82fd69a236e6eaf73c08a8201c31b1cdc5cc9ea0bd5 SHA512 829e927d146f6587ef545c2a5668d9ba60e1493eb0deb79754029128d419a6811ace17572e3c324d738a1a36e69b8b85d92030b187c85fa5be49003806ba6145
DIST statsmodels-0.13.1.tar.gz 18144383 BLAKE2B 87af88dae8db6a7e690133f0a48f9ee52fa104e5fbce1ffa6f7e67675b901b0843146b24b81da6b98526d2ab4414450e039e6309ee1e3cf942edcb9a2ea799f6 SHA512 027d3c538b03e9c95ba0915318b9025d6f9d7c1ce74d4b9c522971b3f0b53527e60ab3fa9f4a74d87e91b5a4f66cf7d2b4e58b214458022026596c923ff5d470
+DIST statsmodels-0.13.2.tar.gz 17874260 BLAKE2B 93f7a308217ba938b3cd2e11d75e8f5ad19e2d4e6ab2abbea702143129bb53e7b9be54864375dbfec805624538bc73850357eb944d6c9a4c1252cc8a7606b904 SHA512 79d8dd63f667d4019e462d93e007a5ef8e11972fe35fb4d657931d6d68f3e35d29978a865682133db12fd6742f3362c2d77dfb5735c82ae454570388dd84d59a
EBUILD statsmodels-0.12.2-r1.ebuild 2128 BLAKE2B da69389a834d3fbd8d1cb7093115521d8153875d3675c64385979d6ebdf20a998d865d91b61367e1e213dcd94e31dba1a5f6f70c5d254a982d36c72902a0a1cf SHA512 f331721558d17064a23655744b2e103ae2be2bb8bf4b8913684601fd2d5a9c666ec8bb8b9c56ce9adfc4fb5cfb108384d0686a0ba2f4b81ab5d14b52e8d2db01
EBUILD statsmodels-0.13.0.ebuild 2070 BLAKE2B 5c72e8af31951a548e050a3c87e752017b4b604d1a6b8092973f14c255f9868f23f1bd64bec7fbced6ea996f96d0659db37abd4e02aee6a6e58a9f3e635a0928 SHA512 17d53d8bd6f6cc978c91a0c6219042fe01436f57049f8b876b5a5628506b4b6c97e79ef27907d95b35e11a9e8e9956141a40a6146010c2a060f8e50b3f03f4ff
-EBUILD statsmodels-0.13.1.ebuild 2073 BLAKE2B ff8681ee8c29f292f92897d9b34c1afa2afa81178bbdd7c5f451b00c77ed8745e408a0408cb40f5e18f98a642846ec92d338730ef3cafb400ffbf51726e2e1bd SHA512 110465a1934a4f43ef9bc79650c71dbc27826733ae526e1355c41af343e9465c1ee816d71b04d0615cca0360753233a9fe3cc5201f13b4b70922ba4bca8d85f6
+EBUILD statsmodels-0.13.1.ebuild 2080 BLAKE2B 3e38844ebcc06614a7b513b85723548001f52b39e6da9a200e321e963c524bb1b800ea3686fd0421d45ef7a75340f11161c6d5d345e439dc68afff3d37ab9f70 SHA512 7fbb95bf05d6ce3b4a96c0a7a08f4bf080d4659cec09c55b6b833dfd0694aca1a896c91db5dea07b898a982befb2b3a5b5d160294e5aff5bcc14566e107d76b4
+EBUILD statsmodels-0.13.2.ebuild 2167 BLAKE2B 4f940cc98aba0ae794df45b5b429b55905f4966bb0b58b2a03d2e835873909b81e3ec11cad506753a9cf058e487bef459ca6411d3582644c0570826da1de65f2 SHA512 f32463909cb1c13b57239fcb15e334cfa4a6e9b38dc8bd3cbd6b7caab423efb57e3aa68890956e22fd3a078c144f9c1043a770983914280cd3f507e53c9f5122
MISC metadata.xml 1344 BLAKE2B 9bf8a6aea4058c34598e450ed56d15e86830819dafe3fadb98c0e9a986a431319291cdd48d6734014f99008d1ee4a434244e142b2412dc49eac74e312ab51f60 SHA512 e87e712b79b666ea207584ef647fb61dc9572a0a4ef2a94e9dd4eae30bca8347d12635fb568483dbbebc483238cfaacea155e7d9711617d7eff4e4624e738ad1
diff --git a/dev-python/statsmodels/statsmodels-0.13.1.ebuild b/dev-python/statsmodels/statsmodels-0.13.1.ebuild
index d48dd84403f5..b89cd0bbb873 100644
--- a/dev-python/statsmodels/statsmodels-0.13.1.ebuild
+++ b/dev-python/statsmodels/statsmodels-0.13.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="examples"
DEPEND="
diff --git a/dev-python/statsmodels/statsmodels-0.13.2.ebuild b/dev-python/statsmodels/statsmodels-0.13.2.ebuild
new file mode 100644
index 000000000000..a74a58302838
--- /dev/null
+++ b/dev-python/statsmodels/statsmodels-0.13.2.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 multiprocessing optfeature
+
+DESCRIPTION="Statistical computations and models for use with SciPy"
+HOMEPAGE="https://www.statsmodels.org/stable/index.html"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-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}]
+"
+BDEPEND="
+ ${DEPEND}
+ dev-python/cython[${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() {
+ # Prevent un-needed d'loading
+ export VARTEXFONTS="${T}"/fonts
+ export MPLCONFIGDIR="${T}"
+ printf -- 'backend : Agg\n' > "${MPLCONFIGDIR}"/matplotlibrc || die
+
+ sed -e 's:test_combine:_&:' \
+ -i statsmodels/imputation/tests/test_mice.py || die
+ sed -e 's:test_mixedlm:_&:' \
+ -i statsmodels/stats/tests/test_mediation.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ local -x MKL_NUM_THREADS=1
+ local -x OMP_NUM_THREADS=1
+ local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
+
+ pushd "${BUILD_DIR}" >/dev/null || die
+ "${EPYTHON}" -c "
+import statsmodels
+statsmodels.test(extra_args=['-vv', '-n', '${jobs}'], exit=True)" \
+ || die "tests fail with ${EPYTHON}"
+ rm -rf statsmodels/.pytest_cache || die
+ popd >/dev/null || die
+}
+
+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"
+}