Up to [cvs.NetBSD.org] / pkgsrc / comms / py-colorama
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs.
py-colorama: fix MASTER_SITES
py-colorama: not for Python 2 any longer
py-colorama: switch to MASTER_SITE_WHEEL for Python 2.7
py-colorama: add missing tool dependency on py-hatchling
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
py-colorama: updated to 0.4.5 0.4.5 * Catch a racy ValueError that could occur on exit. * Create README-hacking.md, for Colorama contributors. * Tweak some README unicode characters that don't render correctly on PyPI. * Fix some tests that were failing on some operating systems. * Add support for Python 3.9. * Add support for PyPy3. * Add support for pickling with the ``dill`` module.
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
(comms/py-colorama) PKGREVISION++, other than py36 need re-pkg
py-colorama: updated to 0.4.4 0.4.4 Re-org of README, to put the most insteresting parts near the top. Added Linux makefile targets and Windows powershell scripts to automate bootstrapping a development environment, and automate the process of testing wheels before they are uploaded to PyPI. Use stdlib unittest.mock where available Travis CI now also builds on arm64 Demo06 demonstrates existing cursor positioning feature Fix OSC regex & handling to prevent hang or crash Document enterprise support by Tidelift
py-colorama: updated to 0.4.3 0.4.3: tweak Makefile build/upload instructions. Fix README's link to enterprise docs
py-colorama: updated to 0.4.1 0.4.1 * Fix issue 196: prevent exponential number of calls when calling 'init' multiple times.
py-colorama: updated to 0.4.0 0.4.0: Fix2: reset LIGHT_EX colors with RESET_ALL. Fix: ignore invalid "erase" ANSI codes. Fix stream wrapping under PyCharm. Added contextlib magic methods to ansitowin32.StreamWrapper. Fix: don't cache stdio handles, since they might be closed/changed by fd redirection. This fixes an issue with pytest. Drop support for EOL Python 2.5, 2.6, 3.1, 3.2 and 3.3, and add 3.6.
0.3.9 * Revert fix for issue 103 which causes problems for dependent applications 0.3.8 * Fix issue 121: "invalid escape sequence" deprecation fixes on Python 3.6+ * Fix issue 110: fix "set console title" when working with unicode strings * Fix issue 103: enable color when using "input" function on Python 3.5+ * Fix issue 95: enable color when stderr is a tty but stdout is not
Updated py-colorama to 0.3.7. 0.3.7 * Fix issue #84: check if stream has 'closed' attribute before testing it * Fix issue #74: objects might become None at exit 0.3.6 * Fix issue #81: fix ValueError when a closed stream was used 0.3.5 * Bumping version to re-upload a wheel distribution 0.3.4 * Fix issue #47 and #80 - stream redirection now strips ANSI codes on Linux * Fix issue #53 - strip readline markers * Fix issue #32 - assign orig_stdout and orig_stderr when initialising * Fix issue #57 - Fore.RESET did not reset style of LIGHT_EX colors. Fixed by Andy Neff * Fix issue #51 - add context manager syntax. Thanks to Matt Olsen. * Fix issue #48 - colorama didn't work on Windows when environment variable 'TERM' was set. * Fix issue #54 - fix pylint errors in client code. * Changes to readme and other improvements by Marc Abramowitz and Zearin 0.3.3 * Fix Google Code issue #13 - support changing the console title with OSC escape sequence * Fix Google Code issue #16 - Add support for Windows xterm emulators * Fix Google Code issue #30 - implement \033[nK (clear line) * Fix Google Code issue #49 - no need to adjust for scroll when new position is already relative (CSI n A\B\C\D) * Fix Google Code issue #55 - erase_data fails on Python 3.x * Fix Google Code issue #46 - win32.COORD definition missing * Implement \033[0J and \033[1J (clear screen options) * Fix default ANSI parameters * Fix position after \033[2J (clear screen) * Add command shortcuts: colorama.Cursor, colorama.ansi.set_title, colorama.ansi.clear_line, colorama.ansi.clear_screen * Fix issue #22 - Importing fails for python3 on Windows * Thanks to John Szakmeister for adding support for light colors * Thanks to Charles Merriam for adding documentation to demos
Switch to MASTER_SITES_PYPI.
Import py27-colorama-0.3.2 as comms/py-colorama. 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.