15
0
forked from pool/python-cliff

Accepting request 774899 from Cloud:OpenStack:Factory

- update to version 2.16.0
  - Dropping the py35 testing
  - add python 3.7 unit test job
  - Remove dead files
  - OpenDev Migration Patch
  - Updates for OpenDev transition
  - Change openstack-dev to openstack-discuss
  - Pin cmd2 back to <0.9 on all versions
  - add argparse conflict handler "ignore"
  - Missing carriage return in some cases, using -f json
  - Add Python 3 Train unit tests

OBS-URL: https://build.opensuse.org/request/show/774899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cliff?expand=0&rev=35
This commit is contained in:
2020-02-18 09:34:42 +00:00
committed by Git OBS Bridge
parent 3e667e7762
commit faf52e7759
5 changed files with 32 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
<services>
<service mode="disabled" name="renderspec">
<param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/cliff/cliff.spec.j2</param>
<param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/cliff/cliff.spec.j2</param>
<param name="output-name">python-cliff.spec</param>
<param name="changelog-email">cloud-devel@suse.de</param>
<param name="changelog-provider">gh,openstack,cliff</param>

View File

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

3
cliff-2.16.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Dec 20 07:49:59 UTC 2019 - cloud-devel@suse.de
- update to version 2.16.0
- Dropping the py35 testing
- add python 3.7 unit test job
- Remove dead files
- OpenDev Migration Patch
- Updates for OpenDev transition
- Change openstack-dev to openstack-discuss
- Pin cmd2 back to <0.9 on all versions
- add argparse conflict handler "ignore"
- Missing carriage return in some cases, using -f json
- Add Python 3 Train unit tests
-------------------------------------------------------------------
Mon Apr 8 13:45:14 UTC 2019 - cloud-devel@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cliff
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,34 +17,37 @@
Name: python-cliff
Version: 2.14.1
Version: 2.16.0
Release: 0
Summary: Command Line Interface Formulation Framework
License: Apache-2.0
Group: Development/Languages/Python
URL: https://launchpad.net/python-cliff
Source0: https://files.pythonhosted.org/packages/source/c/cliff/cliff-2.14.1.tar.gz
Source0: https://files.pythonhosted.org/packages/source/c/cliff/cliff-2.16.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python2-PrettyTable
BuildRequires: python2-PyYAML
BuildRequires: python2-cmd2
BuildRequires: python2-docutils
BuildRequires: python2-mock
BuildRequires: python2-pbr
BuildRequires: python2-python-subunit
BuildRequires: python2-setuptools
BuildRequires: python2-stestr
BuildRequires: python2-stevedore
BuildRequires: python2-testrepository
BuildRequires: python2-testscenarios
BuildRequires: python2-testtools
BuildRequires: python2-unicodecsv
BuildRequires: python3-PrettyTable
BuildRequires: python3-PyYAML
BuildRequires: python3-cmd2
BuildRequires: python3-docutils
BuildRequires: python3-mock
BuildRequires: python3-pbr
BuildRequires: python3-python-subunit
BuildRequires: python3-setuptools
BuildRequires: python3-stestr
BuildRequires: python3-stevedore
BuildRequires: python3-testrepository
BuildRequires: python3-testscenarios
BuildRequires: python3-testtools
Requires: python-PrettyTable
@@ -67,7 +70,8 @@ other extensions.
%package -n python-cliff-doc
Summary: %{summary} - Documentation
Group: Documentation/HTML
BuildRequires: python2-Sphinx
BuildRequires: python3-Sphinx
BuildRequires: python3-openstackdocstheme
Provides: %{python_module cliff-doc = %{version}}
%description -n python-cliff-doc
@@ -78,22 +82,20 @@ other extensions.
This package contains documentation files for %{name}.
%prep
%autosetup -p1 -n cliff-2.14.1
%autosetup -p1 -n cliff-2.16.0
%py_req_cleanup
%build
%python_build
%{__python2} setup.py build_sphinx
PBR_VERSION=2.16.0 PYTHONPATH=. %sphinx_build -b html doc/source doc/build/html
rm -rf doc/build/html/.{doctrees,buildinfo}
%install
%python_install
%check
%{python_expand rm -rf .testrepository
$python setup.py test
}
%python_exec -m stestr.cli run
%files %{python_files}
%license LICENSE