freebsd-ports/news/hellanzb/files/patch-Hellanzb-HellaXMLRPC_HtPasswdAuth.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
454 B
Python

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