1 | # $Id: Portfile 44419 2008-12-28 09:31:44Z akitada@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python25 1.0 |
---|
5 | |
---|
6 | name py25-twisted |
---|
7 | version 8.2.0 |
---|
8 | categories python devel net |
---|
9 | maintainers stechert akitada openmaintainer |
---|
10 | description An event-based Python framework for internet applications |
---|
11 | long_description Twisted is an event-driven networking framework \ |
---|
12 | written in Python. Twisted supports TCP, UDP, SSL/TLS, \ |
---|
13 | multicast, Unix sockets, a large number of protocols \ |
---|
14 | (including HTTP, NNTP, SSH, IRC, FTP, and others), and \ |
---|
15 | much more. |
---|
16 | |
---|
17 | homepage http://www.twistedmatrix.com/ |
---|
18 | master_sites http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/ |
---|
19 | distname Twisted-${version} |
---|
20 | use_bzip2 yes |
---|
21 | checksums md5 c85f151999df3ecf04c49a781b4438d2 |
---|
22 | depends_lib-append port:py25-zopeinterface |
---|
23 | |
---|
24 | build {} |
---|
25 | |
---|
26 | post-destroot { |
---|
27 | foreach f [glob -directory ${destroot}/${prefix}/bin *] { |
---|
28 | move $f ${destroot}${prefix}/bin/[file tail $f]2.5 |
---|
29 | } |
---|
30 | } |
---|
31 | |
---|
32 | destroot.env "PYTHONPATH=\$PYTHONPATH:${destroot}${python.pkgd}" |
---|
33 | |
---|