You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/blaze/blaze-0.5.0.ebuild

55 lines
1.5 KiB

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/blaze/blaze-0.5.0.ebuild,v 1.1 2014/07/03 21:53:29 bicatali Exp $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3} )
inherit distutils-r1
DESCRIPTION="Next generation Python numpy"
HOMEPAGE="http://blaze.pydata.org/"
SRC_URI="https://github.com/ContinuumIO/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples test"
RDEPEND="
dev-python/llvmpy[${PYTHON_USEDEP}]
>=dev-python/blz-0.6.2[${PYTHON_USEDEP}]
>=dev-python/datashape-0.2[${PYTHON_USEDEP}]
>=dev-python/dynd-python-0.6.2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.6[${PYTHON_USEDEP}]
dev-python/numba[${PYTHON_USEDEP}]
dev-python/pykit[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]
virtual/python-argparse[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
>=dev-python/cython-0.18[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx )
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/sqlalchemy[${PYTHON_USEDEP}]
)"
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
cd "${BUILD_DIR}"/lib || die
${PYTHON} -c 'import blaze; blaze.test()' || die
}
python_install_all() {
use doc && local HTML_DOCS=( docs/build/html )
use examples && local EXAMPLES=( samples )
distutils-r1_python_install_all
}