[148362] trunk/dports/python/py-visa/Portfile

khindenburg at macports.org khindenburg at macports.org
Thu May 5 06:54:25 PDT 2016


Revision: 148362
          https://trac.macports.org/changeset/148362
Author:   khindenburg at macports.org
Date:     2016-05-05 06:54:25 -0700 (Thu, 05 May 2016)
Log Message:
-----------
py-visa: move to github; update to 1.8 #48107

Modified Paths:
--------------
    trunk/dports/python/py-visa/Portfile

Modified: trunk/dports/python/py-visa/Portfile
===================================================================
--- trunk/dports/python/py-visa/Portfile	2016-05-05 13:37:18 UTC (rev 148361)
+++ trunk/dports/python/py-visa/Portfile	2016-05-05 13:54:25 UTC (rev 148362)
@@ -1,3 +1,4 @@
+# -*- 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
 # $Id$
 
 PortSystem          1.0
@@ -2,5 +3,7 @@
 PortGroup           python 1.0
+PortGroup           github 1.0
 
+github.setup        hgrecco pyvisa 1.8
+
 name                py-visa
-version             1.4
 categories-append   science
@@ -15,31 +18,31 @@
 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, that must be\
-                    installed independently. \nWARNING: this framework is,\
-                    currently, 32-bit only, so to be able to use py-visa on\
-                    a 64-bit machine, you MUST install a universal Python\
-                    and execute python in 32-bit mode with ‘arch -i386’.
+                    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’.
 
-homepage            http://pyvisa.sourceforge.net/
+checksums           rmd160  6bc43d1aed4f8f9823ec164ecc510bdb224164fe \
+                    sha256  42711646de0b77b8c6d786da7fdda1b4dc3a47453c55880dc9391fc049e82136
 
-master_sites        https://pypi.python.org/packages/source/P/PyVISA/
-distname            PyVISA-${version}
+python.versions     27 34 35
 
-checksums           md5     5a391c8d0bca3c9d58ee1bbe573bc6b9 \
-                    rmd160  6cc4aae064dbe744bb260a8f329959e50f5694eb \
-                    sha256  6ff001554b206534a54bbb3f60121f9265f0dde5261726c9ee5d1aae67f8e4f0
+if {${name} ne ${subport}} {
+    depends_build-append    port:py${python.version}-setuptools\
+                            port:py${python.version}-sphinx
 
+    notes "
+If you are migrating from py-visa < 1.5, read https://pyvisa.readthedocs.org/en/stable/migrating.html
+for possible compatibility issues.
+"
 
-python.versions     26 27
-
-if {$subport ne $name} {
-    depends_build           port:py${python.version}-setuptools \
-                            port:py${python.version}-sphinx
     test.run                yes
     livecheck.type          none
-} else {
-    livecheck.type  regex
-    livecheck.url   https://pypi.python.org/pypi/PyVISA
-    livecheck.regex {PyVISA/([0-9.]+)"}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160505/26a1f6ce/attachment-0001.html>


More information about the macports-changes mailing list