# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-mmh3
version             3.0.0
revision            0
categories-append   textproc math
maintainers         nomaintainer

description         Python wrapper for MurmurHash (MurmurHash3), a set of fast and robust hash functions.
long_description    {*}${description}

homepage            https://pypi.python.org/pypi/${python.rootname}
license             Permissive

checksums           rmd160  5b1aaeadccb1e7805b03e2e306089b868214b5e0 \
                    sha256  d1ec578c09a07d3518ec9be540b87546397fa3455de73c166fcce51eaa5c41c5 \
                    size    10359

python.versions     39

if {${name} ne ${subport}} {
    post-destroot {
        set docdir ${prefix}/share/doc/${subport}
        xinstall -d ${destroot}${docdir}
        xinstall -m 0644 -W ${worksrcpath} README.md ${destroot}${docdir}
    }
}
