summaryrefslogtreecommitdiff
path: root/python2-pyopencl/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-25 10:29:42 +0200
committerErich Eckner <git@eckner.net>2019-07-25 10:29:42 +0200
commit2c7bad225317a35a9859bc490676b006bbdc800b (patch)
tree3e238c452c5726c8ac2b56d6804f1e0d52b1c389 /python2-pyopencl/PKGBUILD
parent6c4aba93daba43a5a01a167689d04c297e06dbc9 (diff)
downloadarchlinuxewe.git.save-2c7bad225317a35a9859bc490676b006bbdc800b.tar.xz
python2-pyopencl: fix dependencies
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 7e9682ee..5c183e1c 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