14
0
forked from pool/python-cmd2

- Update to 0.9.11:

* too many changes to enumerate, see CHANGELOG.md
- Really run tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=43
This commit is contained in:
Tomáš Chvátal
2019-03-14 15:01:58 +00:00
committed by Git OBS Bridge
parent f8072ff6c1
commit 7d593a5635
4 changed files with 18 additions and 12 deletions

View File

@@ -19,17 +19,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-cmd2
Version: 0.9.10
Version: 0.9.11
Release: 0
Summary: Extra features for standard library's cmd module
License: MIT
Group: Development/Languages/Python
Url: https://github.com/python-cmd2/cmd2
URL: https://github.com/python-cmd2/cmd2
Source: https://files.pythonhosted.org/packages/source/c/cmd2/cmd2-%{version}.tar.gz
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-attrs
Requires: python-colorama
Requires: python-pyperclip >= 1.5.27
Requires: python-wcwidth
BuildArch: noarch
# SECTION Test requirements
BuildRequires: %{python_module attrs}
BuildRequires: %{python_module colorama}
@@ -43,12 +48,6 @@ BuildRequires: %{python_module contextlib2}
BuildRequires: %{python_module typing}
%endif
# /SECTION
Requires: python-attrs
Requires: python-colorama
Requires: python-pyperclip >= 1.5.27
Requires: python-wcwidth
BuildArch: noarch
%python_subpackages
%description
@@ -85,7 +84,7 @@ chmod a-x README.md
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pytest
%files %{python_files}
%license LICENSE