Skip to content

Commit

Permalink
py-termcolor: update to 2.3.0.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
wiz committed Apr 25, 2023
1 parent 5b781de commit 1f2e181
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 17 deletions.
12 changes: 8 additions & 4 deletions 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/}
Expand All @@ -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"
24 changes: 15 additions & 9 deletions 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
8 changes: 4 additions & 4 deletions 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

0 comments on commit 1f2e181

Please sign in to comment.