From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 65716139694 for ; Mon, 27 Feb 2017 22:22:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6736E21C039; Mon, 27 Feb 2017 22:22:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 32B0921C039 for ; Mon, 27 Feb 2017 22:22:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 575423414C1 for ; Mon, 27 Feb 2017 22:22:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B8F2F56D5 for ; Mon, 27 Feb 2017 22:22:21 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1488234131.f70574691bd93d3b512520ef86c14e28642c283d.bicatali@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/statsmodels/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/statsmodels/Manifest dev-python/statsmodels/metadata.xml dev-python/statsmodels/statsmodels-0.5.0.ebuild dev-python/statsmodels/statsmodels-0.8.0.ebuild X-VCS-Directories: dev-python/statsmodels/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: f70574691bd93d3b512520ef86c14e28642c283d X-VCS-Branch: master Date: Mon, 27 Feb 2017 22:22:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 20fb4ea5-4807-4974-801f-30203d0758c3 X-Archives-Hash: cdbf98832f7cc7c06eeec74f0ed26baf commit: f70574691bd93d3b512520ef86c14e28642c283d Author: Sébastien Fabbro gentoo org> AuthorDate: Mon Feb 27 22:21:50 2017 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Mon Feb 27 22:22:11 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7057469 dev-python/statsmodels: version bump Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-python/statsmodels/Manifest | 2 +- dev-python/statsmodels/metadata.xml | 16 +++--- dev-python/statsmodels/statsmodels-0.5.0.ebuild | 67 ---------------------- dev-python/statsmodels/statsmodels-0.8.0.ebuild | 76 +++++++++++++++++++++++++ 4 files changed, 85 insertions(+), 76 deletions(-) diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest index 2e761505dd..1cffa0f451 100644 --- a/dev-python/statsmodels/Manifest +++ b/dev-python/statsmodels/Manifest @@ -1,2 +1,2 @@ -DIST statsmodels-0.5.0.tar.gz 5519668 SHA256 65398518bdd414c712362738e61d34ee5ec07b4c084bba17c65af5f20ae109d0 SHA512 24526200f212c1ad4492b84aad65967254d89aecee4c9f5d76ed499aa9b8c7fe619ca7301810ff5e7aec407f2f01b139c9f9c152a4597fe21736d04b24f6dd0a WHIRLPOOL c2719d25873ea949da30c63895c4536c559c0f45923eb885a3f7f664f3b82783d9945b346032513c4e0f1df9b82f9657956885e05d94505207a4c9ddb10a489e DIST statsmodels-0.6.1.tar.gz 6980841 SHA256 be4e44374aec9e848b73e5a230dee190ac0c4519e1d40f69a5813190b13ec676 SHA512 9047b8cf4b9d19bd697867cecef1c4608fd86f3d16e67e44d8c152e1e25918f5aff6b4843c58395e71614be401551e3e48d4dcf158480cbdb45d9735b1c5ea77 WHIRLPOOL b14c7f5b734b26190f23edbf4020ace135571d4c0fa45e3e174647879d4c6547273abbab6c8911c346bf85b433a1908bd230fa52a1e09ede0e74c5e5167a8ecf +DIST statsmodels-0.8.0.tar.gz 9464851 SHA256 26431ab706fbae896db7870a0892743bfbb9f5c83231644692166a31d2d86048 SHA512 32bb7f36acc16796c445e5f695d958af4525fbbb2d374376fb4a73c972e3796fad05532456cef4aa5ee59d6fce11921174e17bbfc2e05d2488ce1ceac5175239 WHIRLPOOL 92dd92c9c5af6c73d90d2122e17306431be0263ae719db393400e5553ab4cbf3003603d0979b1528fd90bc1f5063d13d6778832f45f74e43ec70c829a684fedd diff --git a/dev-python/statsmodels/metadata.xml b/dev-python/statsmodels/metadata.xml index 18891a94f2..3935be27d5 100644 --- a/dev-python/statsmodels/metadata.xml +++ b/dev-python/statsmodels/metadata.xml @@ -10,16 +10,16 @@ Gentoo Mathematics Project - 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 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.5.0.ebuild b/dev-python/statsmodels/statsmodels-0.5.0.ebuild deleted file mode 100644 index 03a91e2b11..0000000000 --- a/dev-python/statsmodels/statsmodels-0.5.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Statistical computations and models for use with SciPy" -HOMEPAGE="http://statsmodels.sourceforge.net/" -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" - -RDEPEND=" - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/patsy[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - examples? ( dev-python/matplotlib[${PYTHON_USEDEP}] )" -DEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] - dev-python/patsy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - doc? ( - dev-python/matplotlib - dev-python/sphinx - dev-python/ipython ) - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -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 - rm -r "${D}/$(python_get_sitedir)/statsmodels/examples" || die -} - -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 -} diff --git a/dev-python/statsmodels/statsmodels-0.8.0.ebuild b/dev-python/statsmodels/statsmodels-0.8.0.ebuild new file mode 100644 index 0000000000..c9550d803a --- /dev/null +++ b/dev-python/statsmodels/statsmodels-0.8.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Statistical computations and models for use with SciPy" +HOMEPAGE="http://www.statsmodels.org/" +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" + +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 || die +} + +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" +}