From d2bfce9e9bdfff7d17fbacaf4976a40445912f24 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 21 Jun 2011 00:36:00 +0200 Subject: [PATCH] Twisted: update to 11.0.0. --- srcpkgs/Twisted/INSTALL | 5 +++++ srcpkgs/Twisted/REMOVE | 5 +++++ srcpkgs/Twisted/template | 8 +++++--- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/Twisted/INSTALL create mode 100644 srcpkgs/Twisted/REMOVE diff --git a/srcpkgs/Twisted/INSTALL b/srcpkgs/Twisted/INSTALL new file mode 100644 index 00000000000..859b0593ea7 --- /dev/null +++ b/srcpkgs/Twisted/INSTALL @@ -0,0 +1,5 @@ +case ${ACTION} in +post) + python -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 + ;; +esac diff --git a/srcpkgs/Twisted/REMOVE b/srcpkgs/Twisted/REMOVE new file mode 100644 index 00000000000..560ebcf40e8 --- /dev/null +++ b/srcpkgs/Twisted/REMOVE @@ -0,0 +1,5 @@ +case ${ACTION} in +purge) + find /usr/lib/python2.7/site-packages/twisted/plugins -name dropin.cache | xargs -r rm -f + ;; +esac diff --git a/srcpkgs/Twisted/template b/srcpkgs/Twisted/template index 5a4e17be4c2..3f2baca0734 100644 --- a/srcpkgs/Twisted/template +++ b/srcpkgs/Twisted/template @@ -1,11 +1,13 @@ # Template file for 'Twisted' pkgname=Twisted -version=10.2.0 -distfiles="http://tmrc.mit.edu/mirror/twisted/Twisted/${version%.*}/Twisted-${version}.tar.bz2" +version=11.0.0 +distfiles="http://twistedmatrix.com/Releases/Twisted/${version%.*}/Twisted-${version}.tar.bz2" build_style=python-module short_desc="Event-driven networking engine written in Python" maintainer="Juan RP " -checksum=562ed61c18aa72da99c23fb19c2c101d178995eb3a78ab3c09560a613e180c84 +homepage="http://twistedmatrix.com/" +license="MIT" +checksum=dd91254a4c946f51c4248590ca31b496ad3e4fd1b5a9fbc3a82c39a41131a2e2 long_desc=" Twisted is an event-based framework for internet applications which works on Python 2.4 through 2.6. The following are some of the modules included