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

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

py24-ezpycrypto: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 130343 2014-12-30 03:57:40Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-ezpycrypto
8version             0.1.1
9revision            1
10categories-append   security
11platforms           darwin
12supported_archs     noarch
13license             GPL
14maintainers         nomaintainer
15
16description         high-level encryption python module building upon py-crypto
17long_description    ezPyCrypto is a high-level encryption library for \
18                    Python that makes your job of securing data easy and \
19                    effortless. As a reaction to some other crypto \
20                    libraries, which can be painfully complex to \
21                    understand and use, ezPyCrypto has been designed from \
22                    the ground up for absolute ease of use, without \
23                    compromising security.
24homepage            http://freenet.mcnabhosting.com/python/ezPyCrypto/
25
26master_sites        ${homepage}
27distname            ezPyCrypto-${version}
28checksums           md5 6e30f9e6a16aca849431568e1a5b0ee1
29
30python.versions     27
31
32if {${name} ne ${subport}} {
33    depends_lib-append  port:py${python.version}-crypto
34
35    test.run        yes
36    test.cmd        ${python.bin}
37    test.env        PYTHONPATH=${worksrcpath}/build/lib
38    test.target     example?.py
39
40    post-destroot   {
41        xinstall -m 644 -W ${worksrcpath} CHANGELOG INSTALL README \
42            ${destroot}${prefix}/share/doc/${subport}
43        xinstall -m 644 {*}[glob ${worksrcpath}/example\[1-8\].py] \
44            ${destroot}${prefix}/share/doc/${subport}/examples
45    }
46}
Note: See TracBrowser for help on using the repository browser.