Ticket #42593: Portfile_py-keyring5.diff

File Portfile_py-keyring5.diff, 2.0 KB (added by mail@…, 11 years ago)
  • Portfile

    old new  
    33PortSystem          1.0
    44PortGroup           python 1.0
    55name                py-keyring
    6 version             0.6.2
     6version             3.5
    77license             PSF
    88maintainers         nomaintainer
    99description         Python interface to access the system keyring service
     
    1616platforms           darwin
    1717
    1818homepage            http://pypi.python.org/pypi/keyring
    19 master_sites        http://pypi.python.org/packages/source/k/keyring
     19master_sites        https://pypi.python.org/packages/source/k/keyring/
    2020distname            keyring-${version}
     21use_zip             yes
    2122
    22 checksums           md5     b21b5783c375fc09abdc060b4edc062f \
    23                     sha1    a8a964c73ce96a19f30d9aa9a47d2feab948022c \
    24                     rmd160  c49fb3c0baa190c798d25e78f392b273cd771540
     23checksums           md5     2ac2ba4bc5ce71c02e815b52ad411561 \
     24                    sha1    2a0df93368357974d0afa988b5a66645bdefe261 \
     25                    rmd160  5fd4795c7b2efbdd27364b16882b1269ce328a41
    2526
    26 #broken with python 3.1 and 3.2
    27 python.versions     24 25 26 27
     27python.versions     24 25 26 27 31 32 33 34
    2828python.default_version  27
    2929
    3030if {${name} ne ${subport}} {
    3131    post-destroot {
    3232        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
    3333                          ${destroot}${prefix}/share/examples/${subport}
    34         xinstall -m 644 -W ${worksrcpath} CONTRIBUTORS.txt CHANGES.txt README \
     34        xinstall -m 644 -W ${worksrcpath}/ CONTRIBUTORS.txt CHANGES.rst README.rst \
    3535            ${destroot}${prefix}/share/doc/${subport}
    36         eval file copy [glob ${worksrcpath}/demo/*] \
     36        eval xinstall [glob ${worksrcpath}/demo/*] \
    3737            ${destroot}${prefix}/share/examples/${subport}
    3838    }
    3939}
    4040
    4141livecheck.url       [lindex ${master_sites} 0]
    42 livecheck.regex     "keyring-(\\d+(?:\\.\\d+)*)${extract.suffix}"
    43 
     42livecheck.regex     "keyring-(\\d+\.\\d+(\\.\\d+)*)${extract.suffix}"