Ticket #42441: patch-py-BitArray2D.diff
File patch-py-BitArray2D.diff, 1.6 KB (added by petrrr, 11 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 PortGroup python 1.0 6 6 7 name py-BitArray2D 7 set _name BitArray2D 8 9 name py-${_name} 8 10 version 2.1 9 11 categories-append math 10 12 platforms darwin … … 23 25 advantage of the facilities of the BitVector class for \ 24 26 the memory representation and for the allowed operations. 25 27 26 homepage https://engineering.purdue.edu/kak/dist2d/ BitArray2D-${version}.html28 homepage https://engineering.purdue.edu/kak/dist2d/${_name}-${version}.html 27 29 28 distname BitArray2D-${version}29 master_sites https://engineering.purdue.edu/kak/dist2d 30 distname ${_name}-${version} 31 master_sites https://engineering.purdue.edu/kak/dist2d/ 30 32 31 33 checksums md5 24cac608e52df170a5163988b95d9fa3 \ 32 34 rmd160 6b25f62b9ea8ea7f4d680e31fa210d03574e1173 \ … … 36 38 37 39 if {${name} ne ${subport}} { 38 40 depends_build-append port:py${python.version}-setuptools 39 40 41 depends_lib-append port:py${python.version}-BitVector 41 42 42 43 test.run yes … … 64 65 delete ${destroot}${prefix}/share/doc/${subport}/examples 65 66 copy ${worksrcpath}/Examples ${destroot}${prefix}/share/doc/${subport}/examples 66 67 } 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}" 67 74 }