# -*- 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 set real_name mmh3 name py-${real_name} version 2.3.1 categories-append textproc math maintainers hum openmaintainer description Python wrapper for MurmurHash (MurmurHash3), a set of fast and robust hash functions. long_description ${description} homepage https://pypi.python.org/pypi/${real_name} platforms darwin license Permissive master_sites pypi:m/${real_name}/ distname ${real_name}-${version} python.versions 27 34 if {${name} ne ${subport}} { checksums rmd160 108cd84049528834dc857e2119d2427946b028f3 \ sha256 ecadc3557c093211a70b49814cf91d6833fff403edf2d8405645e227262de928 post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} README.rst ${destroot}${docdir} } livecheck.type none } else { livecheck.type regex livecheck.url https://pypi.python.org/pypi/${real_name} livecheck.regex "${real_name}/(\\d+(?:\\.\\d+)*)" }