diff options
author | root <root@rshg054.dnsready.net> | 2013-11-02 01:12:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-11-02 01:12:34 -0700 |
commit | eb9cc495e6d7c131c76f9abc178ac65f1e20fab1 (patch) | |
tree | 2666e8ff27419292a76d9f521c1a67dde999b26a /community/python-pyopencl/PKGBUILD | |
parent | 22f873a6e3ac2c585a28a1ab2561eaea9765cdc6 (diff) |
Sat Nov 2 01:09:32 PDT 2013
Diffstat (limited to 'community/python-pyopencl/PKGBUILD')
-rw-r--r-- | community/python-pyopencl/PKGBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/community/python-pyopencl/PKGBUILD b/community/python-pyopencl/PKGBUILD index 4a1126de9..14865460f 100644 --- a/community/python-pyopencl/PKGBUILD +++ b/community/python-pyopencl/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 96123 2013-08-20 06:32:57Z lcarlier $ +# $Id: PKGBUILD 100072 2013-11-01 09:31:30Z jelle $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> pkgbase=python-pyopencl pkgname=('python2-pyopencl' 'python-pyopencl' 'pyopencl-headers') -pkgver=2013.1 -pkgrel=2 +pkgver=2013.2 +pkgrel=1 pkgdesc="A complete, object-oriented language binding of OpenCL to Python" arch=('i686' 'x86_64') url="http://mathema.tician.de/software/pyopencl" @@ -13,7 +13,7 @@ epoch=1 makedepends=('boost-libs' 'ctags' 'python2-setuptools' 'python-setuptools' 'libcl' 'opencl-headers' 'mesa' 'boost' 'python2-mako' 'python-mako' 'python-numpy' 'python2-numpy') source=("http://pypi.python.org/packages/source/p/pyopencl/pyopencl-${pkgver}.tar.gz" 'LICENSE.txt') -sha1sums=('76331c9042d0286c7c722407dec0fb975a6b340c' +sha1sums=('805b1c5c44647182dcc7aedb00caf8ca47bc6e84' '2e6966b3d9b15603ce2c3ff79eeadd63c5d066b7') build() { @@ -30,6 +30,14 @@ build() { python2 setup.py build } +check(){ + cd "${srcdir}/pyopencl-${pkgver}" + python3 setup.py test + + cd "$srcdir/pyopencl-$pkgver-python2" + python2 setup.py test +} + package_python-pyopencl() { depends=('libcl' 'opencl-headers' 'mesa' 'boost-libs' 'python' 'python-numpy' 'python-mako' 'python-pytools' 'pyopencl-headers') |