15
0

Accepting request 682178 from devel:languages:python

- Update to 1.15.0:
  * no upstream changelog
- Make sure tests are run

OBS-URL: https://build.opensuse.org/request/show/682178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-blessed?expand=0&rev=4
This commit is contained in:
2019-03-22 14:00:47 +00:00
committed by Git OBS Bridge
4 changed files with 19 additions and 19 deletions

View File

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

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

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 6 13:51:18 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.15.0:
* no upstream changelog
- Make sure tests are run
-------------------------------------------------------------------
Tue Dec 4 12:46:12 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-blessed
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,33 +17,28 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Test requires full terminal
%bcond_with test
Name: python-blessed
Version: 1.14.2
Version: 1.15.0
Release: 0
Summary: Wrapper around terminal styling, screen positioning, and keyboard input
License: MIT
Group: Development/Languages/Python
Url: https://github.com/jquast/blessed
URL: https://github.com/jquast/blessed
Source: https://files.pythonhosted.org/packages/source/b/blessed/blessed-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module curses}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest-cov}
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}
%endif
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
%description
@@ -81,9 +76,10 @@ Blessed **does not** provide...
provides only partial support at this time -- there are plans to merge with
the ansi module in concert with colorama to resolve this.
%prep
%setup -q -n blessed-%{version}
# disable cons25 tests as they fail in OBS
sed -i -e 's:cons25 ::' blessed/tests/accessories.py
%build
%python_build
@@ -92,14 +88,11 @@ Blessed **does not** provide...
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
export LANG=en_US.UTF-8
%python_expand py.test-%{$python_bin_suffix} blessed/tests
%endif
%python_expand py.test-%{$python_bin_suffix} -v blessed/tests
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%license LICENSE
%{python_sitelib}/*