Skip to content

Commit

Permalink
py-colorama: updated to 0.4.6
Browse files Browse the repository at this point in the history
0.4.6 Current release
* tartley/colorama#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.
* tartley/colorama#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.
* tartley/colorama#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.
* tartley/colorama#353 Attention to detail award to
  LqdBcnAtWork for a spelling fix in demo06
  • Loading branch information
adam committed Nov 9, 2022
1 parent 672f697 commit d911a64
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 31 deletions.
16 changes: 3 additions & 13 deletions comms/py-colorama/DESCR
Original file line number Diff line number Diff line change
@@ -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.
6 changes: 3 additions & 3 deletions comms/py-colorama/Makefile
Original file line number Diff line number Diff line change
@@ -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/}
Expand All @@ -12,5 +12,5 @@ LICENSE= modified-bsd

USE_LANGUAGES= # none

.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
33 changes: 22 additions & 11 deletions comms/py-colorama/PLIST
Original file line number Diff line number Diff line change
@@ -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
8 changes: 4 additions & 4 deletions comms/py-colorama/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d911a64

Please sign in to comment.