15
0
forked from pool/python-cliff

- update to version 3.9.0

- Add Python3 xena unit tests
  - Replace getargspec with getfullargspec
  - Handle SIGPIPE exit gracefully
  - setup.cfg: Replace dashes with underscores
  - Update unit test to satisfy python3.10+
  - Add conflict_handler parameter as attribut in Command class
  - Use py3 as the default runtime for tox
  - Colourise and automatically page help output

OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-cliff?expand=0&rev=20
This commit is contained in:
2021-10-26 22:13:53 +00:00
committed by Git OBS Bridge
parent 037912c89c
commit 5915a4b7dc
5 changed files with 23 additions and 14 deletions

View File

@@ -17,16 +17,17 @@
Name: python-cliff
Version: 3.7.0
Version: 3.9.0
Release: 0
Summary: Command Line Interface Formulation Framework
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/cliff
Source0: https://files.pythonhosted.org/packages/source/c/cliff/cliff-3.7.0.tar.gz
Source0: https://files.pythonhosted.org/packages/source/c/cliff/cliff-3.9.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-PrettyTable
BuildRequires: python3-PyYAML
BuildRequires: python3-autopage
BuildRequires: python3-cmd2
BuildRequires: python3-docutils
BuildRequires: python3-fixtures
@@ -37,12 +38,6 @@ BuildRequires: python3-python-subunit
BuildRequires: python3-stevedore
BuildRequires: python3-testscenarios
BuildRequires: python3-testtools
Requires: python3-PrettyTable
Requires: python3-PyYAML
Requires: python3-cmd2
Requires: python3-pyparsing
Requires: python3-six
Requires: python3-stevedore
BuildArch: noarch
%description
@@ -54,6 +49,7 @@ other extensions.
Summary: Command Line Interface Formulation Framework
Requires: python3-PrettyTable
Requires: python3-PyYAML
Requires: python3-autopage
Requires: python3-cmd2
Requires: python3-pyparsing
Requires: python3-six
@@ -80,12 +76,12 @@ other extensions.
This package contains documentation files for %{name}.
%prep
%autosetup -p1 -n cliff-3.7.0
%autosetup -p1 -n cliff-3.9.0
%py_req_cleanup
%build
%py3_build
PBR_VERSION=3.7.0 PYTHONPATH=. %sphinx_build -b html doc/source doc/build/html
PBR_VERSION=3.9.0 PYTHONPATH=. %sphinx_build -b html doc/source doc/build/html
rm -rf doc/build/html/.{doctrees,buildinfo}
%install