diff --git a/blessed-1.15.0.tar.gz b/blessed-1.15.0.tar.gz deleted file mode 100644 index 9f74647..0000000 --- a/blessed-1.15.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:777b0b6b5ce51f3832e498c22bc6a093b6b5f99148c7cbf866d26e2dec51ef21 -size 83832 diff --git a/blessed-1.17.0.tar.gz b/blessed-1.17.0.tar.gz new file mode 100644 index 0000000..5b69be1 --- /dev/null +++ b/blessed-1.17.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38632d60dd384de9e9be0ee5b6e1c6130f96efd0767c6ca530a453da36238c25 +size 99356 diff --git a/python-blessed.changes b/python-blessed.changes index 3512aad..a8c70f6 100644 --- a/python-blessed.changes +++ b/python-blessed.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Jan 22 15:36:56 UTC 2020 - Marketa Calabkova + +- 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 + given direction, such as term.move_right(9). + * 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 + color codes instead. + * more on https://blessed.readthedocs.io/en/latest/history.html + ------------------------------------------------------------------- Thu Sep 5 13:40:10 UTC 2019 - Todd R diff --git a/python-blessed.spec b/python-blessed.spec index f5aaa3c..99470ef 100644 --- a/python-blessed.spec +++ b/python-blessed.spec @@ -1,7 +1,7 @@ # # spec file for package python-blessed # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,10 @@ # +%bcond_without python2 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-blessed -Version: 1.15.0 +Version: 1.17.0 Release: 0 Summary: Wrapper around terminal styling, screen positioning, and keyboard input License: MIT @@ -27,9 +28,9 @@ 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 mock} +BuildRequires: %{python_module pytest < 5} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-xdist} -BuildRequires: %{python_module pytest < 5} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.9.0} BuildRequires: %{python_module wcwidth >= 0.1.4} @@ -39,6 +40,12 @@ Requires: python-curses Requires: python-six >= 1.9.0 Requires: python-wcwidth >= 0.1.4 BuildArch: noarch +%if %{with python2} +BuildRequires: python2-backports.functools_lru_cache +%endif +%ifpython2 +Requires: python-backports.functools_lru_cache +%endif %python_subpackages %description @@ -79,7 +86,7 @@ Blessed **does not** provide... %prep %setup -q -n blessed-%{version} # disable cons25 tests as they fail in OBS -sed -i -e 's:cons25 ::' blessed/tests/accessories.py +sed -i -e 's:cons25 ::' tests/accessories.py %build %python_build @@ -90,7 +97,7 @@ sed -i -e 's:cons25 ::' blessed/tests/accessories.py %check export LANG=en_US.UTF-8 -%python_expand py.test-%{$python_bin_suffix} -v blessed/tests +%pytest tests %files %{python_files} %doc README.rst