diff options
Diffstat (limited to 'dev-python/patsy')
-rw-r--r-- | dev-python/patsy/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/patsy/Manifest | 3 | ||||
-rw-r--r-- | dev-python/patsy/metadata.xml | 10 | ||||
-rw-r--r-- | dev-python/patsy/patsy-0.2.0.ebuild | 42 |
4 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/patsy/ChangeLog b/dev-python/patsy/ChangeLog new file mode 100644 index 000000000000..03949636fb3d --- /dev/null +++ b/dev-python/patsy/ChangeLog @@ -0,0 +1,9 @@ +# 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.1 2013/08/11 18:05:36 bicatali Exp $ + +*patsy-0.2.0 (11 Aug 2013) + + 11 Aug 2013; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +patsy-0.2.0.ebuild: + Initial import diff --git a/dev-python/patsy/Manifest b/dev-python/patsy/Manifest new file mode 100644 index 000000000000..cef58e157acc --- /dev/null +++ b/dev-python/patsy/Manifest @@ -0,0 +1,3 @@ +DIST patsy-0.2.0.tar.gz 315486 SHA256 1d399e504dc7c9e5f35460698dd4ebf098aa215e861ea4f5ded29e98e73740c3 SHA512 4e1028dcab58e2fc938c4f8dec0aeb148fbf7d2430855d8caa844bc19088b66a8ab9b83edc3f3066df41e751f1e0ff6d24478109be562e420da6c84e3f76763f WHIRLPOOL 2da9956373cc9bd2f13d277bcca37467ab8f5b37223f9c6bf6d59b6c69e7c54bdcc70433c990ea4a02aa424c497be08031966963721194af308cda1bb36edb13 +EBUILD patsy-0.2.0.ebuild 1063 SHA256 79478ad446cffabfd147a56408aa8e164ad790d7421cd8afcecc7c0d07260cdc SHA512 21b7356848588f5c8d890c2c10da2cdd03b124129f8be7b4292e0b231680b4f52035e3d6359f21c371337b096658a48cbeec76e5e75978d86bb40c1b8f5d4a7f WHIRLPOOL a599af5743c3bdbd9bccbddce7377e6e7b1a11042d2407b17699d517c63a002ad12855c011fd971f8feee37a1e3407aa643ce8f6996ae68d2cdcf5d3899c15b9 +MISC metadata.xml 387 SHA256 3130d92f352d81bb7c6dda5aa14269868a45885ba37e90e38c74a18dda2893bb SHA512 9a4bb5796f16364ed1e6d45b07b5fee33db82506caf21addb978d86c8e330d9ddbd8866a5d4bb3d83a52052b9af0ba5f34c71e682777205f55665ef28ed0c247 WHIRLPOOL c7c7b4833cc824b65b6bdd15d5ad36cc515604c54a0efd236f4af1b9a959b3ff09786831d525efaa93d94ff6ca5911433d0d6dbdd64ffa4d7fe75c849a908c1e diff --git a/dev-python/patsy/metadata.xml b/dev-python/patsy/metadata.xml new file mode 100644 index 000000000000..bdfef2a6ef55 --- /dev/null +++ b/dev-python/patsy/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<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> +</pkgmetadata> diff --git a/dev-python/patsy/patsy-0.2.0.ebuild b/dev-python/patsy/patsy-0.2.0.ebuild new file mode 100644 index 000000000000..6940ccd41802 --- /dev/null +++ b/dev-python/patsy/patsy-0.2.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 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.1 2013/08/11 18:05:36 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} + nosetests-${EPYTHON} -v || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + use doc && dohtml -r doc/_build/html/* +} |