From nobody Fri Mar 25 13:50:23 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 725851A3413D; Fri, 25 Mar 2022 13:50:25 +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 4KQ3Pr59M8z3RDg; Fri, 25 Mar 2022 13:50:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648216225; 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=ESX4voWg30V0GEwmtlC4s4AlPKx8gbbfTyzz7GakpLQ=; b=IMckEiJDAyM9K3PKC9C8YMD2B2xgYonC3Z7q8HLLjAv25xr16tbdRjTeLRo0RXaSHi5wtU Yrifr3oK2QpB6k5lEVnJAQvjtMeewlwz9iPmCoRY/CnXC74nDfByhPlRKQ1eIZPfiu/2Rm zgrwMnMv3rsSwTSmL7Jy8/wcOUAUizMhLQb12whPISRM6HTQT9qL7nlI9+xZQnELM6L7uJ lh6d7d1YXqsJlUabQ9P+Y9TUPac2vnoWaNqStQ3nU3HBzd4sL/AIhZ3Bt3uk4I+0Pczph3 lJtZ3a10rvQ7zuQkjsRGzxUDKoZRgkA46AekH7kN9yoHMW6E8fR+NlFA+wHNWw== 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 EFFB058D2; Fri, 25 Mar 2022 13:50:23 +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 22PDoNs0036883; Fri, 25 Mar 2022 13:50:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22PDoNBM036882; Fri, 25 Mar 2022 13:50:23 GMT (envelope-from git) Date: Fri, 25 Mar 2022 13:50:23 GMT Message-Id: <202203251350.22PDoNBM036882@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: 2dab5cd8cbfe - main - devel/py-zope.generations: 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: 2dab5cd8cbfe9d7da51dcef21ac936eacaa22a81 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648216225; 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=ESX4voWg30V0GEwmtlC4s4AlPKx8gbbfTyzz7GakpLQ=; b=qPkT7CkRQnsPmvXb981UWWSaZnYlVUDuBkrZyKFHVP2DiKUNPgd12n8mOgAqnZ6Q27teNn H60jcH/3IS7/xOiWfbkigZ5b1Vn7iQ58s1bkV+fduyRtFrKNJdmNs0ZQmDsYkArrB/2rjr WlIm4NeNQ9H24snOapRYnd5K2VT3REluH3y07cbO2+NQwcXqIKR+CrUeKH8UDRPEVw67rC gUuhIleCd+QNAkw1baAdM//jW4eMhifQeuML/8ITUWSUntj2g7hciEcACUGhyhL54bj6jD Zthwi1fZa1mUDZOjXu6QE1p2/E6xdBvBUroAIoLo+cwekALOKIvrx4CungwW6A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648216225; a=rsa-sha256; cv=none; b=hraoqy3nn47YWqt6iqLdHEct4xCF/NbocmpvcU5B+6X+cXcbtN96FxOZlfLtRcah5Ghnfh m5Gjlt74W1h0RNOhufXnJY1se6CY3tW1LkQsQkQD3D8H7obU5MeuaJ48IPOcrXycMX4SsL nJ+FauORVv/hX29pfD8AjyPG1rIEF9l41COxsYiw6lLeOBNYFaDqGQch997geTdkS4zAT1 w9h0ZWkvCdi9ZVoHwCOuOpi91iMACLZbJzWdD5c6sG5/Sk10PrBuA6+fBs71M9yUh7SXbg 6w6yd/QchPa5/f2BpuvvEn0Vtq6EMYiz0UqEeosxOHB2583fUpN5BoThHPWYpQ== 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=2dab5cd8cbfe9d7da51dcef21ac936eacaa22a81 commit 2dab5cd8cbfe9d7da51dcef21ac936eacaa22a81 Author: Po-Chuan Hsieh AuthorDate: 2022-03-25 13:32:30 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-25 13:38:14 +0000 devel/py-zope.generations: Fix build with setuptools 58.0.0+ With hat: python --- devel/py-zope.generations/files/patch-2to3 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/devel/py-zope.generations/files/patch-2to3 b/devel/py-zope.generations/files/patch-2to3 new file mode 100644 index 000000000000..4c13011a0d1f --- /dev/null +++ b/devel/py-zope.generations/files/patch-2to3 @@ -0,0 +1,22 @@ +--- src/zope/generations/generations.py.orig 2011-12-22 19:48:30 UTC ++++ src/zope/generations/generations.py +@@ -19,8 +19,8 @@ import transaction + import zope.component + import zope.interface + +-from interfaces import GenerationTooHigh, GenerationTooLow, UnableToEvolve +-from interfaces import ISchemaManager, IInstallableSchemaManager ++from .interfaces import GenerationTooHigh, GenerationTooLow, UnableToEvolve ++from .interfaces import ISchemaManager, IInstallableSchemaManager + + + logger = logging.getLogger('zope.generations') +@@ -147,7 +147,7 @@ class SchemaManager(object): + + try: + evolver = __import__(name, {}, {}, ['*']) +- except ImportError, m: ++ except ImportError as m: + if str(m) not in ('No module named %s' % name, + 'No module named install'): + # This was an import error *within* the module, so we re-raise.