1 | # $Id: Portfile,v 1.9 2003/03/03 06:18:09 mij Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name twisted |
---|
5 | version 1.0.5 |
---|
6 | revision 0 |
---|
7 | categories devel net python |
---|
8 | maintainers jpm@opendarwin.org |
---|
9 | description Event-based Python framework for internet apps |
---|
10 | long_description \ |
---|
11 | Twisted is an event-based framework for internet applications. It \ |
---|
12 | includes a web server, a telnet server, a chat server, a news \ |
---|
13 | server, a generic client and server for remote object access, and \ |
---|
14 | APIs for creating new protocols and services. Twisted supports \ |
---|
15 | integration of the Tk, GTK+, Qt or wxPython event loop with its main \ |
---|
16 | event loop. The Win32 event loop is also supported, as is basic \ |
---|
17 | support for running servers on top of Jython. Twisted works with \ |
---|
18 | Python 2.1 and Python 2.2. Twisted even supports the CVS versions of \ |
---|
19 | Python, so it is ready for Python 2.3. |
---|
20 | homepage http://twistedmatrix.com/ |
---|
21 | platforms darwin |
---|
22 | master_sites http://twisted.sourceforge.net/ |
---|
23 | checksums md5 6ef95286fd3f6d3e241552d7a7c0f64b |
---|
24 | distname Twisted-${version} |
---|
25 | worksrcdir Twisted-${version} |
---|
26 | depends_build bin:python:python |
---|
27 | configure {} |
---|
28 | build {} |
---|
29 | build.cmd python setup.py install --prefix=${destroot}${prefix} |
---|
30 | install.destroot {} |
---|
31 | post-install { |
---|
32 | # remind user to define/add installed path to python path |
---|
33 | ui_msg "\nbe sure the install path is included in your python path:" |
---|
34 | ui_msg "setenv PYTHONPATH \$PYTHONPATH:${prefix}/lib/python2.2/site-packages\n" |
---|
35 | } |
---|