From nobody Fri Mar 25 13:50:01 2022 X-Original-To: dev-commits-ports-all@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 9CD3A1A33BAF; Fri, 25 Mar 2022 13:50:04 +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 4KQ3PR6w1jz3Qrg; Fri, 25 Mar 2022 13:50:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648216204; 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=PrEYh/ThQyvQ6li/gbkw9fjLLN5hDZjvOJR2vpweRfs=; b=HDgGGx3rZLl/FbfpQr8hSeJkFjRzwuo3rX3gNJybI05hJQaxILCAIUSoSW2MWjdDSA9kAv VrWBbWRRjI4aWHdsS6DXT/p7wyFLN+ytyzdilvibePIEgoBCuisOwjFd9DFv7mwNm6Gwzl /9OcVrlfuqdN5LyPpoOmC9R1YE0hCQvuT6UdMmCAkKq9HFEdDZ5QMZKJTOLeF1xnBl60a+ PJ+8/tb+96flmbrRHGYcwTUsmV9vKcl6XNl9lxvbBD22xMKhO9ch8VpS/ak5VaU3PtEJNh s2xnlLuqfp1MW2LyUDuDeimE+O3p5F/6Ciy8+XJyGpJVtyYL42tbumaPemNP5w== 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 D6DF75541; Fri, 25 Mar 2022 13:50:01 +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 22PDo1Vd029838; Fri, 25 Mar 2022 13:50:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22PDo1Iu029835; Fri, 25 Mar 2022 13:50:01 GMT (envelope-from git) Date: Fri, 25 Mar 2022 13:50:01 GMT Message-Id: <202203251350.22PDo1Iu029835@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: f9075b3add64 - main - devel/py-minimongo: Fix build with setuptools 58.0.0+ List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: f9075b3add647537253615b29829113761d00278 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648216204; 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=PrEYh/ThQyvQ6li/gbkw9fjLLN5hDZjvOJR2vpweRfs=; b=fbO49V12/8Dvy3vRp/Y37PZEirYzjwkzoiFGCsPVITcHAQNZOKaFV7AwlYwniGDrs4a+RL OWztyboi9jKaqlfB027yetV/Rp8s/E9ZaE3mm4B+aKKhUT00NavOLr8bzFPn5KElVAmrRH TiwsuDx49xI91cjZo83VfW8d2E2JBP4pFz5YsyAmeNCZilCMZwIyuRjJ3M+FFbBL5i6XhT 3/644aNLgGGhUR48br8NVHEjF09sLAgLqx5FygesGj6BNF3ReP/uvbZzjHxNRa5Q2qAqU7 4/XhtpKe5r2rCsoc7gQp55rY7ILzmoxWD/krGAsPnXw9+pKHb6omlHbzWwC74w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648216204; a=rsa-sha256; cv=none; b=tyw1TuLM8jnNSiEnwUnZIi47vabRM0Jp60RLb6LOa1y1Lz+fp02OyjfN8GvPWilljoz8f/ SDR9bkLqV9oFejeAaFFJPBKF/ZhbTj+TgA84A3dbYI/wykzl0wuQxVsChiXBp33lovoAXq Q/8YVBhR9UtdfHaQORM5ndrLCUNk5ZeCHlpfppvc/ias1MS0cZ29VP4GVcXCzGEXrxdK79 Y5guFecqwIFb7ID5oeF8md3n6Zj2CTBsWtplbW0ocpz7ZunIlTsbmEkrRyPOqcN/9VRjaL Cx4cZ0Gm8bn1tYZ6yahwS3fXxcbBcqm1FXIlIZXd2/yS2xSVBlkIhP26DWCUGQ== 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=f9075b3add647537253615b29829113761d00278 commit f9075b3add647537253615b29829113761d00278 Author: Po-Chuan Hsieh AuthorDate: 2022-03-25 13:32:17 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-03-25 13:38:09 +0000 devel/py-minimongo: Fix build with setuptools 58.0.0+ With hat: python --- devel/py-minimongo/files/patch-2to3 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/devel/py-minimongo/files/patch-2to3 b/devel/py-minimongo/files/patch-2to3 new file mode 100644 index 000000000000..c1d52c0b4e32 --- /dev/null +++ b/devel/py-minimongo/files/patch-2to3 @@ -0,0 +1,29 @@ +--- minimongo/config.py.orig 2011-04-13 04:54:06 UTC ++++ minimongo/config.py +@@ -31,7 +31,7 @@ def _resolve_name(name, package, level): + if not hasattr(package, 'rindex'): + raise ValueError("'package' not set to a string") + dot = len(package) +- for x in xrange(level, 1, -1): ++ for x in range(level, 1, -1): + try: + dot = package.rindex('.', 0, dot) + except ValueError: +@@ -66,7 +66,7 @@ if __name__ != '__main__': + + try: + settings_modules.append(os.environ['MINIMONGO_SETTINGS_MODULE']) +- except KeyError, e: ++ except KeyError as e: + pass + + # Here are the other 2 places that we try to import configs from: +@@ -81,7 +81,7 @@ if __name__ != '__main__': + # Once we get a successfull config module import, we break out + # of the loop above. + break +- except ImportError, exc: ++ except ImportError as exc: + # Error importing this modlue, so we continue + pass +