summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-02-03 00:38:06 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-02-03 00:38:06 +0000
commitd48c4eb22f52f06e22b331dfcb41e793c881b238 (patch)
treee7a458b06bfe63265297341e5bf73e06c3b6c9c7 /dev-python/patsy
parentVersion bump (diff)
downloadgentoo-2-d48c4eb22f52f06e22b331dfcb41e793c881b238.tar.gz
gentoo-2-d48c4eb22f52f06e22b331dfcb41e793c881b238.tar.bz2
gentoo-2-d48c4eb22f52f06e22b331dfcb41e793c881b238.zip
Version bump
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python/patsy')
-rw-r--r--dev-python/patsy/ChangeLog10
-rw-r--r--dev-python/patsy/metadata.xml3
-rw-r--r--dev-python/patsy/patsy-0.2.1.ebuild42
3 files changed, 53 insertions, 2 deletions
diff --git a/dev-python/patsy/ChangeLog b/dev-python/patsy/ChangeLog
index 8433434e6a44..c8b6b3e45e4b 100644
--- a/dev-python/patsy/ChangeLog
+++ b/dev-python/patsy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/patsy
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/patsy/ChangeLog,v 1.2 2013/09/14 07:44:16 mgorny Exp $
+# 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 $
+
+*patsy-0.2.1 (03 Feb 2014)
+
+ 03 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> +patsy-0.2.1.ebuild,
+ metadata.xml:
+ Version bump
14 Sep 2013; Michał Górny <mgorny@gentoo.org> patsy-0.2.0.ebuild:
Call nosetests via the wrapper wrt bug #484410. Approved by gienah.
diff --git a/dev-python/patsy/metadata.xml b/dev-python/patsy/metadata.xml
index bdfef2a6ef55..ef46dbd241e7 100644
--- a/dev-python/patsy/metadata.xml
+++ b/dev-python/patsy/metadata.xml
@@ -7,4 +7,7 @@
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>
</pkgmetadata>
diff --git a/dev-python/patsy/patsy-0.2.1.ebuild b/dev-python/patsy/patsy-0.2.1.ebuild
new file mode 100644
index 000000000000..c1572ea4862b
--- /dev/null
+++ b/dev-python/patsy/patsy-0.2.1.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.2.1.ebuild,v 1.1 2014/02/03 00:38:06 bicatali Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+
+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}.tar.gz"
+
+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
+ dev-python/matplotlib
+ dev-python/sphinx )
+ 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/*
+}