# -*- 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
categories-append security
maintainers {stromnov @stromnov} openmaintainer
description A comprehensive Python interface to the mhash library.
long_description A comprehensive Python interface to the mhash library, \
which provides a uniform interface to access several \
hashing algorithms such as MD4, MD5, SHA1, SHA160, \
homepage http://labix.org/python-mhash
master_sites http://labix.org/download/python-mhash/
distname python-mhash-${version}
checksums rmd160 dd3dcf019059d6eb24f3d8b55e29f1c7e690289b \
sha256 c61973d91e0ca4cc092ae277346cab8b68279b9aa2fa0d49628daf1c7521e7a8
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:mhash
patchfiles patch-setup.py.diff
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
livecheck.url ${homepage}
livecheck.regex "python-mhash-(\\d+(?:\\.\\d+)*)"