forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <[email protected]>
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST patsy-0.2.0.tar.gz 315486 SHA256 1d399e504dc7c9e5f35460698dd4ebf098aa215e861ea4f5ded29e98e73740c3 SHA512 4e1028dcab58e2fc938c4f8dec0aeb148fbf7d2430855d8caa844bc19088b66a8ab9b83edc3f3066df41e751f1e0ff6d24478109be562e420da6c84e3f76763f WHIRLPOOL 2da9956373cc9bd2f13d277bcca37467ab8f5b37223f9c6bf6d59b6c69e7c54bdcc70433c990ea4a02aa424c497be08031966963721194af308cda1bb36edb13 | ||
DIST patsy-0.2.1.tar.gz 316115 SHA256 31374ce25275813d8f1c48bdda40bba06f7a16cce7dcdfad73f43a555393d065 SHA512 b7cbd9b224081b2496292b23c134abfdd9decedfda433bc7c289b899003c527184e0ba0f729eca1f3bceceac0c43090d9b611b8b1f593df5ce2a01129fabf9f6 WHIRLPOOL 91b8bc896146e48c272429482d3294a35cbc0a46662e66b913811491b2d89005371dc6eb09f38a4a043e507fba3b359dcf3a1fc61e9bf88c462c8b9ebeb995d9 | ||
DIST patsy-0.3.0.zip 414947 SHA256 a55dd4ca09af4b9608b81f30322beb450510964c022708ab50e83a065ccf15f0 SHA512 e716588372ca5c2cb8923b5a04c11be4911cb44e7af2c82ebf92aba478bd9ec6707bea5abfa11439038a6be7522c80fb5d67d452725669f38bc81bc9a0c1e2e8 WHIRLPOOL c0e82d8f15961d4954245c7abe03973b8f660c58e57962dbb3d0523a6a544d4a922c578f3394d72e00ca5656ed5a552aeab5633317bf52d33fd856e135094c30 | ||
DIST patsy-0.4.0.zip 424027 SHA256 e4f3034f5593f0e2e66701b9bed623ca15c843ce293458a9ea0a0ad64d4a7acd SHA512 a8cbdfcb43cf97116abd00c272f51b1c561c8c01baa81e108d51ff05d29f75f465a92b04c875762324500f4fc2f2018856cc17e313658f0b502769ec9555cfc6 WHIRLPOOL 6e7c0b80c84e71911dcf7ba18601376cd97082937d1ab812e9a484285c27ef54d212875c0a2a0d0361f7cf19de4e263bb72049793a111d0a953777e7f9886f7d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# 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,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}] | ||
dev-python/six[${PYTHON_USEDEP}] | ||
" | ||
DEPEND="${RDEPEND} | ||
dev-python/setuptools[${PYTHON_USEDEP}] | ||
sci-libs/scipy[${PYTHON_USEDEP}] | ||
doc? ( | ||
dev-python/ipython[${PYTHON_USEDEP}] | ||
dev-python/matplotlib[${PYTHON_USEDEP}] | ||
dev-python/sphinx[${PYTHON_USEDEP}] | ||
dev-python/pandas[${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() { | ||
use doc && HTML_DOCS=( doc/_build/html/. ) | ||
distutils-r1_python_install_all | ||
} |