Accepting request 780065 from devel:languages:python

- go back to 0.8.9, cliff (which is the only user) is not compatible
  with >= 0.9.0 atm
- Same commit like december, november and october last year.

OBS-URL: https://build.opensuse.org/request/show/780065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cmd2?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2020-03-01 20:26:02 +00:00 committed by Git OBS Bridge
commit 8ac6074506
4 changed files with 13 additions and 7 deletions

3
cmd2-0.8.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:145cb677ebd0e3cae546ab81c30f6c25e0b08ba0f1071df854d53707ea792633
size 112543

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Feb 27 13:47:06 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- go back to 0.8.9, cliff (which is the only user) is not compatible
with >= 0.9.0 atm
- Same commit like december, november and october last year.
-------------------------------------------------------------------
Fri Jan 3 11:34:58 CET 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-cmd2
Version: 0.9.22
Version: 0.8.9
Release: 0
Summary: Extra features for standard library's cmd module
License: MIT
@ -47,7 +47,7 @@ BuildRequires: %{python_module colorama >= 0.3.7}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pyperclip >= 1.6}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest4}
BuildRequires: %{python_module wcwidth >= 0.1.7}
# Required by tests.
BuildRequires: vim
@ -79,8 +79,6 @@ Drop-in replacement adds several features for command-prompt tools:
%prep
%setup -q -n cmd2-%{version}
# Fix non-executable-script
sed -i -e '/^#!\//, 1d' cmd2/cmd2.py
# Fix spurious-executable-perm
chmod a-x README.md
@ -92,6 +90,7 @@ chmod a-x README.md
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
rm -v tests/test_transcript.py tests/test_parsing.py tests/test_cmd2.py
%pytest
%files %{python_files}