dev-python/pyopencl: Clean old up

This commit is contained in:
Michał Górny
2018-01-05 23:13:54 +01:00
parent 539f79d6e5
commit 228eed2d4c
2 changed files with 0 additions and 47 deletions

View File

@@ -1,3 +1,2 @@
DIST pyopencl-2014.1.tar.gz 1642825 BLAKE2B 6dfe60a9f190291d78de7913f28bb611826a28f6346c528e22f6fb95306864751e920b17ed66f267eb1894b19c9a34e4d5cc74229a4aefaa207a31c15adef83d SHA512 da3e4e8d95605381d87db482f61fe7030fe244611a3c35d84c88210bcfb3472dc197be721f92e46e6828cc5d0245981ae004331a7c19e7fd8011a0aab593072f
DIST pyopencl-2016.1.tar.gz 311327 BLAKE2B 6efb1e6cf6721e5ef606b572963938849b92c7348255be798a4af0604a798dc7804d839a46459275cf0720953deaa8ea6dc46aef594ac11fa61fa231681e2fa3 SHA512 3be8da315f9b4a4e03071152bb5968c5c7b102cbae6c70f358438cfd7951d12970a76dd8e922187ff73e47f7d0ce7a070e6f303dbe364c016796fa65d7e1de71
DIST pyopencl-2017.2.tar.gz 350145 BLAKE2B 12c481893158f97dec612256b36e710ab52356c8b5f644f3710b5e34d4d10df3b27137ad76f29543fe16b3da725471e206aa5f69c646a79a65246d6091c686a9 SHA512 49f2ff619d8c214a3962b8444e68ba415dda032abaf9eeab259fcd1b21fbaab10bd057035161baef7f0182995834082218a6667464c01645231a94c88aa5c18b

View File

@@ -1,46 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4} )
inherit distutils-r1
DESCRIPTION="Python wrapper for OpenCL"
HOMEPAGE="http://mathema.tician.de/software/pyopencl https://pypi.python.org/pypi/pyopencl"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="examples opengl"
RDEPEND=">=dev-libs/boost-1.48[python,${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
dev-python/pytools[${PYTHON_USEDEP}]
>=virtual/opencl-0-r1"
DEPEND="${RDEPEND}"
src_configure()
{
local myconf=()
if use opengl; then
myconf+=(--cl-enable-gl)
fi
"${PYTHON}" configure.py \
--boost-compiler=gcc \
--boost-python-libname=boost_python-${PYTHON_ABI}-mt \
--no-use-shipped-boost \
"${myconf[@]}"
}
python_install_all() {
if use examples; then
local EXAMPLES=( examples/. )
einfo "Some of the examples provided by this package require dev-python/matplotlib."
fi
distutils-r1_python_install_all
}