2020-05-18 18:20:26 +00:00
|
|
|
# Template file for 'python3-pyopencl'
|
|
|
|
pkgname=python3-pyopencl
|
2020-06-22 17:57:04 +00:00
|
|
|
version=2020.2
|
2020-05-18 18:20:26 +00:00
|
|
|
revision=1
|
|
|
|
wrksrc=${pkgname#*-}-${version}
|
|
|
|
build_style=python3-module
|
2020-06-22 17:57:04 +00:00
|
|
|
hostmakedepends="python3-setuptools python3-pybind11 python3-Cython python3-numpy"
|
2020-05-18 18:20:26 +00:00
|
|
|
makedepends="opencl2-headers ocl-icd-devel python3-pybind11"
|
|
|
|
depends="python3-pytools"
|
|
|
|
short_desc="OpenCL bindings for Python 3"
|
|
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
|
|
license="X11, Apache-2.0, BSD-3-Clause"
|
|
|
|
homepage="https://mathema.tician.de/software/pyopencl"
|
|
|
|
distfiles="${PYPI_SITE}/p/pyopencl/pyopencl-${version}.tar.gz"
|
2020-06-22 17:57:04 +00:00
|
|
|
checksum=afd9f22547bcd879b9e54252fc885b45034ebfd1890e630827f1afb408a03d23
|
2020-05-18 18:20:26 +00:00
|
|
|
|
|
|
|
do_configure() {
|
|
|
|
./configure.py --cl-inc-dir=${XBPS_CROSS_BASE}/usr/include \
|
|
|
|
--cl-lib-dir=${XBPS_CROSS_BASE}/usr/lib
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|