forked from pool/python-blessed
- Update to 1.15.0:
* no upstream changelog - Make sure tests are run OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blessed?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
a88f6dc246
commit
a51f3ceb0b
@@ -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}/*
|
||||
|
||||
Reference in New Issue
Block a user