diff options
Diffstat (limited to 'dev-python/statsmodels')
-rw-r--r-- | dev-python/statsmodels/Manifest | 2 | ||||
-rw-r--r-- | dev-python/statsmodels/statsmodels-0.14.1.ebuild | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest index b2aca09ff6b0..ed1baf2938e7 100644 --- a/dev-python/statsmodels/Manifest +++ b/dev-python/statsmodels/Manifest @@ -1,6 +1,8 @@ AUX statsmodels-0.14.0-test.patch 1156 BLAKE2B 2c6cf40e402a701ea7d49948754e35080a5eaa7971cf548c534d951ca60bec8cb3bd47ba3d4d9378d2cf17909105d72451ff4d51b256ad0d4cefb0a35cdee798 SHA512 31b47121ee6116e6ec470b59c3fb9c5d9f8b11d7afe2d1dd85147b7e303862fac825f11baa7b317af8c2b209ed80cc944b40df4fe214495aaee5c70b3ac8fc8f DIST statsmodels-0.13.5.tar.gz 18364957 BLAKE2B 8357416b015b152612aca88a9ff42b81db4d97f61b1c255bc2baf8978440cd43fa1a5301d1c60e92b3a634008c5c001c00770685864d296587ff75e37d29ff4f SHA512 9aeeea80c69f52459140179523a0155429834b2951325c9781b28f8c4cbbd0593ff1867e2212078f2b898e4da953689c2fe78183d3c7959caa874e9d758b4ea4 DIST statsmodels-0.14.0.tar.gz 19374614 BLAKE2B b24c8c146ea9ed393da8e839e3c9a80b1ddaa6fe319204f4440b3435c756911bc1b6405544c6ab8e4370fd378ba26715da743e4d082af7774b8cefa8649d6c58 SHA512 876cc45eb4b5badee2ff859df8a45ce7c4f6ab2973d481f58c5b7906ebcdbb56a64769d5dd7a38c7b7415a4ee7cf98cf300b8c623bda9df001b982ff6844d1fd +DIST statsmodels-0.14.1.tar.gz 20309647 BLAKE2B ef9b70671b78eb45b48997c5a8ea35828b7722b31a6c77d55b81f4aad6ddb3608305a3319a0d284797654ef2bbd5f25416459450a6b26be56b9e3e3137fccac8 SHA512 e382ca807205e2aeff76dd22b42e7824914472588ea040d90835fd46e0c993e155828c58e81f53f9539ad9bdf195bbbd1a49a45658187498d60287374112fd68 EBUILD statsmodels-0.13.5.ebuild 2227 BLAKE2B 6c86fe05c7a9956e47cada8b330782edba9cbf6a8abcedd9400f630a41765a930e103dce8fed2e13cd99f3a9a391d34d5830c7e41ba0423408f3b0c6dab90c0a SHA512 749edde4ea8d1d71fddbf92993f3e8dec0f05c2a6de037ef31a32b5b97ef9e293534b86d211e219d61731d915f46c350c9ffcaf58893310a67c28c7a5416aadc EBUILD statsmodels-0.14.0.ebuild 2304 BLAKE2B 1d54db587ae6718c3c50cbba796767d4abe0dfd742771b2880a063d507f3ee8bb7ce5c32e77766efdc1021ea91f8406493e1907ec0253ff7cc057d2a13720d26 SHA512 fcc7bc5dde644c0c7c7cab12363931166d34fc2534e81124e28453507c135f73353df591527defee69a643e95550fa1d8a266cbda3500b3ae996c276485273ff +EBUILD statsmodels-0.14.1.ebuild 2122 BLAKE2B 4c05728da6e4046b4554be8d4d1b088b761849332f1abaae503ce1f15ca428bd5a2955516337e7da8dc66089ed21a62884322df7efeb2d819b1fc26b2b494b83 SHA512 ae4ede75f72b057e4f4ae9d1ecb5907f172b8dda4978d3687ea4bb55a315d9dfa85abe83d578c06bde4dc23d2cedbe3615832ac76f670898988b0ecf93846d68 MISC metadata.xml 1088 BLAKE2B 285d326203e509fd04364777ffe96f085951fdb7be661e6773f329392c0fa0fc16b1527239586b3abb80458359d15ab00d5eb402b739f947b78dca612ede94ca SHA512 35192e332c6d2aecd1ac611a96ebb13cded9a8f8bdfdd7f0c10b50654d1dda411015444511a69643ee8450742c8f02f5e0bfc5e4ab4ef4da81ffce9231658f4f diff --git a/dev-python/statsmodels/statsmodels-0.14.1.ebuild b/dev-python/statsmodels/statsmodels-0.14.1.ebuild new file mode 100644 index 000000000000..ac0f7f2f35e8 --- /dev/null +++ b/dev-python/statsmodels/statsmodels-0.14.1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2023 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 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 ~arm ~arm64 ~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-0.29.33[${PYTHON_USEDEP}] + >=dev-python/setuptools-scm-8[${PYTHON_USEDEP}] +" + +distutils_enable_sphinx docs \ + 'dev-python/ipykernel' \ + 'dev-python/jupyter-client' \ + 'dev-python/matplotlib' \ + 'dev-python/nbconvert' \ + 'dev-python/numpydoc' + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + 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 +} + +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" +} |