Ticket #48107: Portfile.diff

File Portfile.diff, 3.2 KB (added by joshuacookebarnes@…, 9 years ago)
  • Portfile

    diff -ur /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py-visa/Portfile ./Portfile
    old new  
     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
    12# $Id: Portfile 124632 2014-08-27 06:28:47Z aronnax@macports.org $
    23
    34PortSystem          1.0
    45PortGroup           python 1.0
     6PortGroup           github 1.0
     7
     8github.setup        hgrecco pyvisa 1.5
    59
    610name                py-visa
    7 version             1.4
    811categories-append   science
    912platforms           darwin
    1013supported_archs     noarch
     
    1518long_description    PyVISA allows dialog between a computer and\
    1619                    various engineering instruments such as oscilloscopes,\
    1720                    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’.
    2331
    2432homepage            http://pyvisa.sourceforge.net/
    2533
    26 master_sites        https://pypi.python.org/packages/source/P/PyVISA/
    27 distname            PyVISA-${version}
    28 
    29 checksums           md5     5a391c8d0bca3c9d58ee1bbe573bc6b9 \
    30                     rmd160  6cc4aae064dbe744bb260a8f329959e50f5694eb \
    31                     sha256  6ff001554b206534a54bbb3f60121f9265f0dde5261726c9ee5d1aae67f8e4f0
     34checksums           md5     af78d64678a58a8f432f98fc94417aca \
     35                    rmd160  1520c1160859e890f8757611822114bd1c7b7d67 \
     36                    sha256  c5cac39f9e2f3ecc8a8b5ca12ab6677c864e472105cbb9aa89cd17ce42e2380a
    3237
    3338
    34 python.versions     26 27
     39python.versions     26 27 33
    3540
    36 if {$subport ne $name} {
    37     depends_build           port:py${python.version}-setuptools \
     41if {${name} ne ${subport}} {
     42    depends_build-append    port:py${python.version}-setuptools\
    3843                            port:py${python.version}-sphinx
    3944    test.run                yes
    4045    livecheck.type          none
    4146} else {
    4247    livecheck.type  regex
    43     livecheck.url   https://pypi.python.org/pypi/PyVISA
    44     livecheck.regex {PyVISA/([0-9.]+)"}
     48    livecheck.url   http://github.com/hgrecco/pyvisa/tags
     49    livecheck.regex "href=\"/hgrecco/pyvisa/releases/tag/(\[0-9.\]+)\""
    4550}