# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
set _n [string index ${_name} 0]
categories-append science parallel
maintainers petr openmaintainer
description Python wrapper for OpenCL.
long_description PyOpenCL lets you access GPUs and other massively \
parallel compute devices from Python.
homepage http://mathema.tician.de/software/${_name}
master_sites pypi:${_n}/${_name}/
distname ${_name}-${version}
checksums md5 bfd56711959bd4ca120a6f3fd8fc6aef \
rmd160 df2ad4923eec06fea0b3055e1654ab173e99d7b3 \
sha256 d2f7b04d2e819c6e90d6366b7712a7452a39fba218e51b11b02c85ab07fd2983
if {${name} ne ${subport}} {
port:py${python.version}-setuptools \
port:py${python.version}-numpy \
port:py${python.version}-mako
depends_run-append port:py${python.version}-decorator \
port:py${python.version}-pytools \
port:py${python.version}-pytest \
port:py${python.version}-cffi \
port:py${python.version}-appdirs \
port:py${python.version}-six
patchfiles patch-setup.py.diff
configure.cmd ${python.bin} configure.py
configure.args --cl-enable-gl
configure.universal_args-delete --disable-dependency-tracking
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""