From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- dev-python/statsmodels/Manifest | 4 +- dev-python/statsmodels/statsmodels-0.12.0.ebuild | 2 +- dev-python/statsmodels/statsmodels-0.12.1.ebuild | 83 ++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 2 deletions(-) create mode 100644 dev-python/statsmodels/statsmodels-0.12.1.ebuild (limited to 'dev-python/statsmodels') diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest index e5039b675495..527801d42a6d 100644 --- a/dev-python/statsmodels/Manifest +++ b/dev-python/statsmodels/Manifest @@ -1,7 +1,9 @@ AUX statsmodels-0.11.1-tests.patch 1915 BLAKE2B 90c13595a80cf1e59e81c483746f4b7e25bbb47d03211c39fda4dc9f441b03a9e793398d88e235ab53895e3d08cf97f7080d961317c4ea3fab04e011f0e5b64b SHA512 ec7f858b1af512d0bf591d35681b8663041e08e64a6e223e56cf600316a203259cd6386d2004bf884224608945b9e4938e9d39f8370d11c8914f6b773cd2773d DIST statsmodels-0.11.1.tar.gz 15381516 BLAKE2B a40cf9138edd8a9a6707a550d9885e0610f9bc666fcd73a60bd11ade6dcfa806ecd912a725cf2a13902e92f31af2c3e82f244280f70586bb3359dc8fc2842508 SHA512 54afe55a23b431154c159f44d284aa093f3368988f0695c0f3fbb206046cdfb171ab2ba51ce94285d567b8536141f93a1ef404b5f7222f1e61264baf0541926d DIST statsmodels-0.12.0.tar.gz 17502050 BLAKE2B 8621882d920db652d1244fcd4a0bc4f31310663c4dc6582421cd64a040e0b64917070aef5962515b07a8e92c0d690d43dea19d8ee9b71c7a3c2548e903e69125 SHA512 a9cbba0c8cd7e11bef4fbb303c204d5d4db4eb9f3f93f608b9be5b3c0d7feccc08dd84b4904557fbd1c12f49f3376b2aa7fabd06daf5649fd72c16b7041afac9 +DIST statsmodels-0.12.1.tar.gz 17392393 BLAKE2B 10443f3d4063c312a822fd18a062481300ca55e2ac93be41c3819619d0eafa1756ebaa79d941032ece20b9bfbf4567f0635718aa0a833556daba1aa748d60322 SHA512 43d1ab2261f740055bbed6ed5e885e39e0444d575aa3bce61a5dcd3737714138e9c2fc93c8caaba279883860dffc71f6fe75888ecdab8a736175863cfa00de2e EBUILD statsmodels-0.11.1.ebuild 2206 BLAKE2B 349b3f7ca72b3c4ed778f548806cfe606fb2b4bc3e77c856c32e3997327aac993023a85e0a8f749f3219a0139ed315e07d4f85a84159983540b9b05f022cf4a9 SHA512 801eee8d1da9316557e2edc5b8035764da96c4932ae7ff1ddd907a01bbb8fe69f498a3b5163176270e5f6e419ecea21c816b1e84c7ce3f9aebe3e63da2b62b1d -EBUILD statsmodels-0.12.0.ebuild 2017 BLAKE2B 684cbe41212616a92cd3b660c965ffff07507e69f96ae782b1de041cbf82f9b4bbbbaaa20bf35ba49d834eb33fd7ca50f88cbec53e69b6d3e61583dacc33b9ca SHA512 77321d82febd3e681bd4cbbb10c32f7cfcf018c3603e566762366cfd6a500399dde30b43314b5df3b02a542abea26a479e3e231c492755ab2086047de28cc18e +EBUILD statsmodels-0.12.0.ebuild 2016 BLAKE2B 6f44cf38df21a8caaff50e64842d7c995a9ed0211e0a5795bbefcb26ce6fd16dd0c829cb44701d54237e4101b81716854ad02410fd87dab5be3a7936253e63ff SHA512 35b636c6252a3798292d25c7a552b0d8e34f636cfb11862d0327872b1b471fa9d4426d67b08508fb6c1eca1eedf0020932278095589db413bd095ff35b296a90 +EBUILD statsmodels-0.12.1.ebuild 2017 BLAKE2B 684cbe41212616a92cd3b660c965ffff07507e69f96ae782b1de041cbf82f9b4bbbbaaa20bf35ba49d834eb33fd7ca50f88cbec53e69b6d3e61583dacc33b9ca SHA512 77321d82febd3e681bd4cbbb10c32f7cfcf018c3603e566762366cfd6a500399dde30b43314b5df3b02a542abea26a479e3e231c492755ab2086047de28cc18e EBUILD statsmodels-9999.ebuild 1990 BLAKE2B 933b395a2b60d41bd861507879f042751437f9db661ea4c1758352b3dd060e4f4750b42f044719ce946a7f624e3cc5f20bc9685fc913d06c46a798098572f9b4 SHA512 24cfb32254b6d1768d765be1589c4d5972ac669d1d6d6aa721ace82530a9ac240a363316af2e3fdbaca77df02b44af27c032156c208e46acc1656712a7c3bf8d MISC metadata.xml 1310 BLAKE2B de8c73b0fb91a3bd65b2ee149b3ef01b3f93c78dfaf1642f9c81335e21c0ace42a771a0901a30dfebc7a8bbb80e9fb7057bd047a26035e103c7ece9e9dbef58a SHA512 96bfb2a3e0b677a67c0256bfcdc76b3621eac9d9242c2aaa7d22322bb53be9bb2185ed82a2fa65cb7cd16df7562c1999ac0d936471608700030ecff4de7174b6 diff --git a/dev-python/statsmodels/statsmodels-0.12.0.ebuild b/dev-python/statsmodels/statsmodels-0.12.0.ebuild index cb0c73adee24..18951d2f5133 100644 --- a/dev-python/statsmodels/statsmodels-0.12.0.ebuild +++ b/dev-python/statsmodels/statsmodels-0.12.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" IUSE="examples" RDEPEND=" diff --git a/dev-python/statsmodels/statsmodels-0.12.1.ebuild b/dev-python/statsmodels/statsmodels-0.12.1.ebuild new file mode 100644 index 000000000000..cb0c73adee24 --- /dev/null +++ b/dev-python/statsmodels/statsmodels-0.12.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 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 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +RDEPEND=" + >=dev-python/numpy-1.15[${PYTHON_USEDEP}] + >=dev-python/pandas-0.23.0[${PYTHON_USEDEP}] + dev-python/patsy[${PYTHON_USEDEP}] + >=dev-python/scipy-1.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + >=dev-python/numpy-1.15[${PYTHON_USEDEP}] + >=dev-python/scipy-1.1[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/statsmodels-0.11.1-tests.patch" +) + +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 + + # these tests require internet + sed -i -e 's:test_results_on_the:_&:' \ + statsmodels/stats/tests/test_dist_dependant_measures.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}" + 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" +} -- cgit v1.2.3