# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 80870 2011-07-19 22:17:54Z jmr@macports.org $

PortSystem 1.0
PortGroup  python27 1.0

name			py27-twisted
version			11.0.0
categories		python devel net
license			MIT
platforms		darwin
maintainers		mcalhoun snc 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/[join [lrange [split ${version} .] 0 1] .]
distname		Twisted-${version}
use_bzip2		yes

checksums           sha1    502368066e5644a64be67a236d39da4bd1d07d43 \
                    rmd160  c8ca4d78cb0055f355eecde38f920baea6da68a7

depends_lib-append  port:py27-zopeinterface

livecheck.type   regex
livecheck.url    http://twistedmatrix.com/trac/wiki/Downloads
livecheck.regex  "The current release is Twisted (\\d+(?:\\.\\d+)*)"
