[71288] trunk/dports/news/hellanzb

raimue at macports.org raimue at macports.org
Tue Sep 7 14:49:21 PDT 2010


Revision: 71288
          http://trac.macports.org/changeset/71288
Author:   raimue at macports.org
Date:     2010-09-07 14:49:19 -0700 (Tue, 07 Sep 2010)
Log Message:
-----------
news/hellanzb:
Make hellanzb work with current py26-twisted, closes #25807
(overriding maintainer, port is broken)

Modified Paths:
--------------
    trunk/dports/news/hellanzb/Portfile

Added Paths:
-----------
    trunk/dports/news/hellanzb/files/patch-hellanzb_for_twisted-10.0.0.diff

Modified: trunk/dports/news/hellanzb/Portfile
===================================================================
--- trunk/dports/news/hellanzb/Portfile	2010-09-07 21:00:35 UTC (rev 71287)
+++ trunk/dports/news/hellanzb/Portfile	2010-09-07 21:49:19 UTC (rev 71288)
@@ -6,7 +6,7 @@
 
 name             hellanzb
 version          0.13
-revision        1
+revision         2
 categories       news python
 maintainers      groovie.org:pjenvey
 description      Nzb downloader and post processor
@@ -30,7 +30,8 @@
                  port:py26-twisted \
                  port:py26-openssl
 
-patchfiles       patch-hellanzb.py.diff
+patchfiles       patch-hellanzb.py.diff \
+                 patch-hellanzb_for_twisted-10.0.0.diff
 
 variant no_ssl description {Disable ssl support} {
     depends_run-delete  port:py26-openssl

Added: trunk/dports/news/hellanzb/files/patch-hellanzb_for_twisted-10.0.0.diff
===================================================================
--- trunk/dports/news/hellanzb/files/patch-hellanzb_for_twisted-10.0.0.diff	                        (rev 0)
+++ trunk/dports/news/hellanzb/files/patch-hellanzb_for_twisted-10.0.0.diff	2010-09-07 21:49:19 UTC (rev 71288)
@@ -0,0 +1,36 @@
+diff -urpN hellanzb-0.13.orig/Hellanzb/HellaReactor.py hellanzb-0.13/Hellanzb/HellaReactor.py
+--- Hellanzb/HellaReactor.py	2010-09-07 12:26:00.000000000 -0700
++++ Hellanzb/HellaReactor.py	2010-09-07 12:27:48.000000000 -0700
+@@ -9,7 +9,7 @@ reactor system so it can catch signals, 
+ import Hellanzb, sys, time
+ 
+ import twisted.copyright
+-if twisted.copyright.version >= '2.0.0':
++if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0':
+     from twisted.internet.selectreactor import SelectReactor
+     from twisted.internet.selectreactor import _NO_FILENO
+     from twisted.internet.selectreactor import _NO_FILEDESC
+diff -urpN hellanzb-0.13.orig/Hellanzb/HellaXMLRPC/HtPasswdAuth.py hellanzb-0.13/Hellanzb/HellaXMLRPC/HtPasswdAuth.py
+--- Hellanzb/HellaXMLRPC/HtPasswdAuth.py	2010-09-07 12:26:00.000000000 -0700
++++ Hellanzb/HellaXMLRPC/HtPasswdAuth.py	2010-09-07 12:27:33.000000000 -0700
+@@ -13,7 +13,7 @@ from twisted.web import static
+ from twisted.web.resource import Resource
+ 
+ import twisted.copyright
+-if twisted.copyright.version >= '2.0.0':
++if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0':
+     from twisted.web import http
+ else:
+     from twisted.protocols import http
+diff -urpN hellanzb-0.13.orig/Hellanzb/HellaXMLRPC/xmlrpc.py hellanzb-0.13/Hellanzb/HellaXMLRPC/xmlrpc.py
+--- Hellanzb/HellaXMLRPC/xmlrpc.py	2010-09-07 12:26:00.000000000 -0700
++++ Hellanzb/HellaXMLRPC/xmlrpc.py	2010-09-07 12:27:11.000000000 -0700
+@@ -31,7 +31,7 @@ from twisted.internet import defer, prot
+ from twisted.python import log, reflect
+ 
+ import twisted.copyright
+-if twisted.copyright.version >= '2.0.0':
++if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= '10.0.0':
+     from twisted.web import http
+ else:
+     from twisted.protocols import http
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100907/0a78e6f6/attachment.html>


More information about the macports-changes mailing list