Date: Sun, 25 Jul 2021 16:17:15 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d94bd64c4fdd - main - textproc/py-colorclass: unbreak with python310 Message-ID: <202107251617.16PGHFxx081645@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=d94bd64c4fdd2ef7bbcb8f4909fdf1cec579e3f2 commit d94bd64c4fdd2ef7bbcb8f4909fdf1cec579e3f2 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-07-25 14:35:28 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-07-25 16:17:04 +0000 textproc/py-colorclass: unbreak with python310 >>> import colorclass Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.10/site-packages/colorclass/__init__.py", line 11, in <module> from colorclass.codes import list_tags # noqa File "/usr/local/lib/python3.10/site-packages/colorclass/codes.py", line 4, in <module> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107251617.16PGHFxx081645>