# -*- 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 python25 1.0 name py25-twisted version 10.1.0 categories python devel net license MIT platforms darwin maintainers 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/[join [lrange [split ${version} .] 0 1] .] distname Twisted-${version} use_bzip2 yes checksums md5 04cca97506e830074cffc1965297da3f \ sha1 ad5a6d60c0d0316bd1b95566fd3ddb598ddd52e6 \ rmd160 a344f9c4de66fdea1c1ef13194f4d4ce9b778139 depends_lib-append port:py25-zopeinterface post-destroot { foreach f [glob -directory ${destroot}${prefix}/bin *] { move $f ${destroot}${prefix}/bin/[file tail $f]2.5 } # update the plugin cache system "PYTHONPATH=${destroot}${python.pkgd} ${prefix}/bin/python2.5 ${portpath}/${filesdir}/getPlugins.py" } livecheck.type regex livecheck.url http://twistedmatrix.com/trac/wiki/Downloads livecheck.regex "The current release is Twisted (\\d+(?:\\.\\d+)*)"