dev-python/pygpu: remove doc building, not ready yet

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Sébastien Fabbro
2017-01-04 14:49:26 +00:00
parent 3189ba4ae7
commit b9e5129e30

View File

@@ -17,7 +17,7 @@ SRC_URI="https://github.com/Theano/libgpuarray/archive/v${MYPV}.tar.gz -> ${P}.t
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="cuda doc opencl test"
IUSE="cuda opencl test"
RDEPEND="
dev-python/mako[${PYTHON_USEDEP}]
@@ -27,22 +27,11 @@ RDEPEND="
DEPEND="${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/breathe[${PYTHON_USEDEP}]
)
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"
S="${WORKDIR}/libgpuarray-${MYPV}"
python_compile_all() {
if use doc; then
python_setup
esetup.py build_sphinx
fi
}
python_test() {
local DEVICE=cuda
use opencl && DEVICE=opencl