1
0

Compare commits

12 Commits

Author SHA256 Message Date
654578df8c Accepting request 1328708 from devel:languages:python
- update to 1.27:
  * fix flit/delete MANIFEST.in for re-release,
- update to 1.26:
  * mypy check no-untyped-call and type-var
  * test length with characters where wcwidth returns -1
  * Add optional testing for Python 3.15
  * ci/docformatter/lint fixes
  * call length() less in wrap()
  * Add break_on_hyphens support (rework of #330)
  * Add Terminal.color_hex('#rgb'), Bugfix get_fgcolor()
  * Add Terminal.scroll_region() context manager
  * Add Terminal.no_line_wrap() context manager
  * Bugfix: Variation Selector-16/ZWJ and starting sequences in
    wrap()
  * New method: Terminal.detect_ambiguous_width() -> [1, 2]

  * move_up(), move_down(), Terminal.move_left(), move_right() which
    are strings that move the cursor one cell in the respective
    direction, are now also callables for moving n cells to the
  * Context Managers, fullscreen(), hidden_cursor(), and keypad()
  * deprecated: superscript, subscript, shadow, and dim are no longer
    “compoundable” with colors. Use Unicode text or 256 or 24-bit

OBS-URL: https://build.opensuse.org/request/show/1328708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-blessed?expand=0&rev=18
2026-01-22 16:59:13 +00:00
ac85def918 - update to 1.27:
* fix flit/delete MANIFEST.in for re-release,
- update to 1.26:
  * mypy check no-untyped-call and type-var
  * test length with characters where wcwidth returns -1
  * Add optional testing for Python 3.15
  * ci/docformatter/lint fixes
  * call length() less in wrap()
  * Add break_on_hyphens support (rework of #330)
  * Add Terminal.color_hex('#rgb'), Bugfix get_fgcolor()
  * Add Terminal.scroll_region() context manager
  * Add Terminal.no_line_wrap() context manager
  * Bugfix: Variation Selector-16/ZWJ and starting sequences in
    wrap()
  * New method: Terminal.detect_ambiguous_width() -> [1, 2]
  * move_up(), move_down(), Terminal.move_left(), move_right() which
    are strings that move the cursor one cell in the respective
    direction, are now also callables for moving n cells to the
  * Context Managers, fullscreen(), hidden_cursor(), and keypad()
  * deprecated: superscript, subscript, shadow, and dim are no longer
    “compoundable” with colors. Use Unicode text or 256 or 24-bit

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blessed?expand=0&rev=37
2026-01-22 14:36:36 +00:00
a99e55427f Accepting request 1320156 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1320156
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-blessed?expand=0&rev=17
2025-11-26 16:18:44 +00:00
9a0bfa21b5 - Update to 1.25
* bugfix: The fix in 1.20 got reverted in release in 1.23 by PR #306,
    this release re-applies the fix, PR #326.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blessed?expand=0&rev=35
2025-11-26 11:09:25 +00:00
9b21c6acef Accepting request 1318442 from devel:languages:python
- Update to 1.24
  * bugfix: :meth:`blessed.Terminal`get_sixel_height_and_width` detection order
    and improve documentation for window resize event handling (#320).
  * bugfix: change default argument ``timeout=None`` to ``timeout=1`` in methods
    requiring automatic response, preventing stalls on "dumb" terminals (#317).
- from version 1.23
  * introduced: Environment values FORCE_COLOR_, CLICOLOR_FORCE_, and NO_COLOR_
    overrides :class:`blessed.Terminal` argument value, ``force_styling`` (#295).
  * improved: performance of :meth:`~Terminal.rgb_downconvert` for 256-color
    terminals, (#298).
  * deprecated: Python 2.7 through 3.6 no longer supported. (#299).
  * improved: keyboard support for modifier keys, (#306).
  * introduced: kitty keyboard protocol support, (#309).
  * introduced: mouse support, Synchronized Output, and support for DEC Private
    Modes, (#310).
  * introduced: methods to determine Sixel, dimensions and color depth (#312).
  * introduced: in-band resize support (DEC Private Mode 2048) (#313).
  * introduced: XTVersion identification: (#314).
  * bugfix: default timeout for get_bgcolor, get_fgcolor (#315).
- Update BuildRequires and Requires from pyproject.toml

OBS-URL: https://build.opensuse.org/request/show/1318442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-blessed?expand=0&rev=16
2025-11-18 14:41:24 +00:00
727f493cb4 curses is still needed
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blessed?expand=0&rev=33
2025-11-18 12:01:56 +00:00
3326caafd5 - Update to 1.24
* bugfix: :meth:`blessed.Terminal`get_sixel_height_and_width` detection order
    and improve documentation for window resize event handling (#320).
  * bugfix: change default argument ``timeout=None`` to ``timeout=1`` in methods
    requiring automatic response, preventing stalls on "dumb" terminals (#317).
- from version 1.23
  * introduced: Environment values FORCE_COLOR_, CLICOLOR_FORCE_, and NO_COLOR_
    overrides :class:`blessed.Terminal` argument value, ``force_styling`` (#295).
  * improved: performance of :meth:`~Terminal.rgb_downconvert` for 256-color
    terminals, (#298).
  * deprecated: Python 2.7 through 3.6 no longer supported. (#299).
  * improved: keyboard support for modifier keys, (#306).
  * introduced: kitty keyboard protocol support, (#309).
  * introduced: mouse support, Synchronized Output, and support for DEC Private
    Modes, (#310).
  * introduced: methods to determine Sixel, dimensions and color depth (#312).
  * introduced: in-band resize support (DEC Private Mode 2048) (#313).
  * introduced: XTVersion identification: (#314).
  * bugfix: default timeout for get_bgcolor, get_fgcolor (#315).
- Update BuildRequires and Requires from pyproject.toml

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blessed?expand=0&rev=32
2025-11-18 07:56:24 +00:00
253ef06862 Accepting request 1313186 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1313186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-blessed?expand=0&rev=15
2025-10-23 14:38:17 +00:00
0faeb14a9c - Update to 1.22.0
* Performance improved in Terminal.Length and Sequence.padd
    by @grayjk and @avylove, (#286), (#287), (#289), and (#291)
  * Fixes for failing tests by @avylove in (#284)
  * Use a separate job to upload coverage for older python versions
    by @avylove in (#288)
  * Use tool "codespell" in tox 'lint' step by @yarikoptic and
    @jquast in (#293)
  * Unpin docformatter by @avylove in (#292)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blessed?expand=0&rev=30
2025-10-23 09:56:36 +00:00
fb85ad89c5 Accepting request 1274900 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1274900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-blessed?expand=0&rev=14
2025-05-06 14:44:04 +00:00
b4387adada - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blessed?expand=0&rev=28
2025-05-06 11:35:31 +00:00
941a3da951 - Update to 1.21.0
* bugfix infinite loop in method Terminal.wrap() when "Wide" characters of
    width 2 (East-Asian or Emoji) are used with a wrap width of 1, and a small
    performance enhancement, #273 and #274 by @grayjk, merged as #275

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blessed?expand=0&rev=27
2025-05-06 11:20:32 +00:00
4 changed files with 92 additions and 16 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2cdd67f8746e048f00df47a2880f4d6acbcdb399031b604e34ba8f71d5787680
size 6655612

3
blessed-1.27.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e3064559388bd532ab6460d9b6c7d6dd699c4e0cf54d28ed6e2cab12feda13bb
size 6761573

View File

@@ -1,3 +1,79 @@
-------------------------------------------------------------------
Thu Jan 22 14:36:18 UTC 2026 - Dirk Müller <dmueller@suse.com>
- update to 1.27:
* fix flit/delete MANIFEST.in for re-release,
- update to 1.26:
* mypy check no-untyped-call and type-var
* test length with characters where wcwidth returns -1
* Add optional testing for Python 3.15
* ci/docformatter/lint fixes
* call length() less in wrap()
* Add break_on_hyphens support (rework of #330)
* Add Terminal.color_hex('#rgb'), Bugfix get_fgcolor()
* Add Terminal.scroll_region() context manager
* Add Terminal.no_line_wrap() context manager
* Bugfix: Variation Selector-16/ZWJ and starting sequences in
wrap()
* New method: Terminal.detect_ambiguous_width() -> [1, 2]
-------------------------------------------------------------------
Wed Nov 26 08:54:06 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.25
* bugfix: The fix in 1.20 got reverted in release in 1.23 by PR #306,
this release re-applies the fix, PR #326.
-------------------------------------------------------------------
Mon Nov 17 15:48:04 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.24
* bugfix: :meth:`blessed.Terminal`get_sixel_height_and_width` detection order
and improve documentation for window resize event handling (#320).
* bugfix: change default argument ``timeout=None`` to ``timeout=1`` in methods
requiring automatic response, preventing stalls on "dumb" terminals (#317).
- from version 1.23
* introduced: Environment values FORCE_COLOR_, CLICOLOR_FORCE_, and NO_COLOR_
overrides :class:`blessed.Terminal` argument value, ``force_styling`` (#295).
* improved: performance of :meth:`~Terminal.rgb_downconvert` for 256-color
terminals, (#298).
* deprecated: Python 2.7 through 3.6 no longer supported. (#299).
* improved: keyboard support for modifier keys, (#306).
* introduced: kitty keyboard protocol support, (#309).
* introduced: mouse support, Synchronized Output, and support for DEC Private
Modes, (#310).
* introduced: methods to determine Sixel, dimensions and color depth (#312).
* introduced: in-band resize support (DEC Private Mode 2048) (#313).
* introduced: XTVersion identification: (#314).
* bugfix: default timeout for get_bgcolor, get_fgcolor (#315).
- Update BuildRequires and Requires from pyproject.toml
-------------------------------------------------------------------
Wed Oct 22 13:11:07 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.22.0
* Performance improved in Terminal.Length and Sequence.padd
by @grayjk and @avylove, (#286), (#287), (#289), and (#291)
* Fixes for failing tests by @avylove in (#284)
* Use a separate job to upload coverage for older python versions
by @avylove in (#288)
* Use tool "codespell" in tox 'lint' step by @yarikoptic and
@jquast in (#293)
* Unpin docformatter by @avylove in (#292)
-------------------------------------------------------------------
Tue May 6 11:33:01 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Tue May 6 10:17:52 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.21.0
* bugfix infinite loop in method Terminal.wrap() when "Wide" characters of
width 2 (East-Asian or Emoji) are used with a wrap width of 1, and a small
performance enhancement, #273 and #274 by @grayjk, merged as #275
-------------------------------------------------------------------
Thu Dec 14 11:10:32 UTC 2023 - pgajdos@suse.com
@@ -81,14 +157,14 @@ Wed Jan 22 15:36:56 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 1.17.0
* 24-bit color support
* move_up(), move_down(), Terminal.move_left(), move_right() which
are strings that move the cursor one cell in the respective
direction, are now also callables for moving n cells to the
* move_up(), move_down(), Terminal.move_left(), move_right() which
are strings that move the cursor one cell in the respective
direction, are now also callables for moving n cells to the
given direction, such as term.move_right(9).
* Context Managers, fullscreen(), hidden_cursor(), and keypad()
* Context Managers, fullscreen(), hidden_cursor(), and keypad()
now flush the stream after writing their sequences.
* deprecated: superscript, subscript, shadow, and dim are no longer
“compoundable” with colors. Use Unicode text or 256 or 24-bit
* deprecated: superscript, subscript, shadow, and dim are no longer
“compoundable” with colors. Use Unicode text or 256 or 24-bit
color codes instead.
* more on https://blessed.readthedocs.io/en/latest/history.html

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-blessed
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,22 +18,22 @@
%{?sle15_python_module_pythons}
Name: python-blessed
Version: 1.20.0
Version: 1.27.0
Release: 0
Summary: Wrapper around terminal styling, screen positioning, and keyboard input
License: MIT
URL: https://github.com/jquast/blessed
Source: https://files.pythonhosted.org/packages/source/b/blessed/blessed-%{version}.tar.gz
BuildRequires: %{python_module curses}
BuildRequires: %{python_module flit-core >= 3.11}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.9.0}
BuildRequires: %{python_module wcwidth >= 0.1.4}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-curses
Requires: python-six >= 1.9.0
Requires: python-wcwidth >= 0.1.4
BuildArch: noarch
%python_subpackages
@@ -81,10 +81,10 @@ sed -i -e 's:cons25 ::' tests/accessories.py
rm tox.ini
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check