From nobody Thu Oct 28 12:02:38 2021 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 9A05C181AB97; Thu, 28 Oct 2021 12:02:43 +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 4Hg41r3vdrz4XRx; Thu, 28 Oct 2021 12:02:38 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 6DDB823246; Thu, 28 Oct 2021 12:02:38 +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 19SC2c6D036886; Thu, 28 Oct 2021 12:02:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19SC2cln036885; Thu, 28 Oct 2021 12:02:38 GMT (envelope-from git) Date: Thu, 28 Oct 2021 12:02:38 GMT Message-Id: <202110281202.19SC2cln036885@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 2f218ad4d3d6 - main - devel/py-absl: fix build with python 3.10+ 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: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2f218ad4d3d6be04278777412af0f18a5ad8e17b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=2f218ad4d3d6be04278777412af0f18a5ad8e17b commit 2f218ad4d3d6be04278777412af0f18a5ad8e17b Author: Dmitry Marakasov AuthorDate: 2021-10-28 11:54:17 +0000 Commit: Dmitry Marakasov CommitDate: 2021-10-28 11:54:17 +0000 devel/py-absl: fix build with python 3.10+ Remove useless python version check which breaks on two-digit minor version of python. This check is a no-op on FreeBSD as we don't have python <2.7 or >=3.0 <=3.4 anyway. Approved by: portmgr blanket --- devel/py-absl/files/patch-setup.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/devel/py-absl/files/patch-setup.py b/devel/py-absl/files/patch-setup.py new file mode 100644 index 000000000000..75409fea1b21 --- /dev/null +++ b/devel/py-absl/files/patch-setup.py @@ -0,0 +1,13 @@ +--- setup.py.orig 2019-03-15 00:56:19.000000000 +0300 ++++ setup.py 2021-10-28 14:41:48.002012000 +0300 +@@ -29,10 +29,6 @@ + use_setuptools() + import setuptools + +-py_version = platform.python_version_tuple() +-if py_version < ('2', '7') or py_version[0] == '3' and py_version < ('3', '4'): +- raise RuntimeError('Python version 2.7 or 3.4+ is required.') +- + INSTALL_REQUIRES = [ + 'six', + ]