diff options
Diffstat (limited to 'dev-python/patsy')
-rw-r--r-- | dev-python/patsy/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/patsy/metadata.xml | 10 | ||||
-rw-r--r-- | dev-python/patsy/patsy-0.2.0.ebuild | 6 | ||||
-rw-r--r-- | dev-python/patsy/patsy-0.3.0.ebuild | 42 |
4 files changed, 57 insertions, 9 deletions
diff --git a/dev-python/patsy/ChangeLog b/dev-python/patsy/ChangeLog index c8b6b3e45e4b..67b95d89e88b 100644 --- a/dev-python/patsy/ChangeLog +++ b/dev-python/patsy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/patsy # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/patsy/ChangeLog,v 1.3 2014/02/03 00:38:06 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/patsy/ChangeLog,v 1.4 2014/08/22 07:13:42 jlec Exp $ + +*patsy-0.3.0 (22 Aug 2014) + + 22 Aug 2014; Justin Lecher <jlec@gentoo.org> patsy-0.2.0.ebuild, + +patsy-0.3.0.ebuild, metadata.xml: + Version Bump *patsy-0.2.1 (03 Feb 2014) diff --git a/dev-python/patsy/metadata.xml b/dev-python/patsy/metadata.xml index ef46dbd241e7..5296bb5bc086 100644 --- a/dev-python/patsy/metadata.xml +++ b/dev-python/patsy/metadata.xml @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>sci-mathematics</herd> -<longdescription> + <herd>sci-mathematics</herd> + <longdescription> A Python package for describing statistical models and for building design matrices. It is closely inspired by and compatible with the 'formula' mini-language used in R and S. </longdescription> -<upstream> - <remote-id type="pypi">patsy</remote-id> -</upstream> + <upstream> + <remote-id type="pypi">patsy</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-python/patsy/patsy-0.2.0.ebuild b/dev-python/patsy/patsy-0.2.0.ebuild index f92d24c43c75..4f532dbc779f 100644 --- a/dev-python/patsy/patsy-0.2.0.ebuild +++ b/dev-python/patsy/patsy-0.2.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/patsy/patsy-0.2.0.ebuild,v 1.2 2013/09/14 07:44:16 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/patsy/patsy-0.2.0.ebuild,v 1.3 2014/08/22 07:13:42 jlec Exp $ EAPI=5 @@ -32,7 +32,7 @@ python_compile_all() { } python_test() { - cd ${BUILD_DIR} || die + cd "${BUILD_DIR}" || die nosetests -v || die "Testing failed with ${EPYTHON}" } diff --git a/dev-python/patsy/patsy-0.3.0.ebuild b/dev-python/patsy/patsy-0.3.0.ebuild new file mode 100644 index 000000000000..358d08c6a0a8 --- /dev/null +++ b/dev-python/patsy/patsy-0.3.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/patsy/patsy-0.3.0.ebuild,v 1.1 2014/08/22 07:13:42 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} ) + +inherit distutils-r1 + +DESCRIPTION="Python module to describe statistical models and design matrices" +HOMEPAGE="http://patsy.readthedocs.org/en/latest/index.html" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + cd "${BUILD_DIR}" || die + nosetests -v || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + use doc && dohtml -r doc/_build/html/* +} |