void-packages/srcpkgs/python3-pyopencl/template
2021-02-18 09:17:03 -05:00

29 lines
869 B
Bash

# Template file for 'python3-pyopencl'
pkgname=python3-pyopencl
version=2021.1.2
revision=1
wrksrc=${pkgname#*-}-${version}
build_style=python3-module
hostmakedepends="python3-setuptools python3-pybind11 python3-Cython python3-numpy"
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"
checksum=18871bc80c5a94869521189cf2c04d72c88367a441a9a033f72f66792ac33d29
do_configure() {
./configure.py --cl-inc-dir=${XBPS_CROSS_BASE}/usr/include \
--cl-lib-dir=${XBPS_CROSS_BASE}/usr/lib
}
do_check() {
# Tests require a working OpenCL platform
:
}
post_install() {
vlicense LICENSE
}