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

Last change on this file was 127434, checked in by stromnov@…, 3 years ago

py{24,25,26}-mhash: Replace with py27-mhash

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