Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name py-crypto
version 2.0.1
categories python security
platforms darwin freebsd
maintainers nomaintainer@macports.org
description collection of cryptographic algorithms and protocols for python
long_description collection of cryptographic algorithms and protocols, \
implemented for use from python. Among are MD2, MD4, \
RIPEMD, AES, ARC2, Blowfish, CAST, DES, Triple-DES, \
IDEA, RC5, ARC4, simple XOR, RSA, DSA, ElGamal, qNEW.

homepage http://www.amk.ca/python/code/crypto.html
master_sites http://www.amk.ca/files/python/crypto/
distname pycrypto-${version}
checksums md5 4d5674f3898a573691ffb335e8d749cd

test.run yes
test.cmd ${python.bin} test.py
test.target

post-destroot {
xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog LICENSE README TODO \
${destroot}${prefix}/share/doc/${name}
}