# -*- 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$ PortSystem 1.0 PortGroup python26 1.0 name py26-twisted version 8.2.0 categories python devel net platforms darwin maintainers mcalhoun 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 \ md5 c85f151999df3ecf04c49a781b4438d2 \ sha1 ef5f475b8f38eafd9b83a325ce131fdf6af05255 \ rmd160 a942e6ee4c54d734111410b615754fbea0c9fb5e depends_lib-append port:py26-zopeinterface post-destroot { set branch 2.6 foreach bin [glob -tails -directory ${destroot}${python.prefix}/bin *] { ln -s ${python.prefix}/bin/${bin} ${destroot}${prefix}/bin/${bin}-${branch} } } livecheck.check regex livecheck.url http://twistedmatrix.com/trac/wiki/Downloads livecheck.regex "The current release is Twisted (\\d+(?:\\.\\d+)*)"