commit:     ae4cd7107a5b1edf9833967403d087d43eb79c9b
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 26 15:38:29 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Dec 26 15:38:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae4cd710

dev-python/statsmodels: Remove old

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-python/statsmodels/Manifest                    |  2 -
 .../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.6.1.ebuild    | 76 ----------------------
 dev-python/statsmodels/statsmodels-0.8.0.ebuild    | 76 ----------------------
 5 files changed, 204 deletions(-)

diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest
index ebd4d461ab4..82de7a1a166 100644
--- a/dev-python/statsmodels/Manifest
+++ b/dev-python/statsmodels/Manifest
@@ -1,3 +1 @@
-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.9.0.tar.gz 12658359 BLAKE2B 
1b451edc281ac8bfd35441d7f31ff02c7068b854c06a5e50fcb6fb2ff3c023bbee264a25407078f99ca08e467676a32c1a0156dec668673bad3e8d7a46a95154
 SHA512 
a0310129ee915dce5006e4e40190d19c3a09facad398ff089fa4a244d51a035f9591267fd8d34a00ce82e4cab893df96787596f9d350d878e97a0bb3305f1bd5

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 2d9720c5fec..00000000000
--- 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 540135c9e12..00000000000
--- 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.6.1.ebuild 
b/dev-python/statsmodels/statsmodels-0.6.1.ebuild
deleted file mode 100644
index ffd1a3d0f62..00000000000
--- 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 d83c36457cd..00000000000
--- 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"
-}

Reply via email to