From owner-svn-ports-head@freebsd.org Tue Oct 16 20:05:53 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46E0810E069A; Tue, 16 Oct 2018 20:05:53 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E5AE97DE73; Tue, 16 Oct 2018 20:05:52 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E039E2155F; Tue, 16 Oct 2018 20:05:52 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9GK5q6Q011705; Tue, 16 Oct 2018 20:05:52 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9GK5qM9011704; Tue, 16 Oct 2018 20:05:52 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201810162005.w9GK5qM9011704@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 16 Oct 2018 20:05:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482259 - in head/devel/py-oslo.messaging: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel/py-oslo.messaging: . files X-SVN-Commit-Revision: 482259 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2018 20:05:53 -0000 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 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