# -*- 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 PortSystem 1.0 PortGroup python 1.0 PortGroup cxx11 1.1 set _name pyopencl set _n [string index ${_name} 0] name py-${_name} version 2017.2.2 categories-append science parallel license MIT platforms darwin maintainers {petr @petrrr} 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 python.versions 27 35 36 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools \ port:py${python.version}-numpy \ port:py${python.version}-mako depends_lib-append \ port:py${python.version}-cffi depends_run-append port:py${python.version}-decorator \ port:py${python.version}-pytools \ port:py${python.version}-pytest \ port:py${python.version}-appdirs \ port:py${python.version}-six patch.pre_args -p1 patchfiles patch-setup.py.diff use_configure yes configure.cmd ${python.bin} configure.py configure.args --cl-enable-gl configure.universal_args-delete --disable-dependency-tracking livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${_name}/json livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" }