pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/py-xmpppy
Module Name: pkgsrc
Committed By: gdt
Date: Sun Feb 8 00:13:38 UTC 2026
Modified Files:
pkgsrc/chat/py-xmpppy: Makefile distinfo
pkgsrc/chat/py-xmpppy/patches: patch-xmpp_transports.py
Log Message:
chat/py-xmpppy: Update to 0.7.3
Packaging changes:
- Give up on python 2.7; pkgsrc by default excludes that so it's
been disabled. It might work, but there is no reason to think the
number of people that care is non-zero, so I'm not going to
maintain it working with 27.
- Add TEST_DEPENDS, which lets make test get further.
2026-02-08 0.7.3
================
- Fixed ``wait`` and ``route`` parameters for Bosh transport. Thanks, @soul4code.
- Fixed ``receive`` when message is empty. Thanks, @soul4code.
- Fixed memory leak by removing stanza once callback called.
Thanks, @CyrilPeponnet.
- Made example programs work on Python 3.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/chat/py-xmpppy/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/chat/py-xmpppy/distinfo
cvs rdiff -u -r1.6 -r1.7 \
pkgsrc/chat/py-xmpppy/patches/patch-xmpp_transports.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/chat/py-xmpppy/Makefile
diff -u pkgsrc/chat/py-xmpppy/Makefile:1.36 pkgsrc/chat/py-xmpppy/Makefile:1.37
--- pkgsrc/chat/py-xmpppy/Makefile:1.36 Wed Aug 13 05:59:09 2025
+++ pkgsrc/chat/py-xmpppy/Makefile Sun Feb 8 00:13:38 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2025/08/13 05:59:09 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2026/02/08 00:13:38 gdt Exp $
-DISTNAME= xmpppy-0.7.2
+DISTNAME= xmpppy-0.7.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= chat python
MASTER_SITES= ${MASTER_SITE_GITHUB:=xmpppy/}
@@ -26,12 +26,9 @@ INSTALLATION_DIRS+= ${DOCDIR} ${EXDIR}
# Upstream says install_requires, but it is used at runtime.
DEPENDS+= ${PYPKGPREFIX}-six>=1.15.0:../../lang/py-six
-
-.if ${PYTHON_VERSION} == 207
-DEPENDS+= ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns1
-.else
DEPENDS+= ${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns
-.endif
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
post-install:
${INSTALL_SCRIPT_DIR} ${DESTDIR}${EXDIR}
Index: pkgsrc/chat/py-xmpppy/distinfo
diff -u pkgsrc/chat/py-xmpppy/distinfo:1.13 pkgsrc/chat/py-xmpppy/distinfo:1.14
--- pkgsrc/chat/py-xmpppy/distinfo:1.13 Sun Aug 10 14:36:24 2025
+++ pkgsrc/chat/py-xmpppy/distinfo Sun Feb 8 00:13:38 2026
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.13 2025/08/10 14:36:24 gdt Exp $
+$NetBSD: distinfo,v 1.14 2026/02/08 00:13:38 gdt Exp $
-BLAKE2s (xmpppy-0.7.2.tar.gz) = c67d9a8d5941a3792eaa2fffe9a80c1cf753a91791d9752b8ca430a0f8eb394a
-SHA512 (xmpppy-0.7.2.tar.gz) = e49b4b2ab4803791d93d0b37446e00c908562af578217b17e1d97a7b9003d7ce98a06b39ed02119bf8bae4b3ad8d8f824e87717287816541625b58f31d10e65e
-Size (xmpppy-0.7.2.tar.gz) = 192093 bytes
+BLAKE2s (xmpppy-0.7.3.tar.gz) = 4442da500d6a31f26140c40ecd3752f86176950208bb796e7489bf4fb696b33d
+SHA512 (xmpppy-0.7.3.tar.gz) = 09041b693c4578667deba2c2320c903bbf42bfcf98169709573c1a8031879addfb35fb70c9946cf9539401779e1ec50003899fae7aa9070b20620ced47823f22
+Size (xmpppy-0.7.3.tar.gz) = 195736 bytes
SHA1 (patch-xmpp_debug.py) = a410b7abd534f37bba583ca9f15bf05252bc55a0
-SHA1 (patch-xmpp_transports.py) = 8ae6ccbebf7a3aadda7070e4dc762840e236cf0d
+SHA1 (patch-xmpp_transports.py) = a85ab6b0d62b80ee94ea186c1fd7761a730ebf07
Index: pkgsrc/chat/py-xmpppy/patches/patch-xmpp_transports.py
diff -u pkgsrc/chat/py-xmpppy/patches/patch-xmpp_transports.py:1.6 pkgsrc/chat/py-xmpppy/patches/patch-xmpp_transports.py:1.7
--- pkgsrc/chat/py-xmpppy/patches/patch-xmpp_transports.py:1.6 Sun Aug 10 14:36:24 2025
+++ pkgsrc/chat/py-xmpppy/patches/patch-xmpp_transports.py Sun Feb 8 00:13:38 2026
@@ -1,16 +1,16 @@
-$NetBSD: patch-xmpp_transports.py,v 1.6 2025/08/10 14:36:24 gdt Exp $
+$NetBSD: patch-xmpp_transports.py,v 1.7 2026/02/08 00:13:38 gdt Exp $
Upstream disables validating certificates. In 2025, this is a bug.
Record how to address the bug, and why that fails.
https://github.com/xmpppy/xmpppy/issues/71
---- xmpp/transports.py.orig 2025-08-09 12:24:46.000000000 +0000
+--- xmpp/transports.py.orig 2026-02-07 23:48:17.000000000 +0000
+++ xmpp/transports.py
-@@ -385,6 +385,11 @@ class TLS(PlugIn):
- """ Here we should switch pending_data to hint mode."""
- tcpsock=self._owner.Connection
- context=ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
+@@ -389,6 +389,11 @@ class TLS(PlugIn):
+ else:
+ protocol = ssl.PROTOCOL_TLS
+ context=ssl.SSLContext(protocol)
+ #pkgsrc:
+ # - Choose defaults for 2025.
+ # - https://github.com/xmpppy/xmpppy/issues/71
Home |
Main Index |
Thread Index |
Old Index