pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-termcolor



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr 25 14:02:40 UTC 2023

Modified Files:
        pkgsrc/devel/py-termcolor: Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-termcolor/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-termcolor/PLIST \
    pkgsrc/devel/py-termcolor/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-termcolor/Makefile
diff -u pkgsrc/devel/py-termcolor/Makefile:1.5 pkgsrc/devel/py-termcolor/Makefile:1.6
--- pkgsrc/devel/py-termcolor/Makefile:1.5      Sun Jan  9 11:58:14 2022
+++ pkgsrc/devel/py-termcolor/Makefile  Tue Apr 25 14:02:40 2023
@@ -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/t
 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"

Index: pkgsrc/devel/py-termcolor/PLIST
diff -u pkgsrc/devel/py-termcolor/PLIST:1.3 pkgsrc/devel/py-termcolor/PLIST:1.4
--- pkgsrc/devel/py-termcolor/PLIST:1.3 Sat Jan 22 15:23:32 2022
+++ pkgsrc/devel/py-termcolor/PLIST     Tue Apr 25 14:02:40 2023
@@ -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
Index: pkgsrc/devel/py-termcolor/distinfo
diff -u pkgsrc/devel/py-termcolor/distinfo:1.3 pkgsrc/devel/py-termcolor/distinfo:1.4
--- pkgsrc/devel/py-termcolor/distinfo:1.3      Tue Oct 26 10:19:07 2021
+++ pkgsrc/devel/py-termcolor/distinfo  Tue Apr 25 14:02:40 2023
@@ -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



Home | Main Index | Thread Index | Old Index