[68703] trunk/dports/python/py26-pyxmpp
ram at macports.org
ram at macports.org
Fri Jun 11 07:28:08 PDT 2010
Revision: 68703
http://trac.macports.org/changeset/68703
Author: ram at macports.org
Date: 2010-06-11 07:28:04 -0700 (Fri, 11 Jun 2010)
Log Message:
-----------
python/py26-pyxmpp: apply upstream role attribute fix (698)
Modified Paths:
--------------
trunk/dports/python/py26-pyxmpp/Portfile
Added Paths:
-----------
trunk/dports/python/py26-pyxmpp/files/
trunk/dports/python/py26-pyxmpp/files/patch-fix_muc_admin_iq.diff
Modified: trunk/dports/python/py26-pyxmpp/Portfile
===================================================================
--- trunk/dports/python/py26-pyxmpp/Portfile 2010-06-11 14:26:47 UTC (rev 68702)
+++ trunk/dports/python/py26-pyxmpp/Portfile 2010-06-11 14:28:04 UTC (rev 68703)
@@ -5,6 +5,7 @@
name py26-pyxmpp
version 1.0.1
+revision 1
epoch 1
categories-append crypto devel
maintainers ram openmaintainer
@@ -29,6 +30,8 @@
port:py26-dnspython \
port:py26-m2crypto
+patchfiles patch-fix_muc_admin_iq.diff
+
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex {pyxmpp-(\d+(?:\.\d+)*).tar.gz}
Added: trunk/dports/python/py26-pyxmpp/files/patch-fix_muc_admin_iq.diff
===================================================================
--- trunk/dports/python/py26-pyxmpp/files/patch-fix_muc_admin_iq.diff (rev 0)
+++ trunk/dports/python/py26-pyxmpp/files/patch-fix_muc_admin_iq.diff 2010-06-11 14:28:04 UTC (rev 68703)
@@ -0,0 +1,12 @@
+--- pyxmpp/jabber/muccore.py 2006-08-26 22:10:05.000000000 +0200
++++ pyxmpp/jabber/muccore.py 2010-06-11 12:02:07.000000000 +0200
+@@ -404,7 +404,8 @@
+ if self.reason:
+ n.newTextChild(None,"reason",to_utf8(self.reason))
+ n.setProp("affiliation",to_utf8(self.affiliation))
+- n.setProp("role",to_utf8(self.role))
++ if self.role:
++ n.setProp("role",to_utf8(self.role))
+ if self.jid:
+ n.setProp("jid",to_utf8(self.jid.as_unicode()))
+ if self.nick:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100611/59553c59/attachment.html>
More information about the macports-changes
mailing list