From 1f2e1816575739e8d9f374bc463cbd1e74fa5802 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 25 Apr 2023 14:02:40 +0000 Subject: [PATCH] py-termcolor: update to 2.3.0. Release 2.3.0 Added Add no_color and force_color parameters to override env vars (#38) @hugovk Add support for Python 3.12 (#37) @hugovk Changed Publish to PyPI with a Trusted Publisher (#45) @hugovk Release 2.2.0 Added Add light shades, dark grey and black (#32) @hugovk Release 2.1.1 Fixed Add __main__ to re-enable demo via python -m termcolor (#27) @hugovk Release 2.1.0 Added Support FORCE_COLOR and detect tty (#25) @hugovk Deprecated Deprecate __ALL__, use __all__ instead (#23) @hugovk Release 2.0.1 Fixed Update source URL (#21) @felixonmars Release 2.0.0 Added Add support for Python 3.11 and PyPy (#9) @hugovk Add support for Python 3.10 (#5) @hugovk Support NO_COLOR (#7) @hugovk Add type annotations to the project and run mypy on CI (#11) @jdufresne Add tests (#1) @hugovk Changed Refer to GitHub Releases for release notes for 2.0.0+ (#20) @hugovk Autodeploy to TestPyPI and to PyPI for GH releases (#19) @hugovk Migrate from setuptools + setuptools_scm to hatchling + hatch-vcs (#17) @hugovk Replace deprecated license_file with license_files in setup.cfg (#14) @jdufresne Use declarative metadata in setup.cfg (#10) @hugovk Replace 3.9-dev with 3.9 in CI to use Python 3.9 final (#3) @CozyDoomer Removed Drop support for EOL Python <= 3.6 (#9) @hugovk Remove hardcoded VERSION constant (#18) @hugovk Fixed Fix docstring for colored function (#15) @tmetzl Fix typo: ANSII -> ANSI (#8) @hugovk --- devel/py-termcolor/Makefile | 12 ++++++++---- devel/py-termcolor/PLIST | 24 +++++++++++++++--------- devel/py-termcolor/distinfo | 8 ++++---- 3 files changed, 27 insertions(+), 17 deletions(-) diff --git a/devel/py-termcolor/Makefile b/devel/py-termcolor/Makefile index ca13db7dc836..ad2e45c5bade 100644 --- a/devel/py-termcolor/Makefile +++ b/devel/py-termcolor/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2022/01/09 11:58:14 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2023/04/25 14:02:40 wiz Exp $ -DISTNAME= termcolor-1.1.0 -PKGREVISION= 1 +DISTNAME= termcolor-2.3.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=t/termcolor/} @@ -11,11 +10,16 @@ HOMEPAGE= https://pypi.python.org/pypi/termcolor COMMENT= ANSI color output for terminals LICENSE= mit +TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling +TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs + +PYTHON_VERSIONS_INCOMPATIBLE= 27 + USE_LANGUAGES= # none # No tests provided do-test: ${NADA} -.include "../../lang/python/egg.mk" +.include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/py-termcolor/PLIST b/devel/py-termcolor/PLIST index be0c42cfd124..c067dc081521 100644 --- a/devel/py-termcolor/PLIST +++ b/devel/py-termcolor/PLIST @@ -1,9 +1,15 @@ -@comment $NetBSD: PLIST,v 1.3 2022/01/22 15:23:32 wiz Exp $ -${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR} -${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO -${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt -${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt -${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/top_level.txt -${PYSITELIB}/termcolor.py -${PYSITELIB}/termcolor.pyc -${PYSITELIB}/termcolor.pyo +@comment $NetBSD: PLIST,v 1.4 2023/04/25 14:02:40 wiz Exp $ +${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER +${PYSITELIB}/${WHEEL_INFODIR}/METADATA +${PYSITELIB}/${WHEEL_INFODIR}/RECORD +${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED +${PYSITELIB}/${WHEEL_INFODIR}/WHEEL +${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json +${PYSITELIB}/${WHEEL_INFODIR}/licenses/COPYING.txt +${PYSITELIB}/termcolor/__init__.py +${PYSITELIB}/termcolor/__init__.pyc +${PYSITELIB}/termcolor/__main__.py +${PYSITELIB}/termcolor/__main__.pyc +${PYSITELIB}/termcolor/py.typed +${PYSITELIB}/termcolor/termcolor.py +${PYSITELIB}/termcolor/termcolor.pyc diff --git a/devel/py-termcolor/distinfo b/devel/py-termcolor/distinfo index 4f53c4e68467..0c78efa070f7 100644 --- a/devel/py-termcolor/distinfo +++ b/devel/py-termcolor/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.3 2021/10/26 10:19:07 nia Exp $ +$NetBSD: distinfo,v 1.4 2023/04/25 14:02:40 wiz Exp $ -BLAKE2s (termcolor-1.1.0.tar.gz) = 6400a3262b12f026778c416230c1f44ed822749d829eff9b1b71eb8588131c2e -SHA512 (termcolor-1.1.0.tar.gz) = 4bd06bf4405a9ef6c005cd4d159ef602f7fc7fccb3e57586da1187c402f4d0b9051ef930cae423065c51ff4be8a22ceae556a61a6b3c8c519d623c066c340b53 -Size (termcolor-1.1.0.tar.gz) = 3912 bytes +BLAKE2s (termcolor-2.3.0.tar.gz) = 4e42f9e0932b6f3f1342d403f4efab33e52314c44bcf14623b2b7234bf6688ad +SHA512 (termcolor-2.3.0.tar.gz) = 0ccfd9320235215b85ddbf099399aaa325dd7176be7a39225377a81c372f9733105dcfe4a9e577cdca451be1f9b5538a071fc511bccd226fe0c4cbecb536bbf3 +Size (termcolor-2.3.0.tar.gz) = 12163 bytes