# $Id: Portfile 80870 2011-07-19 22:17:54Z jmr@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name			py-twisted
version			8.0.1
categories		python devel net
license			MIT
platforms		darwin
maintainers		free.fr:olv.bonnet akitada openmaintainer
description		An event-based Python framework for internet applications
long_description	Twisted is an event-driven networking framework \
				written in Python. Twisted supports TCP, UDP, SSL/TLS, \
				multicast, Unix sockets, a large number of protocols \
				(including HTTP, NNTP, SSH, IRC, FTP, and others), and \
				much more.

homepage		http://www.twistedmatrix.com/
master_sites	http://tmrc.mit.edu/mirror/twisted/Twisted/8.0/
distname		Twisted-${version}
use_bzip2		yes
checksums		md5 1ba5bb530356a867cfee35e65e58a43c \
			sha1 3a9ef797356788b719829f56694f38bd6407d4c9 \
			rmd160 94e1501d134a1193851e7351a7af076161c01e95

depends_lib-append	port:py-zopeinterface

build		{}

post-destroot {
	foreach f [glob -directory ${destroot}${prefix}/bin *] {
		move $f ${destroot}${prefix}/bin/[file tail $f]2.4
	}
}

destroot.env	"PYTHONPATH=\$PYTHONPATH:${destroot}${python.pkgd}"
