From nobody Fri Mar 25 13:50:00 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9CE751A33BB0; Fri, 25 Mar 2022 13:50:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KQ3PP6pXMz3QrT; Fri, 25 Mar 2022 13:50:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648216202; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kdXo6GZLLfGn8X0JLmOJf5LMgJoOsWAZmEksfSGrMWs=; b=lYP4r+FGC2+pPDaOKTjkXukHiqnB0sTrEK9Gnj/BRLq6niPpCxDvmRF61RTiXlf8F2URPX WzM0Fat0UBSVpJJZPy/rFrEiapM1ttgMxmjbn/cGzoe2Nj075fKRF+kWpWykbQZeA8H9FQ C5CjnN4mZ8kZcTMFlkTh+vr2cy2yWPbHUwnDIfHfmWpkMAHpsOyrZ0si/zhl9b4EpeQabq JbHRUquu4bg1yqE35ky7lJRxLK36e38UuYliVq/mo7WRanNOTuk+0QF+jObd+tuKF38XXZ dwpIVgKVAdGXi9TNuEi+itePOf87yeghEITJvkaqk8cqiQGLP4WINjFRZViE9g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C73D556B3; Fri, 25 Mar 2022 13:50:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22PDo0RZ028797; Fri, 25 Mar 2022 13:50:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22PDo0W5028782; Fri, 25 Mar 2022 13:50:00 GMT (envelope-from git) Date: Fri, 25 Mar 2022 13:50:00 GMT Message-Id: <202203251350.22PDo0W5028782@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 4e3b12e13dab - main - devel/py-hash_ring: Fix build with setuptools 58.0.0+ List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4e3b12e13dab6a8e45fe69d8e1e196fe026c113b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648216202; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kdXo6GZLLfGn8X0JLmOJf5LMgJoOsWAZmEksfSGrMWs=; b=nLV04Q30WOmWUi6lt0fJNsn82FWuEWkhh9aizEXITfVQappaMm6wSTWIpEF9AtlIfE1MaL 2UmkHqOM6+qqQv80+UjNXnaq2XlPmnpCVKjX0PqBw+4DD0l1r0HAxDhUzQTvd9N8XYqpCZ EfNLXFyVX7+A/94WU0GPsw/BbkDyCYhw9DREtmAdlVmZ4yWZ0yDgY604E6BAMmULh82aEs kYBDGAU7X/+c79tZA+VVK2rPAiJ3xUdKDleBz3EIwIJaEFkxYXcQgXCk7KIq2qenv8O5pj BsYDXvRkTS5Nml0mHKgHiqcp0QaiTwiyHt4ZekKEgM7Ve8UZSVNUMR9Se26Hig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648216202; a=rsa-sha256; cv=none; b=G8v7ac84mUR4p1Ly2ZquMEgnYgZ0cf2ywTT9D8jD1wJ0TjooDZj8G7e83YF1DIrnPHcJdG /UANGFQvPRLYrOFSFBc3R45nAnh29mejQaop4t2/KS2fWKuNLmHjno7hIgilqAqiuavKbo L0MG7Pv2JktzfRhBVuEYJdqZttdJBpKQdvcnadkfvzZcEDH6axn7uMh0V/hTldjAgM6Pt3 zroa9qb2ve8Mw/E2UmrWRnHg493jDQlOR7h5y9d1lagUkwapLL6yywc5KRaZ0Jcz1iilU3 qSFkQ/Sao+o9UOgcsZdNqzNiNFFD9xuJeorK2HWHI8wEa3tpAGBCRhErDH/e/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4e3b12e13dab6a8e45fe69d8e1e196fe026c113b commit 4e3b12e13dab6a8e45fe69d8e1e196fe026c113b Author: Po-Chuan Hsieh AuthorDate: 2022-03-25 13:32:16 +0000 Commit: Po-Chuan Hsieh 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