From 9243aabab8aa3e94d2154a8fe9a3d562b007390f Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Mon, 6 Jan 2020 06:37:34 +0100 Subject: [PATCH] moved to Gentoo main: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3dcd32cbcaa230535eccb1f4f4fb30b902c556c --- dev-python/statsmodels/ChangeLog | 6 -- dev-python/statsmodels/Manifest | 1 - .../files/statsmodels-0.6.1-numpy-1.10.patch | 20 ----- .../statsmodels-0.6.1-pandas-0.17.0.patch | 30 -------- dev-python/statsmodels/metadata.xml | 34 --------- .../statsmodels/statsmodels-0.10.1.ebuild | 73 ------------------- 6 files changed, 164 deletions(-) delete mode 100644 dev-python/statsmodels/ChangeLog delete mode 100644 dev-python/statsmodels/Manifest 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 delete mode 100644 dev-python/statsmodels/metadata.xml delete mode 100644 dev-python/statsmodels/statsmodels-0.10.1.ebuild diff --git a/dev-python/statsmodels/ChangeLog b/dev-python/statsmodels/ChangeLog deleted file mode 100644 index 077f945..0000000 --- a/dev-python/statsmodels/ChangeLog +++ /dev/null @@ -1,6 +0,0 @@ -*statsmodels-0.10.1 (23 Dec 2019) - - 23 Dec 2019; +files/statsmodels-0.6.1-numpy-1.10.patch, - +files/statsmodels-0.6.1-pandas-0.17.0.patch, +metadata.xml, - +statsmodels-0.10.1.ebuild: - dev-python/statsmodels: version bump ahead of Gentoo Main diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest deleted file mode 100644 index ad2fe3e..0000000 --- a/dev-python/statsmodels/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST statsmodels-0.10.1.tar.gz 14056607 SHA256 320659a80f916c2edf9dfbe83512d9004bb562b72eedb7d9374562038697fa10 SHA512 eebbdd02af841f66c93e3ea8998c2a74dcf785e12d95c33e0ff791e4abee932b2b76750cd9734a23e260d99f952be5392204607c42a99122e06340f61c96ae6f WHIRLPOOL 730547f525f9eac48bb057ae0dd7f5863ea688828ec71c99c9ea5eaf813efb534d979b45f8c3db8bfffd25bc3a6cb1e9f8fd9925de46572c838b310e194e55cd 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 2d9720c..0000000 --- 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 540135c..0000000 --- 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/metadata.xml b/dev-python/statsmodels/metadata.xml deleted file mode 100644 index 0a394be..0000000 --- a/dev-python/statsmodels/metadata.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - python@gentoo.org - Python - - - sci-mathematics@gentoo.org - Gentoo Mathematics Project - - - horea.christ@gmail.com - Horea Christian - - - proxy-maint@gentoo.org - Proxy Maintainers - - - statsmodels is a Python module that allows users to explore data, - estimate statistical models, and perform statistical tests. An - extensive list of descriptive statistics, statistical tests, - plotting functions, and result statistics are available for - different types of data and each estimator. Researchers across - fields may find that statsmodels fully meets their needs for - statistical computing and data analysis in Python. - - - statsmodels - statsmodels - statsmodels - - diff --git a/dev-python/statsmodels/statsmodels-0.10.1.ebuild b/dev-python/statsmodels/statsmodels-0.10.1.ebuild deleted file mode 100644 index 087d3f0..0000000 --- a/dev-python/statsmodels/statsmodels-0.10.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,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" - -COMMON_DEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - >=dev-python/pandas-0.23.0[${PYTHON_USEDEP}] - dev-python/patsy[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] -" -RDEPEND="${COMMON_DEPEND}" -DEPEND="${COMMON_DEPEND} - 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/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 - python -c 'import statsmodels; statsmodels.test()' || die -} - -python_install_all() { - find . -name \*LICENSE.txt -delete || die - use doc && 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" -}