From 21435953e16cda318a82334ddbadb3b5c36d9ea7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 15 Jan 2020 15:51:32 +0000 Subject: gentoo resync : 15.01.2020 --- dev-python/statsmodels/Manifest | 12 ++-- .../files/statsmodels-0.6.1-numpy-1.10.patch | 20 ------ .../files/statsmodels-0.6.1-pandas-0.17.0.patch | 30 --------- dev-python/statsmodels/statsmodels-0.10.2.ebuild | 72 ++++++++++++++++++++ dev-python/statsmodels/statsmodels-0.6.1.ebuild | 76 ---------------------- dev-python/statsmodels/statsmodels-0.8.0.ebuild | 76 ---------------------- dev-python/statsmodels/statsmodels-0.9.0.ebuild | 4 +- dev-python/statsmodels/statsmodels-9999.ebuild | 4 +- 8 files changed, 80 insertions(+), 214 deletions(-) delete mode 100644 dev-python/statsmodels/files/statsmodels-0.6.1-numpy-1.10.patch delete mode 100644 dev-python/statsmodels/files/statsmodels-0.6.1-pandas-0.17.0.patch create mode 100644 dev-python/statsmodels/statsmodels-0.10.2.ebuild delete mode 100644 dev-python/statsmodels/statsmodels-0.6.1.ebuild delete mode 100644 dev-python/statsmodels/statsmodels-0.8.0.ebuild (limited to 'dev-python/statsmodels') diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest index 27d4dcbba0b1..2af4f2e539e4 100644 --- a/dev-python/statsmodels/Manifest +++ b/dev-python/statsmodels/Manifest @@ -1,10 +1,6 @@ -AUX statsmodels-0.6.1-numpy-1.10.patch 910 BLAKE2B cfff850a68733641fdad5913529e6f181b24ee1c541c8bd1f74752b3ec1cb60ba85ebd1627b76c103ee34e231c02da2db3072619cc25fe5b9cb7b5593d77d9a2 SHA512 deffc2539641a91e728f3b8b5e4d6d98efe2b874491aca360ca945d8dc6774bf14b3e14796e1440728a8faad4472c846c69d4278301e37a29689adbab1e74c63 -AUX statsmodels-0.6.1-pandas-0.17.0.patch 1043 BLAKE2B 0473214de500e911a36cf3ba645b57536ea6ada17f7123d193d31fb266ba07724aad7297cd705b51b34a394791656a72b891ab94cbf3969935b59324813a0100 SHA512 0a4394d672105337fd03d435a402dbd31862a39b8010658f859114ed9694de9be4d6c3d641b5f385986a6651f0434a3602659d7192bf99f749e49f33f53a634b -DIST statsmodels-0.6.1.tar.gz 6980841 BLAKE2B 5ac16df0fc06d051cc79d037bd3a9b097526498a48cdc0bf750babd5915f27a0dea23d8869a5101c62bb780ec0c54c503a766c7da6db59fb8d10dc65c70268b1 SHA512 9047b8cf4b9d19bd697867cecef1c4608fd86f3d16e67e44d8c152e1e25918f5aff6b4843c58395e71614be401551e3e48d4dcf158480cbdb45d9735b1c5ea77 -DIST statsmodels-0.8.0.tar.gz 9464851 BLAKE2B f4bcf38c0292dcdfef9e3e34519f4dff004795bf76f54773f551c6c767f16f9cee0a2756408cff6f727df8eebc269bccf2c8bd28915a729eb022eba34831628e SHA512 32bb7f36acc16796c445e5f695d958af4525fbbb2d374376fb4a73c972e3796fad05532456cef4aa5ee59d6fce11921174e17bbfc2e05d2488ce1ceac5175239 +DIST statsmodels-0.10.2.tar.gz 14065612 BLAKE2B 0df1268de5e4108b3cc541df87a5b9d2321bd3062d4daf1cc1aa62ab08ee777bace2f10bdfb51f088a66f15287c62cf851b3f43efa7eb1227e71c06632e80d55 SHA512 bd1c0784b0b17a3ca69fef5848f5eea8dcf76b1943599a5e5c285e45b7fcc7e44c0e388f007913d420ff6f3cb66a653d1c43e6e8addef534ff5572fa69ffb54a DIST statsmodels-0.9.0.tar.gz 12658359 BLAKE2B 1b451edc281ac8bfd35441d7f31ff02c7068b854c06a5e50fcb6fb2ff3c023bbee264a25407078f99ca08e467676a32c1a0156dec668673bad3e8d7a46a95154 SHA512 a0310129ee915dce5006e4e40190d19c3a09facad398ff089fa4a244d51a035f9591267fd8d34a00ce82e4cab893df96787596f9d350d878e97a0bb3305f1bd5 -EBUILD statsmodels-0.6.1.ebuild 1819 BLAKE2B 45383e261a264d471d58d2e0f8d82c6afda53b8d8ddee7fa6d271e0656535f0df37c027e98e29f18f939b3b9042b764bf09b6b0f6f02112621ef02b62b247b54 SHA512 486325376f9f5589ec2d9d370294b035f83e575ee4a078b8a624a24c7a1158f4558461744b2bc7d55be1313cb09d86a0a3a8a459e12d475773aabf1490579db5 -EBUILD statsmodels-0.8.0.ebuild 1976 BLAKE2B 6fb90cdba814c95cad4b4f4116072faa7fdeb9971cfcb8c73183fec3ac038ad0b736dd13c9501dd020d45ec059ab635ef917ae6c9dd91304a7a3a9bc453449fe SHA512 a7f2f8b9de37e511f2cfa2b178f6bd8ae2a0e7d8b2267e8f26d879f2aacea2d711ce3d1de2490f6b761206b34d524dc7e136164ed0336b3d003382649f726db9 -EBUILD statsmodels-0.9.0.ebuild 3445 BLAKE2B 46801231fd7cbf2830f633c1bafd9387d639bc6c40735fbf42043df16923d1672d07c7b36b68079a6f60f6b0db2a0b5a7041ef48ea76ed8acce97429f4eb8b6f SHA512 ee6fdcad22827c6e0cd5bd91b038ebd96a5c1641f8727075d7261958a17e79d94625badb1d52322e8453eb8818b874cd34417d183d6586a6f21f59f9928a527e -EBUILD statsmodels-9999.ebuild 1996 BLAKE2B 9c60389656e2954f069690e275f6e0b20c8bf74623b74bda35a0d5bf8a4d92748f0ee901b4353b4228c41e9e3e08ae2cde08a9ffe543c56812671563f5dc3ac7 SHA512 f241f27a358b5e5452f4fce55e121b63ab1ddcbcbb4878069e491a1981a8cc3365cb397c3d126343bb53e725e6e5bcbc7c097453c786b4a70d415713279a6858 +EBUILD statsmodels-0.10.2.ebuild 1855 BLAKE2B 37e32e5ed9b3789267632eddceddcefedb2b7821bb3527f4f57bc2eaface01c37f0d6e55abb1f1c1b96abeedc2ef777a931efba858c9b2cdf93d5e8e92cbc2b5 SHA512 df131133e2fb36f017cfa65dc9bd0e5b213d7c4b3080c439c7c1b6882303882c413ad1b98d22a73e4ad55b2fc046c54b9ec7ec015060e370ccb42210947ffdfe +EBUILD statsmodels-0.9.0.ebuild 3443 BLAKE2B 033ffca5c8b09358d1d5b845b90ff09fa7e8e6de0999a1de27c23ddfe262132a208068519e2a5044e3662e4ca75ef9d048dd158018f13d799009e8062976c18c SHA512 e0fd866ba0fad317d3511585c40e0eba57d69a057a9a9bfad063ae686744733cc68ba74b70c85a5b0b1f5b87fb5b242834531cd5c5b6ca017a21fcd948a9ac80 +EBUILD statsmodels-9999.ebuild 1994 BLAKE2B 3f9ab2f7c4c6abe4b0cb7d24d2e53612b90bab1a924a758d28257ef37de024f1072ac0ea6bb2f2ccd43e7b57ba88bbc2c48fcc6312089a3476077037422b84ed SHA512 5bc45cc5e06314e60ac847b8fdd8d25291a956643e2e64fbe5ac6fa92063b61c22ff6be51561d8a330e0c3838b8d13bd67679655874604f2099cd962294362e5 MISC metadata.xml 1318 BLAKE2B fda44c0af74692331673e5e440e4180d9610cbf50d96c19da4ff19728bcd31ec6cd30a48fb382da3489904b2f361957af54c7bc6983320b9b6fca04ca561aa52 SHA512 30d166a37e102503c22ca6112f297cb6db6d2f795062657f23d7c98cf1871275c28faea7be4bcc117817aae122eb5bbed1d5da1a327058980a3f87ce083fcb13 diff --git a/dev-python/statsmodels/files/statsmodels-0.6.1-numpy-1.10.patch b/dev-python/statsmodels/files/statsmodels-0.6.1-numpy-1.10.patch deleted file mode 100644 index 2d9720c5fec6..000000000000 --- a/dev-python/statsmodels/files/statsmodels-0.6.1-numpy-1.10.patch +++ /dev/null @@ -1,20 +0,0 @@ - statsmodels/tsa/ar_model.py | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/statsmodels/tsa/ar_model.py b/statsmodels/tsa/ar_model.py -index f0af7ee..fe05634 100644 ---- a/statsmodels/tsa/ar_model.py -+++ b/statsmodels/tsa/ar_model.py -@@ -256,10 +256,8 @@ class AR(tsbase.TimeSeriesModel): - - Vpinv = np.zeros((p, p), dtype=params.dtype) - for i in range(1, p1): -- Vpinv[i-1, i-1:] = np.correlate(params0, params0[:i], -- old_behavior=False)[:-1] -- Vpinv[i-1, i-1:] -= np.correlate(params0[-i:], params0, -- old_behavior=False)[:-1] -+ Vpinv[i-1, i-1:] = np.correlate(params0, params0[:i])[:-1] -+ Vpinv[i-1, i-1:] -= np.correlate(params0[-i:], params0)[:-1] - - Vpinv = Vpinv + Vpinv.T - np.diag(Vpinv.diagonal()) - return Vpinv diff --git a/dev-python/statsmodels/files/statsmodels-0.6.1-pandas-0.17.0.patch b/dev-python/statsmodels/files/statsmodels-0.6.1-pandas-0.17.0.patch deleted file mode 100644 index 540135c9e125..000000000000 --- a/dev-python/statsmodels/files/statsmodels-0.6.1-pandas-0.17.0.patch +++ /dev/null @@ -1,30 +0,0 @@ - setup.py | 2 +- - statsmodels/tools/testing.py | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/setup.py b/setup.py -index 1a7da9a..a6d1b33 100644 ---- a/setup.py -+++ b/setup.py -@@ -134,7 +134,7 @@ def check_dependency_versions(min_versions): - (spversion, min_versions['scipy'])) - - try: -- from pandas.version import short_version as pversion -+ from pandas import __version__ as pversion - except ImportError: - install_requires.append('pandas') - else: -diff --git a/statsmodels/tools/testing.py b/statsmodels/tools/testing.py -index 1fde1de..92e77fc 100644 ---- a/statsmodels/tools/testing.py -+++ b/statsmodels/tools/testing.py -@@ -17,7 +17,7 @@ def strip_rc(version): - def is_pandas_min_version(min_version): - '''check whether pandas is at least min_version - ''' -- from pandas.version import short_version as pversion -+ from pandas import __version__ as pversion - return StrictVersion(strip_rc(pversion)) >= min_version - - diff --git a/dev-python/statsmodels/statsmodels-0.10.2.ebuild b/dev-python/statsmodels/statsmodels-0.10.2.ebuild new file mode 100644 index 000000000000..866fecd254db --- /dev/null +++ b/dev-python/statsmodels/statsmodels-0.10.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 eutils + +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 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/pandas-0.23.0[${PYTHON_USEDEP}] + dev-python/patsy[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] +" +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + doc? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jupyter_client[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/nbconvert[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + dev-python/numpydoc[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # Prevent un-needed d'loading + sed -e "/sphinx.ext.intersphinx/d" -i docs/source/conf.py || die + export VARTEXFONTS="${T}"/fonts + export MPLCONFIGDIR="${T}" + echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && esetup.py build_sphinx -b html --build-dir=docs/build +} + +python_test() { + cd "${BUILD_DIR}" || die + ${EPYTHON} -c 'import statsmodels; statsmodels.test()' || die +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/build/html/. ) + 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" +} diff --git a/dev-python/statsmodels/statsmodels-0.6.1.ebuild b/dev-python/statsmodels/statsmodels-0.6.1.ebuild deleted file mode 100644 index ffd1a3d0f625..000000000000 --- a/dev-python/statsmodels/statsmodels-0.6.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{5,6} ) - -inherit distutils-r1 eutils virtualx - -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 x86 ~amd64-linux ~x86-linux" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -CDEPEND=" - >=dev-python/numpy-1.5.1[${PYTHON_USEDEP}] - >=dev-python/pandas-0.7.1[${PYTHON_USEDEP}] - >=dev-python/patsy-0.3.0[${PYTHON_USEDEP}] - >=sci-libs/scipy-0.9.0[${PYTHON_USEDEP}] - " -RDEPEND="${CDEPEND} - examples? ( dev-python/matplotlib[${PYTHON_USEDEP}] )" -DEPEND="${CDEPEND} - >=dev-python/cython-0.20.1[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( - >=dev-python/matplotlib-1.1[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] - ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -PATCHES=( - "${FILESDIR}"/${P}-pandas-0.17.0.patch - "${FILESDIR}"/${P}-numpy-1.10.patch -) - -pkg_setup() { - export MPLCONFIGDIR="${T}" HOME="${T}" -} - -python_compile_all() { - if use doc; then - VARTEXFONTS="${T}"/fonts ${EPYTHON} setup.py build_sphinx || die - fi -} - -python_test() { - cd "${BUILD_DIR}" || die - VIRTUALX_COMMAND="nosetests" - virtualmake --verbosity=3 -} - -python_install() { - distutils-r1_python_install -} - -python_install_all() { - find "${S}" -name \*LICENSE.txt -delete - use doc && HTML_DOCS=( build/sphinx/html/* ) - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - insinto /usr/share/doc/${PF} - doins -r examples - fi - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "plotting functionality" ">=dev-python/matplotlib-1.1" -} diff --git a/dev-python/statsmodels/statsmodels-0.8.0.ebuild b/dev-python/statsmodels/statsmodels-0.8.0.ebuild deleted file mode 100644 index d83c36457cd1..000000000000 --- a/dev-python/statsmodels/statsmodels-0.8.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{5,6} ) - -inherit distutils-r1 eutils virtualx - -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 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -CDEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/patsy[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] -" -RDEPEND="${CDEPEND} - examples? ( dev-python/matplotlib[${PYTHON_USEDEP}] ) -" -DEPEND="${CDEPEND} - dev-python/cython[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/jupyter_client[${PYTHON_USEDEP}] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/nbconvert[${PYTHON_USEDEP}] - dev-python/nbformat[${PYTHON_USEDEP}] - dev-python/numpydoc[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - ) - test? ( dev-python/nose[${PYTHON_USEDEP}] ) -" - -python_prepare_all() { - # Prevent un-needed d'loading - sed -e "/sphinx.ext.intersphinx/d" -i docs/source/conf.py || die - export VARTEXFONTS="${T}"/fonts - export MPLCONFIGDIR="${T}" - export HOME="${T}" - echo "backend : Agg" > "${MPLCONFIGDIR}"/matplotlibrc || die - distutils-r1_python_prepare_all -} - -python_compile_all() { - use doc && esetup.py build_sphinx -b html --build-dir=docs/build -} - -python_test() { - cd "${BUILD_DIR}" || die - virtx nosetests -v -} - -python_install_all() { - find "${S}" -name \*LICENSE.txt -delete - use doc && HTML_DOCS=( docs/build/html/* ) - if use examples; then - docompress -x /usr/share/doc/${PF}/examples - insinto /usr/share/doc/${PF} - doins -r examples - fi - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "Plotting functionality" "dev-python/matplotlib" -} diff --git a/dev-python/statsmodels/statsmodels-0.9.0.ebuild b/dev-python/statsmodels/statsmodels-0.9.0.ebuild index 03b23eb7f0d3..16cdf47ab6b6 100644 --- a/dev-python/statsmodels/statsmodels-0.9.0.ebuild +++ b/dev-python/statsmodels/statsmodels-0.9.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +PYTHON_COMPAT=( python2_7 python3_{6,7} ) inherit distutils-r1 eutils diff --git a/dev-python/statsmodels/statsmodels-9999.ebuild b/dev-python/statsmodels/statsmodels-9999.ebuild index dce6c0a6892d..113b10d44fc2 100644 --- a/dev-python/statsmodels/statsmodels-9999.ebuild +++ b/dev-python/statsmodels/statsmodels-9999.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +PYTHON_COMPAT=( python2_7 python3_{6,7} ) inherit distutils-r1 eutils git-r3 virtualx -- cgit v1.2.3