|
|
@@ -4,8 +4,8 @@ PortSystem 1.0 |
|
|
PortGroup python 1.0 |
|
|
PortGroup github 1.0 |
|
|
|
|
|
github.setup hgrecco pyvisa 1.8 |
|
|
|
|
|
github.setup hgrecco pyvisa 1.9.1 |
|
|
revision 0 |
|
|
name py-visa |
|
|
categories-append science |
|
|
platforms darwin |
|
|
@@ -28,20 +28,41 @@ long_description PyVISA allows dialog between a computer and\ |
|
|
\n\tinstall a universal Python and execute python in\ |
|
|
32-bit mode with ‘arch -i386’. |
|
|
|
|
|
checksums rmd160 6bc43d1aed4f8f9823ec164ecc510bdb224164fe \ |
|
|
sha256 42711646de0b77b8c6d786da7fdda1b4dc3a47453c55880dc9391fc049e82136 |
|
|
checksums rmd160 545b907337370cfe486d640991050fcce08f5e7d \ |
|
|
sha256 12765a171f149413e55ce5a0c8d344ce571b6f01441914113d28358e356ad182 \ |
|
|
size 432244 |
|
|
|
|
|
python.versions 27 34 35 36 |
|
|
python.versions 27 34 35 36 37 |
|
|
|
|
|
if {${name} ne ${subport}} { |
|
|
depends_build-append port:py${python.version}-setuptools\ |
|
|
port:py${python.version}-sphinx |
|
|
depends_lib-append \ |
|
|
port:py${python.version}-setuptools |
|
|
|
|
|
if {${python.version} eq 27} { |
|
|
depends_lib-append \ |
|
|
port:py${python.version}-enum34 |
|
|
} |
|
|
|
|
|
post-destroot { |
|
|
set docdir ${prefix}/share/doc/${subport} |
|
|
xinstall -d ${destroot}${docdir} |
|
|
xinstall -m 0644 -W ${worksrcpath} README 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. |
|
|
" |
|
|
|
|
|
test.run yes |
|
|
livecheck.type none |
|
|
depends_lib-append \ |
|
|
port:py${python.version}-mock \ |
|
|
port:py${python.version}-pytest \ |
|
|
port:py${python.version}-sphinx |
|
|
test.run yes |
|
|
test.cmd py.test-${python.branch} |
|
|
test.target |
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib |
|
|
|
|
|
livecheck.type none |
|
|
} |