# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-BitVector version 3.3 categories-append math platforms darwin maintainers bo.ingv.it:Peter.Danecek openmaintainer license PSF description A memory-efficient packed representation for bit arrays long_description The BitVector class is for a memory-efficient packed \ representation of bit arrays and for logical operations \ on such arrays. It is written in pure Python. homepage https://engineering.purdue.edu/kak/dist/BitVector-${version}.html distname BitVector-${version} master_sites https://engineering.purdue.edu/kak/dist checksums md5 5cd94e48eefabac749edaebf8337fc5a \ rmd160 1228aa6855a8958dd14ecbe5c639f3d343588183 \ sha256 ad82343d3e12f2538a250de3385c2511e980e85478f858659c5280eb988d0484 python.versions 26 27 31 32 33 34 if {${name} ne ${subport}} { depends_build-append port:py${python.version}-setuptools test.run yes test.cmd ${python.bin} TestBitVector/Test.py test.target {} # delete redundant files & avoid testing different version pre-patch { eval delete [ glob ${worksrcpath}/*/BitVector.py ] # create link for testing ln -s ../BitVector.py ${worksrcpath}/TestBitVector/BitVector.py } # Adding documentation & examples post-destroot { copy ${worksrcpath}/${distname}.html ${destroot}${prefix}/share/doc/${subport} # Avoid creation of example directory delete ${destroot}${prefix}/share/doc/${subport}/examples copy ${worksrcpath}/Examples ${destroot}${prefix}/share/doc/${subport}/examples } }