summaryrefslogtreecommitdiff
path: root/python2-pyopencl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'python2-pyopencl/PKGBUILD')
-rw-r--r--python2-pyopencl/PKGBUILD24
1 files changed, 17 insertions, 7 deletions
diff --git a/python2-pyopencl/PKGBUILD b/python2-pyopencl/PKGBUILD
index 7e9682eeb..5c183e1c9 100644
--- a/python2-pyopencl/PKGBUILD
+++ b/python2-pyopencl/PKGBUILD
@@ -11,11 +11,23 @@ pkgdesc="A complete, object-oriented language binding of OpenCL to Python2"
arch=('i686' 'pentium4' 'x86_64')
url="https://mathema.tician.de/software/pyopencl"
license=('MIT' 'Apache' 'BSD')
-depends=('opencl-icd-loader' 'opencl-headers' 'mesa' 'boost-libs')
-makedepends=('ctags' 'boost' 'python-setuptools' 'python2-setuptools' 'python-mako' 'python2-mako'
- 'python-numpy' 'python2-numpy' 'python-cffi' 'python2-cffi' 'git' 'pybind11')
-checkdepends=('python-six' 'python2-six' 'python-appdirs' 'python2-appdirs'
- 'python-pytest' 'python-pytools')
+depends=(
+ 'boost-libs'
+ 'mesa'
+ 'opencl-headers'
+ 'opencl-icd-loader'
+ 'pyopencl-headers'
+ 'python2>=2.7'
+ 'python2<2.8'
+ 'python2-cffi'
+ 'python2-mako'
+ 'python2-numpy'
+ 'python2-pytools'
+ 'python2-setuptools'
+)
+makedepends=('ctags' 'boost' 'git' 'pybind11')
+checkdepends=('python2-six' 'python2-appdirs'
+ 'python2-pytest' 'python2-pytools')
source=("git+https://github.com/inducer/pyopencl.git?signed#tag=v${pkgver}")
validpgpkeys=("900A958D9A0ACA58B1468F2471AA298BCA171145") # Andreas Ratchke
sha1sums=('SKIP')
@@ -36,8 +48,6 @@ check(){
}
package() {
- depends+=('python' 'python-numpy' 'python-mako' 'python-pytools' 'pyopencl-headers' 'python-setuptools' 'python-cffi')
-
cd pyopencl
python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build