From a522a5f63f3b5726081698bf742801fb1d242817 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 8 Jul 2012 00:04:04 +0000 Subject: Sun Jul 8 00:04:04 UTC 2012 --- community-staging/python2-pyopencl/LICENSE.txt | 20 +++++++++++++++++ community-staging/python2-pyopencl/PKGBUILD | 30 ++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 community-staging/python2-pyopencl/LICENSE.txt create mode 100644 community-staging/python2-pyopencl/PKGBUILD (limited to 'community-staging/python2-pyopencl') diff --git a/community-staging/python2-pyopencl/LICENSE.txt b/community-staging/python2-pyopencl/LICENSE.txt new file mode 100644 index 000000000..3ce400f9d --- /dev/null +++ b/community-staging/python2-pyopencl/LICENSE.txt @@ -0,0 +1,20 @@ +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/community-staging/python2-pyopencl/PKGBUILD b/community-staging/python2-pyopencl/PKGBUILD new file mode 100644 index 000000000..3007ce2a6 --- /dev/null +++ b/community-staging/python2-pyopencl/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 73358 2012-07-06 16:18:30Z stephane $ +# Maintainer: Stéphane Gaudreault + +pkgname=python2-pyopencl +pkgver=2012.1 +pkgrel=2 +pkgdesc="A complete, object-oriented language binding of OpenCL to Python" +arch=('i686' 'x86_64') +url="http://mathema.tician.de/software/pyopencl" +license=('custom') +depends=('python2' 'python2-numpy' 'python2-mako' 'python2-pytools' 'libcl' 'opencl-headers' 'mesa' 'boost') +makedepends=('ctags' 'python2-distribute') +source=("http://pypi.python.org/packages/source/p/pyopencl/pyopencl-${pkgver}.tar.gz" + 'LICENSE.txt') +sha1sums=('ef2460d5e9b883d8afe0ec47863a243b6f8ac7ff' + '2e6966b3d9b15603ce2c3ff79eeadd63c5d066b7') + +build() { + cd "${srcdir}/pyopencl-${pkgver}" + python2 ./configure.py --cl-enable-gl --no-use-shipped-boost + + python2 setup.py build +} + +package() { + cd "${srcdir}/pyopencl-${pkgver}" + python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build + + install -D -m644 ../LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} -- cgit v1.2.3-54-g00ecf