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

name                py-python-ivi
supported_archs     noarch
platforms           {darwin any}
license             MIT
maintainers         nomaintainer
description         Python Interchangeable Virtual Instrument Library
long_description    {*}${description}
homepage            http://alexforencich.com/wiki/en/python-ivi/start

github.setup        acconeer python-ivi 250702b566dbc085f04cfa6c7fea63d01190b98d
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             20211008-[string range ${github.version} 0 7]
checksums           rmd160  a8493d7787a59f8315c02854237676c07442b74e \
                    sha256  414faab422ffc14b4cd7e70a55ee33749b86461d20f558678af865e5bb4b6ebb \
                    size    256535
revision            0

python.versions     310

if {${name} ne ${subport}} {
    depends_lib-append \
        port:py${python.version}-numpy \
        port:py${python.version}-vxi11 \
        port:py${python.version}-usbtmc \
        port:py${python.version}-serial
}
