commit 7c123e749377ed76581125532b0761bac3acaaa4
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Mon Sep 19 18:21:00 2022 +0200

    rel 9; rename __unicode__ methods to __str__

 python-pyxmpp2.spec | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/python-pyxmpp2.spec b/python-pyxmpp2.spec
index f67437b..6fd2b0e 100644
--- a/python-pyxmpp2.spec
+++ b/python-pyxmpp2.spec
@@ -10,7 +10,7 @@
 Summary:       XMPP implementation for Python
 Name:          python-%{pypi_name}
 Version:       2.0.1
-Release:       8
+Release:       9
 License:       LGPL v2.1+
 Group:         Libraries/Python
 #Source0:      
https://github.com/Jajcus/pyxmpp2/releases/download/2.0.1/pyxmpp2-2.0.1.tar.gz
@@ -83,6 +83,12 @@ cp -a orgsrc python2-src
 %if %{with python3}
 cp -a orgsrc python3-src
 2to3-%{py3_ver} -w --no-diffs python3-src
+sed -i -e 's#def __unicode__(#def __str__(#g' \
+    python3-src/pyxmpp2/*.py \
+    python3-src/auxtools/make_conformance_table.py \
+    python3-src/pyxmpp2/ext/vcard.py \
+    python3-src/pyxmpp2/test/resolver.py \
+    python3-src/pyxmpp2/mainloop/interfaces.py
 %endif
 
 %build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyxmpp2.git/commitdiff/7c123e749377ed76581125532b0761bac3acaaa4

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to