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

Last change on this file was 128759, checked in by larryv@…, 3 years ago

py26-mcrypt: Replace with py27-mcrypt

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 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 128759 2014-11-27 10:03:34Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-mcrypt
8version             1.1
9platforms           darwin
10license             LGPL-2.1+
11maintainers         nomaintainer
12
13description         a comprehensive Python interface to the mcrypt library
14long_description    ${name} is ${description}, which provides a \
15                    uniform interface to several symmetric encryption \
16                    algorithms. It is intended to have a simple \
17                    interface to access encryption algorithms in ofb, \
18                    cbc, cfb, ecb and stream modes. The algorithms it \
19                    supports are DES, 3DES, RIJNDAEL, Twofish, IDEA, \
20                    GOST, CAST-256, ARCFOUR, SERPENT, SAFER+, and more.
21homepage            http://niemeyer.net/python-mcrypt
22
23master_sites        http://niemeyer.net/download/python-mcrypt/
24distname            python-mcrypt-${version}
25checksums           sha1    a6bed6ef183ed042a1261e8da1edb462deadc891 \
26                    rmd160  eb02c61e4ea11836716c442c24078da56cf4d1c1
27
28python.versions     27
29
30if {${name} ne ${subport}} {
31    depends_lib-append  port:mcrypt
32
33    patchfiles          patch-setup.py.diff
34    post-patch {
35        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
36    }
37
38    livecheck.type      none
39} else {
40    livecheck.type      regex
41    livecheck.url       ${homepage}
42    livecheck.regex     "python-mcrypt-(\\d+(?:\\.\\d+)*)"
43}
Note: See TracBrowser for help on using the repository browser.