svn commit: r482259 - in head/devel/py-oslo.messaging: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Oct 16 20:05:53 UTC 2018
Author: sunpoet
Date: Tue Oct 16 20:05:52 2018
New Revision: 482259
URL: https://svnweb.freebsd.org/changeset/ports/482259
Log:
Fix RabbitMQ connections with Python 3.x
- Bump PORTREVISION for package change
PR: 232246
Submitted by: Kai <freebsd_ports at k-worx.org>
Added:
head/devel/py-oslo.messaging/files/
head/devel/py-oslo.messaging/files/patch-oslo_messaging-_drivers-impl_rabbit.py (contents, props changed)
Modified:
head/devel/py-oslo.messaging/Makefile
Modified: head/devel/py-oslo.messaging/Makefile
==============================================================================
--- head/devel/py-oslo.messaging/Makefile Tue Oct 16 20:05:43 2018 (r482258)
+++ head/devel/py-oslo.messaging/Makefile Tue Oct 16 20:05:52 2018 (r482259)
@@ -3,6 +3,7 @@
PORTNAME= oslo.messaging
PORTVERSION= 6.0.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Added: head/devel/py-oslo.messaging/files/patch-oslo_messaging-_drivers-impl_rabbit.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-oslo.messaging/files/patch-oslo_messaging-_drivers-impl_rabbit.py Tue Oct 16 20:05:52 2018 (r482259)
@@ -0,0 +1,13 @@
+--- oslo_messaging/_drivers/impl_rabbit.py.orig 2018-03-27 18:46:38 UTC
++++ oslo_messaging/_drivers/impl_rabbit.py
+@@ -919,8 +919,8 @@ class Connection(object):
+ % (self.connection_id, str(e)))
+ else:
+ sock.settimeout(timeout)
+- # TCP_USER_TIMEOUT is not defined on Windows and Mac OS X
+- if sys.platform != 'win32' and sys.platform != 'darwin':
++ # TCP_USER_TIMEOUT is not defined on FreeBSD, Windows and Mac OS X
++ if sys.platform[0:7] != 'freebsd' and sys.platform != 'win32' and sys.platform != 'darwin':
+ try:
+ timeout = timeout * 1000 if timeout is not None else 0
+ # NOTE(gdavoian): only integers and strings are allowed
More information about the svn-ports-all
mailing list