diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-python/statsmodels | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-python/statsmodels')
-rw-r--r-- | dev-python/statsmodels/Manifest | 2 | ||||
-rw-r--r-- | dev-python/statsmodels/metadata.xml | 18 | ||||
-rw-r--r-- | dev-python/statsmodels/statsmodels-0.5.0.ebuild | 67 | ||||
-rw-r--r-- | dev-python/statsmodels/statsmodels-0.6.1.ebuild | 71 |
4 files changed, 158 insertions, 0 deletions
diff --git a/dev-python/statsmodels/Manifest b/dev-python/statsmodels/Manifest new file mode 100644 index 000000000000..2e761505dd7d --- /dev/null +++ b/dev-python/statsmodels/Manifest @@ -0,0 +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 diff --git a/dev-python/statsmodels/metadata.xml b/dev-python/statsmodels/metadata.xml new file mode 100644 index 000000000000..81cea1512e61 --- /dev/null +++ b/dev-python/statsmodels/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <herd>sci-mathematics</herd> + <longdescription lang="en"> + 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. +</longdescription> + <upstream> + <remote-id type="pypi">statsmodels</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/statsmodels/statsmodels-0.5.0.ebuild b/dev-python/statsmodels/statsmodels-0.5.0.ebuild new file mode 100644 index 000000000000..7fca799149b4 --- /dev/null +++ b/dev-python/statsmodels/statsmodels-0.5.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3} ) + +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.6.1.ebuild b/dev-python/statsmodels/statsmodels-0.6.1.ebuild new file mode 100644 index 000000000000..5224bb0efcc1 --- /dev/null +++ b/dev-python/statsmodels/statsmodels-0.6.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +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" + +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}] )" + +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" +} |