diff options
Diffstat (limited to 'community/py-opencl')
-rw-r--r-- | community/py-opencl/APKBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/community/py-opencl/APKBUILD b/community/py-opencl/APKBUILD index 508569ff85..99f27478f5 100644 --- a/community/py-opencl/APKBUILD +++ b/community/py-opencl/APKBUILD @@ -8,23 +8,23 @@ pkgdesc="Python wrapper for OpenCL" url="https://pypi.python.org/pypi/pyopencl" arch="all" license="MIT" -depends="python" +depends="python2" depends_dev="$pkgname" -makedepends="python-dev py-setuptools py-mako py-numpy ctags libffi-dev mesa-dev opencl-headers opencl-icd-loader-dev" +makedepends="python2-dev py-setuptools py-mako py-numpy ctags libffi-dev mesa-dev opencl-headers opencl-icd-loader-dev" subpackages="$pkgname-dev" source="https://files.pythonhosted.org/packages/source/${_pkgreal:0:1}/$_pkgreal/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" build() { cd "$builddir" - python configure.py --cl-enable-gl --python-exe=python || return 1 + python2 configure.py --cl-enable-gl --python-exe=python2 || return 1 make || return 1 - python setup.py test + python2 setup.py test } package() { cd "$builddir" - python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build || return 1 + python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build || return 1 } md5sums="34e79e3695526402e0a1f87c66d65d75 pyopencl-2016.2.tar.gz" |