# -*- 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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-parakeet
version             0.23.2
revision            0
categories-append   devel
platforms           darwin
license             BSD

python.versions     27

maintainers         stromnov openmaintainer

description         Runtime compiler for numerical Python.
long_description    ${description}

homepage            http://www.parakeetpython.com/
master_sites        http://pypi.python.org/packages/source/p/parakeet/

distname            parakeet-${version}

checksums           rmd160  4be5f907a467c352cfc255bccd7e334c0ef0f1c5 \
                    sha256  4f2bfcc1952212b02a250ca0f01c962f63f199358e0822ad17aa2f0f60be3b2b

if {${name} ne ${subport}} {
    depends_build-append \
                        port:py${python.version}-setuptools
    depends_lib-append  port:py${python.version}-dsltools \
                        port:py${python.version}-numpy
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       ${master_sites}
    livecheck.regex     {parakeet-(\d+(?:\.\d+)*)\.[tz]}
}
