From nobody Mon Nov 01 21:29:32 2021 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 76B6818201BF; Mon, 1 Nov 2021 21:29:35 +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 4HjmQ61g7Lz4vR8; Mon, 1 Nov 2021 21:29:32 +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 5D114189DB; Mon, 1 Nov 2021 21:29:32 +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 1A1LTWjS072065; Mon, 1 Nov 2021 21:29:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A1LTWnK072064; Mon, 1 Nov 2021 21:29:32 GMT (envelope-from git) Date: Mon, 1 Nov 2021 21:29:32 GMT Message-Id: <202111012129.1A1LTWnK072064@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: e363da0a843e - main - devel/py-l18n: Fix build with Python 3.10 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: e363da0a843e7ec714aa2b3706411ee0c05af82d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e363da0a843e7ec714aa2b3706411ee0c05af82d commit e363da0a843e7ec714aa2b3706411ee0c05af82d Author: Po-Chuan Hsieh AuthorDate: 2021-11-01 21:18:45 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-11-01 21:28:45 +0000 devel/py-l18n: Fix build with Python 3.10 --- devel/py-l18n/Makefile | 2 +- devel/py-l18n/files/patch-setup.py | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/devel/py-l18n/Makefile b/devel/py-l18n/Makefile index e91905ff8fe3..ac90e6a9913d 100644 --- a/devel/py-l18n/Makefile +++ b/devel/py-l18n/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>=2020.1,1,1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} -USES= python:3.6-3.9 +USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/devel/py-l18n/files/patch-setup.py b/devel/py-l18n/files/patch-setup.py new file mode 100644 index 000000000000..739eb79fa71b --- /dev/null +++ b/devel/py-l18n/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2020-10-31 03:58:31 UTC ++++ setup.py +@@ -69,7 +69,7 @@ class PredistBuild(object): + log.info('translation files built successfully') + + cmd_classes = {} +-for cmd in ('sdist', 'bdist', 'bdist_egg', 'bdist_rpm', 'bdist_wininst'): ++for cmd in ('sdist', 'bdist', 'bdist_egg'): + try: + cmd_module = getattr(__import__('setuptools.command', fromlist=[cmd]), + cmd)