# -*- 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

name                py-LabJackPython
set rel_year        2014
set rel_month       04
set rel_day         24
version             ${rel_month}-${rel_day}-${rel_year}
epoch               2
license             MIT
maintainers         nomaintainer

description         LabJack Python
long_description    Python module for communicating with LabJack devices.

platforms           darwin
homepage            http://labjack.com/support/labjackpython
master_sites        http://labjack.com/sites/default/files/${rel_year}/${rel_month}/
distname            LabJackPython-4-24-2014
supported_archs     noarch

checksums           rmd160  b979efbf55b6d6bd36bac1a3181c46688a501fad \
                    sha256  19251b028ff1185854f556cfecc8cbab0d5dcfb8e3a0ea54ca6e21dc9f9a78d6

use_zip             yes

python.versions     27

if {${name} ne ${subport}} {
    depends_lib-append  port:exodriver
    
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       ${homepage}
    livecheck.regex     {LabJackPython-([0-9\.]+)\.tar\.gz}
}