aboutsummaryrefslogtreecommitdiff
blob: cf6980807466ae4c9f7a3c77fd576870361d42c9 (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
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

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
}