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

Last change on this file was 141313, checked in by stromnov@…, 22 months ago

py-crypto: add py35 subport

  • 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 141313 2015-10-15 22:25:19Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-crypto
8version             2.6.1
9revision            1
10categories-append   security
11platforms           darwin freebsd
12license             public-domain PSF
13maintainers         nomaintainer
14
15description         Collection of cryptographic algorithms and protocols
16long_description    Collection of cryptographic algorithms and protocols, \
17                    implemented for use from python. Among are MD2, MD4, \
18                    RIPEMD, AES, ARC2, Blowfish, CAST, DES, Triple-DES, \
19                    IDEA, RC5, ARC4, simple XOR, RSA, DSA, ElGamal, qNEW.
20homepage            http://www.dlitz.net/software/pycrypto/
21
22master_sites        http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
23distname            pycrypto-${version}
24checksums           rmd160  ac0db079e5e4be9daf739e094c10e96291dbc009 \
25                    sha256  f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c
26
27python.versions     27 34 35
28
29if {${name} ne ${subport}} {
30    depends_lib-append  port:gmp
31
32    post-destroot {
33        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
34        xinstall -m 644 -W ${worksrcpath} \
35                ACKS ChangeLog COPYRIGHT README TODO \
36                ${destroot}${prefix}/share/doc/${subport}
37    }
38
39    test.run            yes
40    test.target         test
41
42    livecheck.type      none
43} else {
44    livecheck.type      regex
45    livecheck.url       ${homepage}
46    livecheck.regex     pycrypto-(\[0-9\.\]+).tar.gz
47}
Note: See TracBrowser for help on using the repository browser.