Ticket #42441: patch-py-BitArray2D.diff

File patch-py-BitArray2D.diff, 1.6 KB (added by petrrr, 11 years ago)

patch for python/py-BitArray2D/Portfile

  • Portfile

    old new  
    44PortSystem          1.0
    55PortGroup           python 1.0
    66
    7 name                py-BitArray2D
     7set _name           BitArray2D
     8
     9name                py-${_name}
    810version             2.1
    911categories-append   math
    1012platforms           darwin
     
    2325                    advantage of the facilities of the BitVector class for \
    2426                    the memory representation and for the allowed operations.
    2527
    26 homepage            https://engineering.purdue.edu/kak/dist2d/BitArray2D-${version}.html
     28homepage            https://engineering.purdue.edu/kak/dist2d/${_name}-${version}.html
    2729
    28 distname            BitArray2D-${version}
    29 master_sites        https://engineering.purdue.edu/kak/dist2d
     30distname            ${_name}-${version}
     31master_sites        https://engineering.purdue.edu/kak/dist2d/
    3032
    3133checksums           md5     24cac608e52df170a5163988b95d9fa3 \
    3234                    rmd160  6b25f62b9ea8ea7f4d680e31fa210d03574e1173 \
     
    3638
    3739if {${name} ne ${subport}} {
    3840    depends_build-append  port:py${python.version}-setuptools
    39 
    4041    depends_lib-append    port:py${python.version}-BitVector
    4142
    4243    test.run            yes
     
    6465        delete  ${destroot}${prefix}/share/doc/${subport}/examples
    6566        copy ${worksrcpath}/Examples ${destroot}${prefix}/share/doc/${subport}/examples
    6667    }
     68
     69    livecheck.type      none
     70} else {
     71    livecheck.type      regex
     72    livecheck.url       [lindex ${master_sites} 0]
     73    livecheck.regex     "${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}"
    6774}