Hello community,

here is the log from the commit of package python-cursive for openSUSE:Factory 
checked in at 2018-01-24 15:28:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cursive (Old)
 and      /work/SRC/openSUSE:Factory/.python-cursive.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cursive"

Wed Jan 24 15:28:55 2018 rev:3 rq:568046 version:0.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cursive/python-cursive.changes    
2017-04-06 11:03:13.998398809 +0200
+++ /work/SRC/openSUSE:Factory/.python-cursive.new/python-cursive.changes       
2018-01-24 15:28:57.754688813 +0100
@@ -1,0 +2,17 @@
+Mon Jan 22 06:31:00 UTC 2018 - [email protected]
+
+- Fix python3 test execution
+
+-------------------------------------------------------------------
+Tue Jan 16 05:58:01 UTC 2018 - [email protected]
+
+- update to 0.2.1:
+  * Add mock to test-requirements
+  * Uncaught ManagedObjectNotFoundError exception leads to 500 error
+  * Add certificate validation
+- add 0001-Cleanup-requirements.txt.patch
+  remove unneeded requirements
+- 0001-Use-openstackdocstheme-for-docs-and-release-notes.patch
+  switch to openstackdocstheme instead of oslosphinx
+
+-------------------------------------------------------------------

Old:
----
  cursive-0.1.2.tar.gz

New:
----
  0001-Cleanup-requirements.txt.patch
  0001-Use-openstackdocstheme-for-docs-and-release-notes.patch
  cursive-0.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cursive.spec ++++++
--- /var/tmp/diff_new_pack.yKzY2t/_old  2018-01-24 15:28:58.542651960 +0100
+++ /var/tmp/diff_new_pack.yKzY2t/_new  2018-01-24 15:28:58.546651773 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cursive
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,47 +16,49 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-cursive
-Version:        0.1.2
+Version:        0.2.1
 Release:        0
 Summary:        Cursive implements OpenStack-specific validation of digital 
signatures
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Url:            http://www.openstack.org/
 Source:         
https://pypi.io/packages/source/c/cursive/cursive-%{version}.tar.gz
-BuildRequires:  python-castellan >= 0.4.0
-BuildRequires:  python-cryptography >= 1.0
-BuildRequires:  python-devel
-BuildRequires:  python-lxml >= 2.3
-BuildRequires:  python-netifaces >= 0.10.4
-BuildRequires:  python-oslo.i18n >= 2.1.0
-BuildRequires:  python-oslo.serialization >= 1.10.0
-BuildRequires:  python-oslo.utils >= 3.16.0
-BuildRequires:  python-pbr >= 1.6
-BuildRequires:  python-setuptools
-BuildRequires:  python-six >= 1.9.0
+# PATCH-FEATURE-UPSTREAM 0001-Cleanup-requirements.txt.patch -- 
https://review.openstack.org/#/c/534100/
+Patch0:         0001-Cleanup-requirements.txt.patch
+# PATCH-FEATURE-UPSTREAM 
0001-Use-openstackdocstheme-for-docs-and-release-notes.patch -- 
https://review.openstack.org/#/c/534110/
+Patch1:         0001-Use-openstackdocstheme-for-docs-and-release-notes.patch
+BuildRequires:  %{python_module castellan >= 0.4.0}
+BuildRequires:  %{python_module cryptography >= 1.0}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module oslo.i18n >= 2.1.0}
+BuildRequires:  %{python_module oslo.serialization >= 1.10.0}
+BuildRequires:  %{python_module oslo.utils >= 3.16.0}
+BuildRequires:  %{python_module pbr >= 1.6}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 # test requirements
-BuildRequires:  python-oslosphinx >= 2.5.0
-BuildRequires:  python-oslotest >= 1.10.0
-BuildRequires:  python-python-subunit >= 0.0.18
-BuildRequires:  python-reno >= 1.8.0
-BuildRequires:  python-sphinx >= 1.2.1
-BuildRequires:  python-testrepository >= 0.0.18
-BuildRequires:  python-testscenarios >= 0.4
-BuildRequires:  python-testtools >= 1.4.0
+BuildRequires:  %{python_module Sphinx >= 1.2.1}
+BuildRequires:  %{python_module openstackdocstheme}
+BuildRequires:  %{python_module oslotest >= 1.10.0}
+BuildRequires:  %{python_module python-subunit >= 0.0.18}
+BuildRequires:  %{python_module reno >= 1.8.0}
+BuildRequires:  %{python_module testrepository >= 0.0.18}
+BuildRequires:  %{python_module testscenarios >= 0.4}
+BuildRequires:  %{python_module testtools >= 1.4.0}
 Requires:       python-castellan >= 0.4.0
 Requires:       python-cryptography >= 1.0
-Requires:       python-lxml >= 2.3
-Requires:       python-netifaces >= 0.10.4
 Requires:       python-oslo.i18n >= 2.1.0
 Requires:       python-oslo.log >= 1.14.0
 Requires:       python-oslo.serialization >= 1.10.0
 Requires:       python-oslo.utils >= 3.16.0
 Requires:       python-pbr >= 1.6
-Requires:       python-six >= 1.9.0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
+%python_subpackages
+
 %description
 Cursive implements OpenStack-specific validation of digital signatures.
 As OpenStack continues to mature, robust security controls become increasingly
@@ -66,17 +68,21 @@
 
 %prep
 %setup -q -n cursive-%{version}
+%patch0 -p1
+%patch1 -p1
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
 %check
-python setup.py test
+%{python_expand rm -rf .testrepository
+$python setup.py testr
+}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc ChangeLog LICENSE AUTHORS README.rst
 %{python_sitelib}/*

++++++ 0001-Cleanup-requirements.txt.patch ++++++
>From d574d9bfcef7811bfc3ce32ab3a84e820069b32b Mon Sep 17 00:00:00 2001
From: Thomas Bechtold <[email protected]>
Date: Tue, 16 Jan 2018 07:07:18 +0100
Subject: [PATCH] Cleanup requirements.txt

six, lxml and netifaces are not used in the cursive codebase. Remove
them.

Change-Id: I0ea29850376f0d3334d92e6e9669bc228eb49f27
---
 requirements.txt | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/requirements.txt b/requirements.txt
index 7ce7b25..9d3b733 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -3,10 +3,7 @@
 # process, which may cause wedges in the gate later.
 
 pbr>=1.6 # Apache-2.0
-lxml>=2.3 # BSD
 cryptography!=1.3.0,>=1.0 # BSD/Apache-2.0
-netifaces>=0.10.4 # MIT
-six>=1.9.0 # MIT
 oslo.serialization>=1.10.0 # Apache-2.0
 oslo.utils>=3.16.0 # Apache-2.0
 oslo.i18n>=2.1.0 # Apache-2.0
-- 
2.15.1

++++++ 0001-Use-openstackdocstheme-for-docs-and-release-notes.patch ++++++
>From f116fc2c5d975c7a19b4b62dda36e798b2379701 Mon Sep 17 00:00:00 2001
From: Thomas Bechtold <[email protected]>
Date: Tue, 16 Jan 2018 07:10:33 +0100
Subject: [PATCH] Use openstackdocstheme for docs and release notes

Replace the usage of oslosphinx with openstackdocstheme and follow the
porting guide[1].
Also bump the used Sphinx version to the one from
global-requirements. Otherwise the docs build fails.

[1]
https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Change-Id: I9cb15f670e312faa49d95e14c84b7f4ec72bf8e0
---
 doc/source/conf.py          | 8 +++++++-
 releasenotes/source/conf.py | 9 +++++++--
 test-requirements.txt       | 4 ++--
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index 54ea3e4..00743e3 100755
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -23,7 +23,7 @@ sys.path.insert(0, os.path.abspath('../..'))
 extensions = [
     'sphinx.ext.autodoc',
     #'sphinx.ext.intersphinx',
-    'oslosphinx'
+    'openstackdocstheme'
 ]
 
 # autodoc generation is a bit aggressive and a nuisance when doing heavy
@@ -57,6 +57,7 @@ pygments_style = 'sphinx'
 # html_theme_path = ["."]
 # html_theme = '_theme'
 # html_static_path = ['static']
+html_theme = 'openstackdocs'
 
 # Output file base name for HTML help builder.
 htmlhelp_basename = '%sdoc' % project
@@ -73,3 +74,8 @@ latex_documents = [
 
 # Example configuration for intersphinx: refer to the Python standard library.
 #intersphinx_mapping = {'http://docs.python.org/': None}
+
+# openstackdocstheme options
+repository_name = 'openstack/cursive'
+bug_project = 'cursive'
+bug_tag = 'docs'
diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py
index 4002f9a..4762be1 100644
--- a/releasenotes/source/conf.py
+++ b/releasenotes/source/conf.py
@@ -38,7 +38,7 @@
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
 extensions = [
-    'oslosphinx',
+    'openstackdocstheme',
     'reno.sphinxext',
 ]
 
@@ -111,7 +111,7 @@ pygments_style = 'sphinx'
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
-html_theme = 'default'
+html_theme = 'openstackdocs'
 
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the
@@ -274,3 +274,8 @@ texinfo_documents = [
 
 # -- Options for Internationalization output ------------------------------
 locale_dirs = ['locale/']
+
+# openstackdocstheme options
+repository_name = 'openstack/cursive'
+bug_project = 'cursive'
+bug_tag = 'docs'
diff --git a/test-requirements.txt b/test-requirements.txt
index 719d5c3..77ba1f1 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -7,8 +7,8 @@ hacking<0.12,>=0.11.0 # Apache-2.0
 coverage>=3.6 # Apache-2.0
 python-subunit>=0.0.18 # Apache-2.0/BSD
 mock>=2.0.0 # BSD
-sphinx!=1.3b1,<1.3,>=1.2.1 # BSD
-oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
+sphinx>=1.6.2  # BSD
+openstackdocstheme>=1.17.0  # Apache-2.0
 oslotest>=1.10.0 # Apache-2.0
 testrepository>=0.0.18 # Apache-2.0/BSD
 testscenarios>=0.4 # Apache-2.0/BSD
-- 
2.15.1

++++++ cursive-0.1.2.tar.gz -> cursive-0.2.1.tar.gz ++++++
++++ 1696 lines of diff (skipped)


Reply via email to