Hello community,
here is the log from the commit of package python-sphinxcontrib-websupport for
openSUSE:Factory checked in at 2020-08-01 12:30:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-websupport (Old)
and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-websupport.new.3592
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-websupport"
Sat Aug 1 12:30:52 2020 rev:10 rq:823185 version:1.2.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinxcontrib-websupport/python-sphinxcontrib-websupport.changes
2020-04-19 21:46:33.983731248 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-websupport.new.3592/python-sphinxcontrib-websupport.changes
2020-08-01 12:31:03.302449902 +0200
@@ -1,0 +2,7 @@
+Tue Jul 28 09:01:24 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- version update to 1.2.3
+ * #43: doctreedir argument has been ignored on initialize app
+ * Stop to use sphinx.util.pycompat:htmlescape
+
+-------------------------------------------------------------------
Old:
----
sphinxcontrib-websupport-1.2.1.tar.gz
New:
----
sphinxcontrib-websupport-1.2.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinxcontrib-websupport.spec ++++++
--- /var/tmp/diff_new_pack.Lar7gr/_old 2020-08-01 12:31:05.422451887 +0200
+++ /var/tmp/diff_new_pack.Lar7gr/_new 2020-08-01 12:31:05.430451895 +0200
@@ -27,7 +27,7 @@
%endif
%global skip_python2 1
Name: python-sphinxcontrib-websupport%{psuffix}
-Version: 1.2.1
+Version: 1.2.3
Release: 0
Summary: Sphinx API for Web Apps
License: BSD-2-Clause
++++++ sphinxcontrib-websupport-1.2.1.tar.gz ->
sphinxcontrib-websupport-1.2.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-websupport-1.2.1/CHANGES
new/sphinxcontrib-websupport-1.2.3/CHANGES
--- old/sphinxcontrib-websupport-1.2.1/CHANGES 2020-03-21 09:19:35.000000000
+0100
+++ new/sphinxcontrib-websupport-1.2.3/CHANGES 2020-06-27 15:23:29.000000000
+0200
@@ -1,4 +1,14 @@
-Release 1.2.1 (unreleased)
+Release 1.2.3 (2020-06-27)
+==========================
+
+* #43: doctreedir argument has been ignored on initialize app
+
+Release 1.2.2 (2020-04-29)
+==========================
+
+* Stop to use sphinx.util.pycompat:htmlescape
+
+Release 1.2.1 (2020-03-21)
==========================
* #41: templates/searchresults.html is missing in the source tarball
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-websupport-1.2.1/PKG-INFO
new/sphinxcontrib-websupport-1.2.3/PKG-INFO
--- old/sphinxcontrib-websupport-1.2.1/PKG-INFO 2020-03-21 09:20:54.133654400
+0100
+++ new/sphinxcontrib-websupport-1.2.3/PKG-INFO 2020-06-27 15:23:56.976203700
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: sphinxcontrib-websupport
-Version: 1.2.1
+Version: 1.2.3
Summary: Sphinx API for Web Apps
Home-page: http://sphinx-doc.org/
Author: Georg Brandl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/core.py
new/sphinxcontrib-websupport-1.2.3/sphinxcontrib/websupport/core.py
--- old/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/core.py
2020-02-07 13:32:26.000000000 +0100
+++ new/sphinxcontrib-websupport-1.2.3/sphinxcontrib/websupport/core.py
2020-06-27 15:21:48.000000000 +0200
@@ -9,6 +9,7 @@
:license: BSD, see LICENSE for details.
"""
+import html
import sys
import pickle
import posixpath
@@ -20,7 +21,6 @@
from sphinx.locale import _
from sphinx.util.docutils import docutils_namespace
from sphinx.util.osutil import ensuredir
-from sphinx.util.pycompat import htmlescape
from sphinxcontrib.websupport import errors
from sphinxcontrib.websupport import package_dir
from sphinxcontrib.websupport.search import BaseSearch, SEARCH_ADAPTERS
@@ -63,7 +63,7 @@
self.outdir = path.join(builddir, 'data')
self.datadir = datadir or self.outdir
self.staticdir = staticdir or path.join(self.builddir, 'static')
- self.doctreedir = staticdir or path.join(self.builddir, 'doctrees')
+ self.doctreedir = doctreedir or path.join(self.builddir, 'doctrees')
# web server virtual paths
self.staticroot = staticroot.strip('/')
self.docroot = docroot.strip('/')
@@ -465,5 +465,5 @@
ret = publish_parts(text, writer_name='html',
settings_overrides=settings)['fragment']
except Exception:
- ret = htmlescape(text)
+ ret = html.escape(text)
return ret
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/storage/differ.py
new/sphinxcontrib-websupport-1.2.3/sphinxcontrib/websupport/storage/differ.py
---
old/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/storage/differ.py
2020-01-12 16:12:28.000000000 +0100
+++
new/sphinxcontrib-websupport-1.2.3/sphinxcontrib/websupport/storage/differ.py
2020-04-29 09:55:19.000000000 +0200
@@ -9,14 +9,10 @@
:license: BSD, see LICENSE for details.
"""
+import html
import re
from difflib import Differ
-try:
- from html import escape as htmlescape
-except ImportError: # py27
- from cgi import escape as htmlescape # NOQA
-
class CombinedHtmlDiff(object):
"""Create an HTML representation of the differences between two pieces
@@ -25,7 +21,7 @@
highlight_regex = re.compile(r'([\+\-\^]+)')
def __init__(self, source, proposal):
- proposal = htmlescape(proposal)
+ proposal = html.escape(proposal)
differ = Differ()
self.diff = list(differ.compare(source.splitlines(1),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/version.py
new/sphinxcontrib-websupport-1.2.3/sphinxcontrib/websupport/version.py
--- old/sphinxcontrib-websupport-1.2.1/sphinxcontrib/websupport/version.py
2020-03-21 09:20:32.000000000 +0100
+++ new/sphinxcontrib-websupport-1.2.3/sphinxcontrib/websupport/version.py
2020-04-29 10:08:00.000000000 +0200
@@ -7,5 +7,5 @@
:license: BSD, see LICENSE for details.
"""
-__version__ = '1.2.1'
+__version__ = '1.2.3'
__version_info__ = tuple(map(int, __version__.split('.')))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-websupport-1.2.1/sphinxcontrib_websupport.egg-info/PKG-INFO
new/sphinxcontrib-websupport-1.2.3/sphinxcontrib_websupport.egg-info/PKG-INFO
---
old/sphinxcontrib-websupport-1.2.1/sphinxcontrib_websupport.egg-info/PKG-INFO
2020-03-21 09:20:53.000000000 +0100
+++
new/sphinxcontrib-websupport-1.2.3/sphinxcontrib_websupport.egg-info/PKG-INFO
2020-06-27 15:23:56.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: sphinxcontrib-websupport
-Version: 1.2.1
+Version: 1.2.3
Summary: Sphinx API for Web Apps
Home-page: http://sphinx-doc.org/
Author: Georg Brandl