git: 2b7854a57ef5 - main - devel/py-colorama: Update to 0.4.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Jul 2022 21:20:35 UTC
The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=2b7854a57ef58baab808c26f76b3894c0da50915 commit 2b7854a57ef58baab808c26f76b3894c0da50915 Author: Guangyuan Yang <ygy@FreeBSD.org> AuthorDate: 2022-07-09 21:20:27 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2022-07-09 21:20:27 +0000 devel/py-colorama: Update to 0.4.5 Changelog: https://github.com/tartley/colorama/blob/master/CHANGELOG.rst --- devel/py-colorama/Makefile | 6 +++--- devel/py-colorama/distinfo | 6 +++--- devel/py-colorama/files/patch-setup.py | 26 -------------------------- 3 files changed, 6 insertions(+), 32 deletions(-) diff --git a/devel/py-colorama/Makefile b/devel/py-colorama/Makefile index 58dcb11d3707..d8aff6a2fd29 100644 --- a/devel/py-colorama/Makefile +++ b/devel/py-colorama/Makefile @@ -1,7 +1,7 @@ # Created by: Alexey V. Degtyarev <alexey@renatasystems.org> PORTNAME= colorama -PORTVERSION= 0.4.4 +PORTVERSION= 0.4.5 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,8 +12,8 @@ COMMENT= Cross-platform API to print colored terminal text from Python applicati LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt -USES= python:3.6+ -USE_PYTHON= distutils autoplist +USES= python:3.7+ +USE_PYTHON= autoplist distutils NO_ARCH= yes diff --git a/devel/py-colorama/distinfo b/devel/py-colorama/distinfo index 73cfe9a3745f..67a1b2616d95 100644 --- a/devel/py-colorama/distinfo +++ b/devel/py-colorama/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1605702758 -SHA256 (colorama-0.4.4.tar.gz) = 5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b -SIZE (colorama-0.4.4.tar.gz) = 27813 +TIMESTAMP = 1657341034 +SHA256 (colorama-0.4.5.tar.gz) = e6c6b4334fc50988a639d9b98aa429a0b57da6e17b9a44f0451f930b6967b7a4 +SIZE (colorama-0.4.5.tar.gz) = 27469 diff --git a/devel/py-colorama/files/patch-setup.py b/devel/py-colorama/files/patch-setup.py deleted file mode 100644 index fdc9e02d0db4..000000000000 --- a/devel/py-colorama/files/patch-setup.py +++ /dev/null @@ -1,26 +0,0 @@ -Default to UTF-8 encoding to fix build with Python 3.6 - -Obtained from: https://github.com/tartley/colorama/pull/294/files - ---- setup.py.orig 2020-10-12 21:22:32 UTC -+++ setup.py -@@ -3,6 +3,7 @@ - - from __future__ import with_statement - -+from io import open - import os - import re - try: -@@ -14,8 +15,9 @@ except ImportError: - NAME = 'colorama' - - --def read_file(path): -- with open(os.path.join(os.path.dirname(__file__), path)) as fp: -+def read_file(path, encoding='utf8'): -+ with open(os.path.join(os.path.dirname(__file__), path), -+ encoding=encoding) as fp: - return fp.read() - - def _get_version_match(content):