[49098] trunk/dports/python/py25-twisted
wsiegrist at apple.com
wsiegrist at apple.com
Fri Apr 3 15:54:09 PDT 2009
Revision: 49098
http://trac.macports.org/changeset/49098
Author: wsiegrist at apple.com
Date: 2009-04-03 15:54:08 -0700 (Fri, 03 Apr 2009)
Log Message:
-----------
py25-twisted: version 8.2.0. Added platforms. Generate the plugin cache during post-destroot. Fixes #18660 and #18661
Modified Paths:
--------------
trunk/dports/python/py25-twisted/Portfile
Added Paths:
-----------
trunk/dports/python/py25-twisted/files/
trunk/dports/python/py25-twisted/files/getPlugins.py
Modified: trunk/dports/python/py25-twisted/Portfile
===================================================================
--- trunk/dports/python/py25-twisted/Portfile 2009-04-03 22:53:07 UTC (rev 49097)
+++ trunk/dports/python/py25-twisted/Portfile 2009-04-03 22:54:08 UTC (rev 49098)
@@ -4,9 +4,10 @@
PortGroup python25 1.0
name py25-twisted
-version 8.0.1
+version 8.2.0
categories python devel net
maintainers stechert akitada openmaintainer
+platforms darwin
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, \
@@ -15,22 +16,21 @@
much more.
homepage http://www.twistedmatrix.com/
-master_sites http://tmrc.mit.edu/mirror/twisted/Twisted/8.0/
+master_sites http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/
distname Twisted-${version}
use_bzip2 yes
-checksums md5 1ba5bb530356a867cfee35e65e58a43c \
- sha1 3a9ef797356788b719829f56694f38bd6407d4c9 \
- rmd160 94e1501d134a1193851e7351a7af076161c01e95
+checksums md5 c85f151999df3ecf04c49a781b4438d2 \
+ sha1 ef5f475b8f38eafd9b83a325ce131fdf6af05255 \
+ rmd160 a942e6ee4c54d734111410b615754fbea0c9fb5e
depends_lib-append port:py25-zopeinterface
-build {}
-
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"
}
-destroot.env "PYTHONPATH=\$PYTHONPATH:${destroot}${python.pkgd}"
-
Added: trunk/dports/python/py25-twisted/files/getPlugins.py
===================================================================
--- trunk/dports/python/py25-twisted/files/getPlugins.py (rev 0)
+++ trunk/dports/python/py25-twisted/files/getPlugins.py 2009-04-03 22:54:08 UTC (rev 49098)
@@ -0,0 +1,3 @@
+from twisted.plugin import IPlugin, getPlugins
+list(getPlugins(IPlugin))
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090403/b3036957/attachment.html>
More information about the macports-changes
mailing list