diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pygpu | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pygpu')
-rw-r--r-- | dev-python/pygpu/Manifest | 5 | ||||
-rw-r--r-- | dev-python/pygpu/metadata.xml | 19 | ||||
-rw-r--r-- | dev-python/pygpu/pygpu-0.6.0.ebuild | 38 | ||||
-rw-r--r-- | dev-python/pygpu/pygpu-0.6.7.ebuild | 38 |
4 files changed, 100 insertions, 0 deletions
diff --git a/dev-python/pygpu/Manifest b/dev-python/pygpu/Manifest new file mode 100644 index 000000000000..5bfc0efaf90a --- /dev/null +++ b/dev-python/pygpu/Manifest @@ -0,0 +1,5 @@ +DIST pygpu-0.6.0.tar.gz 232281 BLAKE2B 73c4fd5598edc3b81296aea7acd24fa48d0302f54a0050de8bc5539a5150dcc4be052dbf8d0c1d822f79a8529ba47d60d51c3216ad774b5954915cab4c65b5c8 SHA512 ef2b37d7752d7b19e6034ca1992dfa0c82806bae7a15ce54aad785f5abbe06e57a77b804699c55b3b7dc94496afb22acaf3a43cfc15148c150f2c93085c23080 +DIST pygpu-0.6.7.tar.gz 256440 BLAKE2B cc0880259c368c02fe0fca1a7f9424ad78f057540426d28179ee2cb20a2559853566c9ebb7de3488d5fdf0fa0eefb4e9f16db198cda2727370d567fd16363480 SHA512 39cdb67ec12d0f939d7a3ebef9726c40e64387413200addbeaf205db4151d09efd90118fec4a71b9d1f81fdde9b52e37d2d97763bf2cc9efa1667c5b9ff716b2 +EBUILD pygpu-0.6.0.ebuild 894 BLAKE2B 28c4802d587a138e336848095ced1b977e4bc230655d93d8540bcbdb1771c9204ffc7357f234ecf6d9a84a97597cf3209e5105f5e581bb09f5324d75389b6a75 SHA512 8d04cb413c148f5efca5b72b4397a8e04613430b4f98977d40372de8b8d5e6786c71673d91fdb651a453086b36e19f5ed0f8ace52fb39006b3049a0d74c74b04 +EBUILD pygpu-0.6.7.ebuild 896 BLAKE2B 4e3b3d509aa4189ebb199b0d10fb5bb4951128b2aea3d44d98d41a630af11659b1d613a990968c8332a5aff7238f2e9cd7910095e7c68bc1ab80e14b61618386 SHA512 440ab08e07156c5b414a96b7232b11a0ea24afb855b9c9bc431118a4fa121014fc1aefd13b5636a13cc71805bf9590daf65be4c39580c2c73e7ea4d2d6e2f207 +MISC metadata.xml 625 BLAKE2B 876c239967452f073b73a66ee4afa5e1d8affa03a8d849f5f74ad193d14bc51d0c1f1340744c0af5f3274a82bd81224bad64d5078142b65f09775f40907cc0e7 SHA512 370f27b57bd3815ab8b2f177e8d6755c4a70800c37164c99643a8f2e134acbe259e193d20998e47e521cb8f6c15d1a1703afcdd799499ef79dd4f313335979e2 diff --git a/dev-python/pygpu/metadata.xml b/dev-python/pygpu/metadata.xml new file mode 100644 index 000000000000..e05423a24848 --- /dev/null +++ b/dev-python/pygpu/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription> + This package contains the Python bindings to libgpuarray which + are build in the top of NumPy. + </longdescription> + <upstream> + <remote-id type="github">Theano/libgpuarray</remote-id> + </upstream> + <use> + <flag name="cuda">Enable NVIDIA CUDA toolkit support</flag> + <flag name="opencl">Enable OpenCL support</flag> + </use> +</pkgmetadata> diff --git a/dev-python/pygpu/pygpu-0.6.0.ebuild b/dev-python/pygpu/pygpu-0.6.0.ebuild new file mode 100644 index 000000000000..71838169b36f --- /dev/null +++ b/dev-python/pygpu/pygpu-0.6.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 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 + +MYPV=${PV/_/-} + +DESCRIPTION="Python bindings to libgpuarray" +HOMEPAGE="http://deeplearning.net/software/libgpuarray/" +SRC_URI="https://github.com/Theano/libgpuarray/archive/v${MYPV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cuda opencl test" + +RDEPEND=" + dev-python/mako[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-libs/libgpuarray:=[cuda?,opencl?] +" +DEPEND="${RDEPEND} + dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] ) +" + +S="${WORKDIR}/libgpuarray-${MYPV}" + +python_test() { + local DEVICE=cuda + use opencl && DEVICE=opencl + nosetests -svw "${BUILD_DIR}/lib/" || die +} diff --git a/dev-python/pygpu/pygpu-0.6.7.ebuild b/dev-python/pygpu/pygpu-0.6.7.ebuild new file mode 100644 index 000000000000..8979a9aa34c4 --- /dev/null +++ b/dev-python/pygpu/pygpu-0.6.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +MYPV=${PV/_/-} + +DESCRIPTION="Python bindings to libgpuarray" +HOMEPAGE="http://deeplearning.net/software/libgpuarray/" +SRC_URI="https://github.com/Theano/libgpuarray/archive/v${MYPV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cuda opencl test" + +RDEPEND=" + dev-python/mako[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-libs/libgpuarray:=[cuda?,opencl?] +" +DEPEND="${RDEPEND} + dev-python/cython[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] ) +" + +S="${WORKDIR}/libgpuarray-${MYPV}" + +python_test() { + local DEVICE=cuda + use opencl && DEVICE=opencl + nosetests -svw "${BUILD_DIR}/lib/" || die +} |