source: trunk/dports/python/py26-mhash/Portfile @ 66683

Last change on this file since 66683 was 66683, checked in by stromnov@…, 10 years ago

py26-mhash: New port.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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
2# $Id: Portfile 66683 2010-04-20 10:22:07Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python26 1.0
6
7name                py26-mhash
8version             1.4
9maintainers         stromnov openmaintainer
10
11description         A comprehensive Python interface to the mhash library.
12
13long_description    A comprehensive Python interface to the mhash library, \
14                    which provides a uniform interface to access several \
15                    hashing algorithms such as MD4, MD5, SHA1, SHA160, \
16                    and many others.
17
18platforms           darwin
19
20homepage            http://labix.org/python-mhash
21master_sites        http://labix.org/download/python-mhash/
22distname            python-mhash-${version}
23
24checksums           md5     b3536ef3474a6459b5f03dee69ab97b6 \
25                    sha1    08bfb86bb51968e0f941181780570a80f08b4616 \
26                    rmd160  dd3dcf019059d6eb24f3d8b55e29f1c7e690289b
27
28depends_build       port:mhash
29
30patchfiles          patch-setup.py.diff
31
32post-patch {
33    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
34}
35
36livecheck.type      regex
37livecheck.url       ${homepage}
38livecheck.regex     "python-mhash-(\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.