# $Id: Portfile 98881 2012-10-19 16:27:26Z macsforever2000@macports.org $

PortSystem      1.0
PortGroup       python 1.0

name            py-LabJackPython
version         8-26-2011
set rel_month   08
set rel_year    2011
license         MIT
maintainers     macsforever2000 openmaintainer
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-${version}

checksums       rmd160  2003d2817d9123d90ad030ad6f3661302edb92a4 \
                sha256  bdc623f832b1435da190de0ffd4cf46e45457eba2f8bb4285a4c69b28f6e42f7

use_zip         yes

python.versions 25 26 27

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