Ticket #42440: patch-py-BitVector.diff
File patch-py-BitVector.diff, 2.1 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-BitVector 8 version 3.3 7 set _name BitVector 8 9 name py-${_name} 10 version 3.3.1 9 11 categories-append math 10 12 platforms darwin 11 13 … … 19 21 representation of bit arrays and for logical operations \ 20 22 on such arrays. It is written in pure Python. 21 23 22 homepage https://engineering.purdue.edu/kak/dist/ BitVector-${version}.html24 homepage https://engineering.purdue.edu/kak/dist/${_name}-${version}.html 23 25 24 distname BitVector-${version}26 distname ${_name}-${version} 25 27 master_sites https://engineering.purdue.edu/kak/dist 26 28 27 checksums md5 5cd94e48eefabac749edaebf8337fc5a\28 rmd160 1228aa6855a8958dd14ecbe5c639f3d343588183\29 sha256 ad82343d3e12f2538a250de3385c2511e980e85478f858659c5280eb988d048429 checksums md5 08cde7d782b7a5a721a94225a1488985 \ 30 rmd160 9b1cae21dc0852f826625770da8cede6878f3271 \ 31 sha256 798ace69f4f845722ee67648ff13ac29aba966f7ebd56f7ae0d1035054a0c6b4 30 32 31 33 python.versions 26 27 31 32 33 34 32 34 … … 47 49 48 50 # Adding documentation & examples 49 51 post-destroot { 50 copy ${worksrcpath}/${distname}.html ${destroot}${prefix}/share/doc/${subport} 52 set dest_doc ${destroot}${prefix}/share/doc/${subport} 53 copy ${worksrcpath}/${distname}.html ${dest_doc} 51 54 52 55 # Avoid creation of example directory 53 delete ${destroot}${prefix}/share/doc/${subport}/examples54 copy ${worksrcpath}/Examples ${dest root}${prefix}/share/doc/${subport}/examples56 delete ${dest_doc}/examples 57 copy ${worksrcpath}/Examples ${dest_doc}/examples 55 58 } 59 60 livecheck.type none 61 } else { 62 livecheck.type regex 63 livecheck.url [lindex ${master_sites} 0] 64 livecheck.regex "${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}" 56 65 }