PortSystem          1.0
PortGroup           python 1.0
name                py-bitstring
version             2.2.0
revision            1
categories-append   devel
license             MIT
maintainers         nomaintainer
description         Module to simplify handling of binary data
long_description \
   bitstring is a pure Python module that makes the creation, manipulation \
   and analysis of binary data as simple and natural as possible.

platforms           darwin
supported_archs     noarch

homepage            https://code.google.com/p/python-bitstring/
master_sites        googlecode:python-bitstring
distname            bitstring-${version}
use_zip             yes

checksums           sha1    cd12c16b8d05a98b0e5a7dafc82dcb5891325812 \
                    rmd160  0ef2c6b67f5914a2524f1cd7644b40f8ba421729

if {${name} ne ${subport}} {
   post-destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
      xinstall -m 644 -W ${worksrcpath} README.txt release_notes.txt \
         ${destroot}${prefix}/share/doc/${subport}
      xinstall -m 644 ${worksrcpath}/doc/bitstring_manual.pdf \
         ${destroot}${prefix}/share/doc/${subport}
   }
}

python.versions     27 34 35 36