freebsd-ports/news/hellanzb/files/patch-Hellanzb-HellaXMLRPC_xmlrpc.py
Ruslan Makhmatkhanov 0b26b4abe2 - fix runtime with decent Twisted [1]
- install license via license framework, not manually
- use USE_TWISTED_RUN instead of direct depends
- strict python version (will not work with 3.x)

PR:		163975 [1]
Submitted by:	W.Scholten <w-info at xs4all dot nl>
Approved by:    maintainer (timeout; 2 weeks)
2012-01-23 03:51:28 +00:00

11 lines
440 B
Python

--- Hellanzb/HellaXMLRPC/xmlrpc.py.orig 2007-03-27 08:20:43.000000000 +0400
+++ Hellanzb/HellaXMLRPC/xmlrpc.py 2012-01-21 20:31:29.000000000 +0400
@@ -31,7 +31,7 @@
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