pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/py-colorama py-colorama: updated to 0.4.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/956b15203c83
branches:  trunk
changeset: 387854:956b15203c83
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Nov 09 07:55:44 2022 +0000

description:
py-colorama: updated to 0.4.6

0.4.6 Current release
* https://github.com/tartley/colorama/pull/139 Add alternative to 'init()',
  called 'just_fix_windows_console'. This fixes many longstanding problems
  with 'init', such as working incorrectly on modern Windows terminals, and
  wonkiness when init gets called multiple times. The intention is that it
  just makes all Windows terminals treat ANSI the same way as other terminals
  do. Many thanks the njsmith for fixing our messes.
* https://github.com/tartley/colorama/pull/352 Support Windows 10's ANSI/VT
  console. This didn't exist when Colorama was created, and avoiding us
  causing havok there is long overdue. Thanks to segeviner for the initial
  approach, and to njsmith for getting it merged.
* https://github.com/tartley/colorama/pull/338 Internal overhaul of package
  metadata declaration, which abolishes our use of the now heavily
  discouraged setuptools (and hence setup.py, setup.cfg and MANIFEST.in), in
  favor of hatchling (and hence pyproject.toml), generously contributed by
  ofek (author of hatchling). This includes dropping support Python3.5 and
  3.6, which are EOL, and were already dropped from setuptools, so this
  should not affect our users.
* https://github.com/tartley/colorama/pull/353 Attention to detail award to
  LqdBcnAtWork for a spelling fix in demo06

diffstat:

 comms/py-colorama/DESCR    |  16 +++-------------
 comms/py-colorama/Makefile |   6 +++---
 comms/py-colorama/PLIST    |  33 ++++++++++++++++++++++-----------
 comms/py-colorama/distinfo |   8 ++++----
 4 files changed, 32 insertions(+), 31 deletions(-)

diffs (101 lines):

diff -r aaffaa72bfc3 -r 956b15203c83 comms/py-colorama/DESCR
--- a/comms/py-colorama/DESCR   Wed Nov 09 07:54:20 2022 +0000
+++ b/comms/py-colorama/DESCR   Wed Nov 09 07:55:44 2022 +0000
@@ -1,13 +1,3 @@
-Makes ANSI escape character sequences for producing colored terminal text and
-cursor positioning work under MS Windows.
-
-ANSI escape character sequences have long been used to produce colored terminal
-text and cursor positioning on Unix and Macs. Colorama makes this work on
-Windows, too, by wrapping stdout, stripping ANSI sequences it finds (which
-otherwise show up as gobbledygook in your output), and converting them into the
-appropriate win32 calls to modify the state of the terminal. On other platforms,
-Colorama does nothing.
-
-Colorama also provides some shortcuts to help generate ANSI sequences but works
-fine in conjunction with any other ANSI sequence generation library, such as
-Termcolor.
+Blessed is an easy, practical library for making terminal apps, by providing an
+elegant, well-documented interface to Colors, Keyboard input, and screen
+position and Location capabilities.
diff -r aaffaa72bfc3 -r 956b15203c83 comms/py-colorama/Makefile
--- a/comms/py-colorama/Makefile        Wed Nov 09 07:54:20 2022 +0000
+++ b/comms/py-colorama/Makefile        Wed Nov 09 07:55:44 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2022/08/02 09:48:51 adam Exp $
+# $NetBSD: Makefile,v 1.12 2022/11/09 07:55:44 adam Exp $
 
-DISTNAME=      colorama-0.4.5
+DISTNAME=      colorama-0.4.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    comms python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/colorama/}
@@ -12,5 +12,5 @@
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r aaffaa72bfc3 -r 956b15203c83 comms/py-colorama/PLIST
--- a/comms/py-colorama/PLIST   Wed Nov 09 07:54:20 2022 +0000
+++ b/comms/py-colorama/PLIST   Wed Nov 09 07:55:44 2022 +0000
@@ -1,23 +1,34 @@
-@comment $NetBSD: PLIST,v 1.3 2018/10/26 08:16:00 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.4 2022/11/09 07:55:44 adam 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/LICENSE.txt
 ${PYSITELIB}/colorama/__init__.py
 ${PYSITELIB}/colorama/__init__.pyc
-${PYSITELIB}/colorama/__init__.pyo
 ${PYSITELIB}/colorama/ansi.py
 ${PYSITELIB}/colorama/ansi.pyc
-${PYSITELIB}/colorama/ansi.pyo
 ${PYSITELIB}/colorama/ansitowin32.py
 ${PYSITELIB}/colorama/ansitowin32.pyc
-${PYSITELIB}/colorama/ansitowin32.pyo
 ${PYSITELIB}/colorama/initialise.py
 ${PYSITELIB}/colorama/initialise.pyc
-${PYSITELIB}/colorama/initialise.pyo
+${PYSITELIB}/colorama/tests/__init__.py
+${PYSITELIB}/colorama/tests/__init__.pyc
+${PYSITELIB}/colorama/tests/ansi_test.py
+${PYSITELIB}/colorama/tests/ansi_test.pyc
+${PYSITELIB}/colorama/tests/ansitowin32_test.py
+${PYSITELIB}/colorama/tests/ansitowin32_test.pyc
+${PYSITELIB}/colorama/tests/initialise_test.py
+${PYSITELIB}/colorama/tests/initialise_test.pyc
+${PYSITELIB}/colorama/tests/isatty_test.py
+${PYSITELIB}/colorama/tests/isatty_test.pyc
+${PYSITELIB}/colorama/tests/utils.py
+${PYSITELIB}/colorama/tests/utils.pyc
+${PYSITELIB}/colorama/tests/winterm_test.py
+${PYSITELIB}/colorama/tests/winterm_test.pyc
 ${PYSITELIB}/colorama/win32.py
 ${PYSITELIB}/colorama/win32.pyc
-${PYSITELIB}/colorama/win32.pyo
 ${PYSITELIB}/colorama/winterm.py
 ${PYSITELIB}/colorama/winterm.pyc
-${PYSITELIB}/colorama/winterm.pyo
diff -r aaffaa72bfc3 -r 956b15203c83 comms/py-colorama/distinfo
--- a/comms/py-colorama/distinfo        Wed Nov 09 07:54:20 2022 +0000
+++ b/comms/py-colorama/distinfo        Wed Nov 09 07:55:44 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2022/08/02 09:48:51 adam Exp $
+$NetBSD: distinfo,v 1.14 2022/11/09 07:55:44 adam Exp $
 
-BLAKE2s (colorama-0.4.5.tar.gz) = 73d44bf9169a89a00d5efd772cd83e310a3b4f90d45d61434b4aabf4a76ff5e0
-SHA512 (colorama-0.4.5.tar.gz) = 17b9a727d032bc6647ad0b48df1f33daea68501fb02e9b06a7fa8d22134cb15a805bdd797d068a9d2de24e011edac7e083ff79f4390a62130ca038043919ee39
-Size (colorama-0.4.5.tar.gz) = 27469 bytes
+BLAKE2s (colorama-0.4.6.tar.gz) = 1a11cc4f067a1e8ec3e205503d8c35cedad4fbee4be43902d8ca5fd09c8d1c0d
+SHA512 (colorama-0.4.6.tar.gz) = 472f00647dec5955562d8a7f7a9078baefc8a449f8f83331a9e73fb246a4588bb4cf07d8d53fb5e53d411d63c7f362ce5f855511a0cf436684258a72dfb2bec0
+Size (colorama-0.4.6.tar.gz) = 27697 bytes



Home | Main Index | Thread Index | Old Index