Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sphinxcontrib-pecanwsme for
openSUSE:Factory checked in at 2023-04-07 18:17:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-pecanwsme (Old)
and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-pecanwsme.new.19717
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-pecanwsme"
Fri Apr 7 18:17:02 2023 rev:11 rq:1077838 version:0.10.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinxcontrib-pecanwsme/python-sphinxcontrib-pecanwsme.changes
2021-01-25 18:23:47.912444179 +0100
+++
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-pecanwsme.new.19717/python-sphinxcontrib-pecanwsme.changes
2023-04-07 18:17:13.408855507 +0200
@@ -1,0 +2,8 @@
+Thu Apr 6 07:30:01 UTC 2023 - [email protected]
+
+- do not require six
+- added patches
+ fix https://github.com/sphinx-contrib/pecanwsme/issues/21
+ + python-sphinxcontrib-pecanwsme-no-six.patch
+
+-------------------------------------------------------------------
New:
----
python-sphinxcontrib-pecanwsme-no-six.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinxcontrib-pecanwsme.spec ++++++
--- /var/tmp/diff_new_pack.8uBvov/_old 2023-04-07 18:17:13.872858180 +0200
+++ /var/tmp/diff_new_pack.8uBvov/_new 2023-04-07 18:17:13.880858226 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-sphinxcontrib-pecanwsme
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sphinxcontrib-pecanwsme
Version: 0.10.0
Release: 0
@@ -25,12 +24,12 @@
Group: Development/Languages/Python
URL: https://github.com/dreamhost/sphinxcontrib-pecanwsme
Source:
https://files.pythonhosted.org/packages/source/s/sphinxcontrib-pecanwsme/sphinxcontrib-pecanwsme-%{version}.tar.gz
+# https://github.com/sphinx-contrib/pecanwsme/issues/21
+Patch0: python-sphinxcontrib-pecanwsme-no-six.patch
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module six}
BuildRequires: %{python_module sphinxcontrib-httpdomain}
BuildRequires: python-rpm-macros
-Requires: python-six
Requires: python-sphinxcontrib-httpdomain
BuildArch: noarch
@@ -40,7 +39,7 @@
Extension to Sphinx for documenting APIs built with Pecan and WSME
%prep
-%setup -q -n sphinxcontrib-pecanwsme-%{version}
+%autosetup -p1 -n sphinxcontrib-pecanwsme-%{version}
%build
%python_build
@@ -51,6 +50,7 @@
%files %{python_files}
%license LICENSE
%doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/sphinxcontrib
+%{python_sitelib}/sphinxcontrib_pecanwsme*
%changelog
++++++ python-sphinxcontrib-pecanwsme-no-six.patch ++++++
Index: sphinxcontrib-pecanwsme-0.10.0/requirements.txt
===================================================================
--- sphinxcontrib-pecanwsme-0.10.0.orig/requirements.txt
+++ sphinxcontrib-pecanwsme-0.10.0/requirements.txt
@@ -1,2 +1 @@
-six
sphinxcontrib-httpdomain
Index: sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib/pecanwsme/rest.py
===================================================================
--- sphinxcontrib-pecanwsme-0.10.0.orig/sphinxcontrib/pecanwsme/rest.py
+++ sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib/pecanwsme/rest.py
@@ -22,7 +22,6 @@ from Pecan controllers exposed through W
import inspect
from functools import reduce
-import six
from docutils import nodes
from docutils.parsers import rst
from docutils.statemachine import ViewList
@@ -57,7 +56,7 @@ def http_directive(method, path, content
:param content: Text describing the endpoint.
"""
method = method.lower().strip()
- if isinstance(content, six.string_types):
+ if isinstance(content, str):
content = content.splitlines()
yield ''
yield '.. http:{method}:: {path}'.format(**locals())
Index:
sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib_pecanwsme.egg-info/requires.txt
===================================================================
---
sphinxcontrib-pecanwsme-0.10.0.orig/sphinxcontrib_pecanwsme.egg-info/requires.txt
+++ sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib_pecanwsme.egg-info/requires.txt
@@ -1,2 +1 @@
-six
sphinxcontrib-httpdomain