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

github.setup        python-ivi python-usbtmc 0.8 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name                py-usbtmc
platforms           {darwin any}
supported_archs     noarch
license             MIT
maintainers         nomaintainer

description         USBTMC driver for controlling instruments over USB
long_description    {*}${description}

#                   https://github.com/python-ivi/python-usbtmc
homepage            http://alexforencich.com/wiki/en/python-usbtmc/start

checksums           rmd160  6c21a5ce32832757a88d84b3aa5035a446dd1323 \
                    sha256  ba6332b1355f281afdc5f98101e35804abf1bee6da574880e2ea10032ddba65c

python.versions     310

if {${name} ne ${subport}} {
    depends_run-append \
                        path:${python.pkgd}/usb/__init__.py:py${python.version}-pyusb
}
