# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 set _name pyopencl set _n [string index ${_name} 0] name py-${_name} version 2013.2 categories-append science parallel license MIT platforms darwin 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 rmd160 ad0d599183bd068db939e4eb1522d7887b4d9073 \ sha256 f8e4218e4e47d397886f5dabde16a4d8dcc12caa0cb16ec68cae31f89c94d918 python.versions 27 34 35 if {${name} ne ${subport}} { depends_build-append \ 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 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}\"" }