aboutsummaryrefslogtreecommitdiff
blob: 5ca96492ef29be77eaf2d31419cd3c4608ed270a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5} )

inherit distutils-r1

DESCRIPTION="Python bindings for ArrayFire"
HOMEPAGE="http://www.arrayfire.com"
SRC_URI="https://github.com/arrayfire/arrayfire-python/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
IUSE="test"
KEYWORDS="~amd64"

RDEPEND="
	>=sci-libs/arrayfire-3.4.0
	<sci-libs/arrayfire-3.5.0
	"
DEPEND="${RDEPEND}"

python_test() {
	${EPYTHON} -m arrayfire.tests
}