source: trunk/dports/python/py-mhash/Portfile @ 88790

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

py-mhash: delete duplicated line

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 88790 2012-01-11 20:28:25Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-mhash
8version             1.4
9revision            1
10categories-append   security
11license             LGPL
12platforms           darwin
13
14maintainers         stromnov openmaintainer
15
16description         A comprehensive Python interface to the mhash library.
17
18long_description    A comprehensive Python interface to the mhash library, \
19                    which provides a uniform interface to access several \
20                    hashing algorithms such as MD4, MD5, SHA1, SHA160, \
21                    and many others.
22
23homepage            http://labix.org/python-mhash
24master_sites        http://labix.org/download/python-mhash/
25
26distname            python-mhash-${version}
27
28checksums           md5     b3536ef3474a6459b5f03dee69ab97b6 \
29                    sha1    08bfb86bb51968e0f941181780570a80f08b4616 \
30                    rmd160  dd3dcf019059d6eb24f3d8b55e29f1c7e690289b
31
32python.versions     24 25 26 27
33
34if {$subport != $name} {
35    depends_build-append    port:py${python.version}-distribute
36
37    depends_lib-append      port:mhash
38
39    patchfiles              patch-setup.py.diff
40
41    post-patch {
42        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
43    }
44}
45
46livecheck.type      regex
47livecheck.url       ${homepage}
48livecheck.regex     "python-mhash-(\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.