Ticket #48107: py-visa.diff
File py-visa.diff, 3.0 KB (added by kurthindenburg (Kurt Hindenburg), 9 years ago) |
---|
-
Portfile
1 # -*- 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 1 2 # $Id$ 2 3 3 4 PortSystem 1.0 4 5 PortGroup python 1.0 6 PortGroup github 1.0 5 7 8 github.setup hgrecco pyvisa 1.8 9 6 10 name py-visa 7 version 1.48 11 categories-append science 9 12 platforms darwin 10 13 supported_archs noarch … … 15 18 long_description PyVISA allows dialog between a computer and\ 16 19 various engineering instruments such as oscilloscopes,\ 17 20 spectrum analyzers, waveform generators, etc. using\ 18 the VISA Framework of National Instruments, that must be\ 19 installed independently. \nWARNING: this framework is,\ 20 currently, 32-bit only, so to be able to use py-visa on\ 21 a 64-bit machine, you MUST install a universal Python\ 22 and execute python in 32-bit mode with ‘arch -i386’. 21 the VISA Framework of National Instruments, which must be\ 22 installed independently.\ 23 \nWARNING: VISA Frameworks prior to 14.0, (released 2014),\ 24 are 32-bit only, so to be able to use py-visa on a 64-bit\ 25 machine, you MUST\ 26 \nEITHER\ 27 \n\tinstall a 64-bit-compatible VISA version\ 28 \nOR\ 29 \n\tinstall a universal Python and execute python in\ 30 32-bit mode with ‘arch -i386’. 23 31 24 homepage http://pyvisa.sourceforge.net/ 32 checksums rmd160 6bc43d1aed4f8f9823ec164ecc510bdb224164fe \ 33 sha256 42711646de0b77b8c6d786da7fdda1b4dc3a47453c55880dc9391fc049e82136 25 34 26 master_sites https://pypi.python.org/packages/source/P/PyVISA/ 27 distname PyVISA-${version} 35 python.versions 27 34 35 28 36 29 checksums md5 5a391c8d0bca3c9d58ee1bbe573bc6b9 \ 30 rmd160 6cc4aae064dbe744bb260a8f329959e50f5694eb\31 sha256 6ff001554b206534a54bbb3f60121f9265f0dde5261726c9ee5d1aae67f8e4f037 if {${name} ne ${subport}} { 38 depends_build-append port:py${python.version}-setuptools\ 39 port:py${python.version}-sphinx 32 40 41 notes " 42 If you are migrating from py-visa < 1.5, read https://pyvisa.readthedocs.org/en/stable/migrating.html 43 for possible compatibility issues. 44 " 33 45 34 python.versions 26 2735 36 if {$subport ne $name} {37 depends_build port:py${python.version}-setuptools \38 port:py${python.version}-sphinx39 46 test.run yes 40 47 livecheck.type none 41 } else {42 livecheck.type regex43 livecheck.url https://pypi.python.org/pypi/PyVISA44 livecheck.regex {PyVISA/([0-9.]+)"}45 48 }