From 613dce27b0ec5950434da2c403ecca3e8d31b282ca60a15c72746b263d703362 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 8 Apr 2019 13:55:11 +0000 Subject: [PATCH] osc copypac from project:Cloud:OpenStack:Stein:Staging package:python-os-api-ref revision:2, using keep-link, using expand OBS-URL: https://build.opensuse.org/package/show/Cloud:OpenStack:Factory/python-os-api-ref?expand=0&rev=13 --- _service | 2 +- os-api-ref-1.5.0.tar.gz | 3 -- os-api-ref-1.6.0.tar.gz | 3 ++ python-os-api-ref.changes | 22 +++++++++++++++ python-os-api-ref.spec | 58 +++++++++++++++++++++++---------------- 5 files changed, 60 insertions(+), 28 deletions(-) delete mode 100644 os-api-ref-1.5.0.tar.gz create mode 100644 os-api-ref-1.6.0.tar.gz diff --git a/_service b/_service index e2fe625..b6933e7 100644 --- a/_service +++ b/_service @@ -1,6 +1,6 @@ - https://raw.githubusercontent.com/openstack/rpm-packaging/stable/rocky/openstack/os-api-ref/os-api-ref.spec.j2 + https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/os-api-ref/os-api-ref.spec.j2 python-os-api-ref.spec https://raw.githubusercontent.com/openstack/os-api-ref/master/requirements.txt cloud-devel@suse.de diff --git a/os-api-ref-1.5.0.tar.gz b/os-api-ref-1.5.0.tar.gz deleted file mode 100644 index 484e7ca..0000000 --- a/os-api-ref-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f37ab6cbc9d24421499ec61fe33aa8f79b0d640ce1ef93aaa875394ee300f7c0 -size 89821 diff --git a/os-api-ref-1.6.0.tar.gz b/os-api-ref-1.6.0.tar.gz new file mode 100644 index 0000000..1944219 --- /dev/null +++ b/os-api-ref-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8101b2e3fe4fff65c324f4ea26c2d54a3c740e42636c6cfde3b66b030276cbbe +size 88779 diff --git a/python-os-api-ref.changes b/python-os-api-ref.changes index a37fa94..2b24683 100644 --- a/python-os-api-ref.changes +++ b/python-os-api-ref.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Mon Apr 8 11:40:47 UTC 2019 - cloud-devel@suse.de + +- update to version 1.6.0 + - Change openstack-dev to openstack-discuss + - Fix UnicodeDecodeError + - readthedocs.io support + - Remove name from project stanza + - Use 'sphinx.util.logging' + - Update sphinx extension logging + - Raise warning if top-level value is not a dict + - Fix sphinx-build invocation + - Update the remained discuss email + - Fixing duplicate label issue. + - switch documentation job to new PTI + - General overhaul of testing setup + - tests: Support Sphinx 1.8+ + - Use openstackdocstheme + - Updated from global requirements + - import zuul job settings from project-config + - docs: Remove broken link + ------------------------------------------------------------------- Fri Feb 23 13:17:47 UTC 2018 - tbechtold@suse.com diff --git a/python-os-api-ref.spec b/python-os-api-ref.spec index 519a0fb..cd96458 100644 --- a/python-os-api-ref.spec +++ b/python-os-api-ref.spec @@ -1,7 +1,7 @@ # # spec file for package python-os-api-ref # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,37 +12,47 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%global sname os-api-ref Name: python-os-api-ref -Version: 1.5.0 +Version: 1.6.0 Release: 0 Summary: Sphinx Extensions to support API reference sites in OpenStack License: Apache-2.0 Group: Development/Languages/Python URL: https://launchpad.net/%{sname} -Source0: https://files.pythonhosted.org/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/o/os-api-ref/os-api-ref-1.6.0.tar.gz +# https://review.openstack.org/#/c/630146/ +Patch1: 0001-Fix-microversion-test-handle-different-HTML-renderin.patch BuildRequires: openstack-macros -BuildRequires: python-PyYAML >= 3.12 -BuildRequires: python-Sphinx -BuildRequires: python-beautifulsoup4 -BuildRequires: python-docutils -BuildRequires: python-openstackdocstheme >= 1.18.1 -BuildRequires: python-oslosphinx -BuildRequires: python-pbr >= 2.0.0 -BuildRequires: python-python-subunit -BuildRequires: python-sphinx-testing -BuildRequires: python-testrepository -BuildRequires: python-testtools +BuildRequires: python2-PyYAML >= 3.12 +BuildRequires: python2-Sphinx +BuildRequires: python2-beautifulsoup4 +BuildRequires: python2-openstackdocstheme >= 1.18.1 +BuildRequires: python2-pbr >= 2.0.0 +BuildRequires: python2-python-subunit +BuildRequires: python2-sphinx-testing +BuildRequires: python2-stestr +BuildRequires: python2-testrepository +BuildRequires: python2-testtools +BuildRequires: python3-PyYAML >= 3.12 +BuildRequires: python3-Sphinx +BuildRequires: python3-beautifulsoup4 +BuildRequires: python3-openstackdocstheme >= 1.18.1 +BuildRequires: python3-pbr >= 2.0.0 +BuildRequires: python3-python-subunit +BuildRequires: python3-sphinx-testing +BuildRequires: python3-stestr +BuildRequires: python3-testrepository +BuildRequires: python3-testtools Requires: python-PyYAML >= 3.12 Requires: python-Sphinx -Requires: python-docutils Requires: python-openstackdocstheme >= 1.18.1 Requires: python-pbr >= 2.0.0 BuildArch: noarch +%python_subpackages %description This project is a collection of sphinx stanzas that assist in building an API @@ -57,22 +67,22 @@ of collapsing sections for REST methods and javascript controls to expand / collapse all sections. %prep -%autosetup -n %{sname}-%{version} +%autosetup -p1 -n os-api-ref-1.6.0 %py_req_cleanup %build -%{py2_build} +%{python_build} %install -%{py2_install} +%{python_install} %check -%{__python2} setup.py testr +%python_exec -m stestr.cli run -%files +%files %{python_files} %license LICENSE %doc README.rst ChangeLog -%{python2_sitelib}/os_api_ref -%{python2_sitelib}/*.egg-info +%{python_sitelib}/os_api_ref +%{python_sitelib}/*.egg-info %changelog