# -*- 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-instrumentkit
version             0.6.0
revision            0

# categories-append
platforms           {darwin any}
supported_archs     noarch
license             AGPL-3
maintainers         {ra1nb0w @ra1nb0w} openmaintainer

description         Test and measurement communication library
long_description    InstrumentKit is an open source \
    Python library designed to help the end-user get straight into \
    communicating with their equipment via a PC. InstrumentKit aims to \
    accomplish this by providing a connection- and vendor-agnostic API. \
    Users can freely swap between a variety of connection types (ethernet, \
    gpib, serial, usb) without impacting their code. Since the API is \
    consistent across similar instruments, a user can, for example, \
    upgrade from their 1980's multimeter using GPIB to a modern Keysight \
    34461a using ethernet with only a single line change.

homepage            https://instrumentkit.readthedocs.org/

checksums           rmd160  e367a6af7e777ce47f9eaeccedacb333c6e2f232 \
                    sha256  489969b04bc6de57753b01ff160125d5793d006b730cb787f8b50f71a02c0f0d \
                    size    193905

python.versions     310

if {${name} ne ${subport}} {
    depends_lib-append \
                    port:py${python.version}-future \
                    port:py${python.version}-numpy \
                    port:py${python.version}-serial \
                    port:py${python.version}-usbtmc \
                    port:py${python.version}-vxi11 \
                    port:py${python.version}-pyusb \
                    port:py${python.version}-visa \
                    port:py${python.version}-quantities \
                    port:py${python.version}-ruamel-yaml
}
