15
0

Accepting request 766376 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/766376
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-blessed?expand=0&rev=6
This commit is contained in:
2020-01-22 21:46:41 +00:00
committed by Git OBS Bridge
4 changed files with 31 additions and 8 deletions

View File

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

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

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

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
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
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 <toddrme2178@gmail.com>

View File

@@ -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