Accepting request 685423 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/685423 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cmd2?expand=0&rev=23
This commit is contained in:
commit
8a3b1678e6
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:00d68374abe02363a417160e5836022be5c8f8bdac1da5dd101fadb6f8e96619
|
||||
size 508776
|
3
cmd2-0.9.11.tar.gz
Normal file
3
cmd2-0.9.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:34a335b05f149d1b23e5657d597e7121b74ddf2e07d1c58f39855ade0e2a5242
|
||||
size 504912
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 15 10:31:09 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Add vim to depends as it is used in tests as an editor
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 19:04:12 UTC 2019 - Matěj Cepl <mcepl@suse.com>
|
||||
|
||||
- Add vim to BR
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 14:59:18 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.9.11:
|
||||
* too many changes to enumerate, see CHANGELOG.md
|
||||
- Really run tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 28 11:43:56 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
|
@ -19,17 +19,23 @@
|
||||
%{?!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
|
||||
BuildRequires: vim
|
||||
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}
|
||||
@ -38,17 +44,13 @@ BuildRequires: %{python_module pyperclip >= 1.5.27}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module wcwidth}
|
||||
# Required by tests.
|
||||
BuildRequires: vim
|
||||
%if 0%{?sle_version} < 150000 && 0%{?is_opensuse}
|
||||
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 +87,7 @@ chmod a-x README.md
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Loading…
x
Reference in New Issue
Block a user