# -*- 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: Portfile 80111 2011-07-04 14:54:41Z snc@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-pyopencl
version             2011.1.2
categories-append   science

maintainers         stromnov openmaintainer

description         Python wrapper for OpenCL.

long_description    PyOpenCL lets you access GPUs and \
                    other massively parallel compute \
                    devices from Python.

platforms           darwin

homepage            http://mathema.tician.de/software/pyopencl
master_sites        http://cheeseshop.python.org/packages/source/p/pyopencl/
distname            pyopencl-${version}

checksums           sha1    5ecc476b86317ed065c75c1d8efb2a53d1d8f075 \
                    rmd160  13c88e36bf60ea43ec22be338d72d295161b6beb

depends_build-append \
                    port:py26-distribute \
                    port:py26-numpy

use_configure       yes
configure.cmd       ./configure.py
configure.args      --cl-enable-gl
configure.universal_args-delete --disable-dependency-tracking

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     "pyopencl-(\\d+(?:\\.\\d+)*)${extract.suffix}"
