Files
2025-11-25 22:14:46 -05:00

65 lines
2.3 KiB
Tcl
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- 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-visa
python.rootname PyVISA
version 1.11.3
revision 0
categories-append science
supported_archs noarch
platforms {darwin any}
license MIT
maintainers nomaintainer
description Python binding to VISA instrument protocol
long_description PyVISA allows dialog between a computer and\
various engineering instruments such as oscilloscopes,\
spectrum analyzers, waveform generators, etc. using\
the VISA Framework of National Instruments, which must be\
installed independently.\
\nWARNING: VISA Frameworks prior to 14.0, (released 2014),\
are 32-bit only, so to be able to use py-visa on a 64-bit\
machine, you MUST\
\nEITHER\
\n\tinstall a 64-bit-compatible VISA version\
\nOR\
\n\tinstall a universal Python and execute python in\
32-bit mode with arch -i386.
checksums rmd160 af26f703480d7b2f1ca6807cb93b8ba960f73775 \
sha256 fb4b601d49fce1a00926fcdde5548bd54f0511f549188a3e0c1e4628c3d86703 \
size 233399
homepage https://github.com/pyvisa/pyvisa
python.versions 310
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools_scm
depends_lib-append \
port:py${python.version}-typing_extensions
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
ChangeLog CHANGES AUTHORS ${destroot}${docdir}
}
notes "
If you are migrating from py-visa < 1.5, read https://pyvisa.readthedocs.org/en/stable/migrating.html
for possible compatibility issues.
"
depends_test-append \
port:py${python.version}-mock \
port:py${python.version}-sphinx
test.run yes
}