Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2022 13:50:00 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4e3b12e13dab - main - devel/py-hash_ring: Fix build with setuptools 58.0.0+
Message-ID:  <202203251350.22PDo0W5028782@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4e3b12e13dab6a8e45fe69d8e1e196fe026c113b

commit 4e3b12e13dab6a8e45fe69d8e1e196fe026c113b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:32:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:38:09 +0000

    devel/py-hash_ring: Fix build with setuptools 58.0.0+
    
    With hat:       python
---
 devel/py-hash_ring/files/patch-2to3 | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/devel/py-hash_ring/files/patch-2to3 b/devel/py-hash_ring/files/patch-2to3
new file mode 100644
index 000000000000..22bf1a6b274d
--- /dev/null
+++ b/devel/py-hash_ring/files/patch-2to3
@@ -0,0 +1,12 @@
+--- hash_ring/__init__.py.orig	2012-12-15 01:14:49 UTC
++++ hash_ring/__init__.py
+@@ -1,6 +1,6 @@
+-from hash_ring import HashRing
++from .hash_ring import HashRing
+ 
+ try:
+-    from memcache_ring import MemcacheRing
+-except ImportError, e:
++    from .memcache_ring import MemcacheRing
++except ImportError as e:
+     pass



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203251350.22PDo0W5028782>