From 4c462d9139719a0982a494c5d40927dc53b8b4e3 Mon Sep 17 00:00:00 2001 From: wen Date: Thu, 10 Dec 2009 13:04:35 +0000 Subject: - Fix the run error with python-2.6 [1] - Add the missing run dependence PR: ports/141338 [1] Submitted by: kevin [1] --- net-im/py-xmpppy/Makefile | 3 +++ net-im/py-xmpppy/files/patch-xmpp-auth.py | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 net-im/py-xmpppy/files/patch-xmpp-auth.py (limited to 'net-im') diff --git a/net-im/py-xmpppy/Makefile b/net-im/py-xmpppy/Makefile index 816f8ac44245..f3712ad483e2 100644 --- a/net-im/py-xmpppy/Makefile +++ b/net-im/py-xmpppy/Makefile @@ -7,6 +7,7 @@ PORTNAME= xmpppy PORTVERSION= 0.4.1 +PORTREVISION= 1 CATEGORIES= net-im python MASTER_SITES= SF PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,6 +15,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wenheping@gmail.com COMMENT= A Python library that provides easy scripting with Jabber +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.7.1:${PORTSDIR}/dns/py-dnspython + USE_PYTHON= 2.3+ USE_PYDISTUTILS= yes diff --git a/net-im/py-xmpppy/files/patch-xmpp-auth.py b/net-im/py-xmpppy/files/patch-xmpp-auth.py new file mode 100644 index 000000000000..db7c46813ff1 --- /dev/null +++ b/net-im/py-xmpppy/files/patch-xmpp-auth.py @@ -0,0 +1,14 @@ +--- xmpp/auth.py.orig 2009-12-10 20:43:19.000000000 +0800 ++++ xmpp/auth.py 2009-12-10 20:44:17.000000000 +0800 +@@ -21,9 +21,9 @@ + + from protocol import * + from client import PlugIn +-import sha,base64,random,dispatcher,re ++import base64,random,dispatcher,re + +-import md5 ++import hashlib + def HH(some): return md5.new(some).hexdigest() + def H(some): return md5.new(some).digest() + def C(some): return ':'.join(some) -- cgit