Permalink
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (34 sloc) 1.51 KB
# -*- 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-mhash
version 1.4
revision 1
categories-append security
platforms darwin
license LGPL
python.versions 27
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, \
and many others.
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
post-patch {
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
}
livecheck.type none
} else {
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex "python-mhash-(\\d+(?:\\.\\d+)*)"
}