# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        Theano libgpuarray 0.7.6 v

name                py-pygpu
categories-append   devel math
platforms           darwin
license             MIT
supported_archs     x86_64

python.versions     27 35 36

maintainers         {stromnov @stromnov} openmaintainer

description         Python wrapper for libgpuarray library
long_description    ${description}

dist_subdir         libgpuarray

checksums           rmd160  0b1b4a4be3e22fdf3cf38f325c090c6bddeb5109 \
                    sha256  fa96c5d2baf5c6ee4521104409bfab5a3319fcc055f89b8c75d4a45983354c5e \
                    size    293866

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools \
                        port:py${python.version}-cython

    depends_lib-append  port:libgpuarray \
                        port:py${python.version}-mako \
                        port:py${python.version}-numpy

    livecheck.type      none
} else {
    livecheck.regex     {archive/v([0-9.]+).tar.gz}
}