From owner-dev-commits-ports-main@freebsd.org Sun Jul 25 16:17:17 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 35BD265C030; Sun, 25 Jul 2021 16:17:17 +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 4GXp9S2q6kz3FSF; Sun, 25 Jul 2021 16:17:15 +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 CF6E0267F5; Sun, 25 Jul 2021 16:17:15 +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 16PGHFva081646; Sun, 25 Jul 2021 16:17:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16PGHFxx081645; Sun, 25 Jul 2021 16:17:15 GMT (envelope-from git) Date: Sun, 25 Jul 2021 16:17:15 GMT Message-Id: <202107251617.16PGHFxx081645@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: d94bd64c4fdd - main - textproc/py-colorclass: unbreak with python310 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d94bd64c4fdd2ef7bbcb8f4909fdf1cec579e3f2 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2021 16:17:17 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=d94bd64c4fdd2ef7bbcb8f4909fdf1cec579e3f2 commit d94bd64c4fdd2ef7bbcb8f4909fdf1cec579e3f2 Author: Jan Beich AuthorDate: 2021-07-25 14:35:28 +0000 Commit: Jan Beich CommitDate: 2021-07-25 16:17:04 +0000 textproc/py-colorclass: unbreak with python310 >>> import colorclass Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.10/site-packages/colorclass/__init__.py", line 11, in from colorclass.codes import list_tags # noqa File "/usr/local/lib/python3.10/site-packages/colorclass/codes.py", line 4, in from collections import Mapping ImportError: cannot import name 'Mapping' from 'collections' (/usr/local/lib/python3.10/collections/__init__.py) --- textproc/py-colorclass/Makefile | 4 ++++ textproc/py-colorclass/distinfo | 2 ++ 2 files changed, 6 insertions(+) diff --git a/textproc/py-colorclass/Makefile b/textproc/py-colorclass/Makefile index 9309e1ff23e9..0bc34415b756 100644 --- a/textproc/py-colorclass/Makefile +++ b/textproc/py-colorclass/Makefile @@ -1,9 +1,13 @@ PORTNAME= colorclass PORTVERSION= 2.2.0 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PATCH_SITES= https://github.com/Robpol86/${PORTNAME}/commit/ +PATCHFILES+= f8bbe9fdcff1.patch:-p1 # https://github.com/Robpol86/colorclass/pull/27 + MAINTAINER= jbeich@FreeBSD.org COMMENT= Colorful worry-free console applications diff --git a/textproc/py-colorclass/distinfo b/textproc/py-colorclass/distinfo index a23b0df29b67..135b36409783 100644 --- a/textproc/py-colorclass/distinfo +++ b/textproc/py-colorclass/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1477478547 SHA256 (colorclass-2.2.0.tar.gz) = b05c2a348dfc1aff2d502527d78a5b7b7e2f85da94a96c5081210d8e9ee8e18b SIZE (colorclass-2.2.0.tar.gz) = 17037 +SHA256 (f8bbe9fdcff1.patch) = a88c098b2ae446049dab34b459efe07d13ebd15890ab76414df4d5a63730b870 +SIZE (f8bbe9fdcff1.patch) = 1141