- Update to 0.9.20:
- the list of changes is too long, complete changelog is in CHANGELOG.md included in this package. - Package is python3-only now. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=62
This commit is contained in:
parent
b091360f50
commit
9c13c82210
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:145cb677ebd0e3cae546ab81c30f6c25e0b08ba0f1071df854d53707ea792633
|
|
||||||
size 112543
|
|
3
cmd2-0.9.20.tar.gz
Normal file
3
cmd2-0.9.20.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1ba349af127f9052363972adcbcfb921f9ca5e90f2bcbfba11b117500f11a845
|
||||||
|
size 560696
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 14 15:18:49 CET 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.9.20:
|
||||||
|
- the list of changes is too long, complete changelog is in
|
||||||
|
CHANGELOG.md included in this package.
|
||||||
|
- Package is python3-only now.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 23 07:35:49 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
Wed Oct 23 07:35:49 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-cmd2
|
# spec file for package python-cmd2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LLC.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,20 +17,23 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-cmd2
|
Name: python-cmd2
|
||||||
# Do not update beyond what is supported by cliff!
|
# Do not update beyond what is supported by cliff!
|
||||||
Version: 0.8.9
|
Version: 0.9.20
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Extra features for standard library's cmd module
|
Summary: Extra features for standard library's cmd module
|
||||||
License: MIT
|
License: MIT
|
||||||
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
|
Source: https://files.pythonhosted.org/packages/source/c/cmd2/cmd2-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pytest-xdist}
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wcwidth}
|
BuildRequires: %{python_module wcwidth}
|
||||||
BuildRequires: python-enum34
|
BuildRequires: python-enum34
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python-subprocess32
|
BuildRequires: python-subprocess32
|
||||||
|
BuildRequires: python3
|
||||||
Requires: python-pyparsing >= 2.0.1
|
Requires: python-pyparsing >= 2.0.1
|
||||||
Requires: python-pyperclip
|
Requires: python-pyperclip
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
@ -79,6 +82,9 @@ Drop-in replacement adds several features for command-prompt tools:
|
|||||||
# Fix spurious-executable-perm
|
# Fix spurious-executable-perm
|
||||||
chmod a-x README.md
|
chmod a-x README.md
|
||||||
|
|
||||||
|
# Remove spurious shebang
|
||||||
|
sed -i -e '/^#!\/usr\/bin\/env python/d' cmd2/cmd2.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user