Hello community,
here is the log from the commit of package python-readthedocs-sphinx-ext for openSUSE:Leap:15.2 checked in at 2020-04-30 18:52:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-readthedocs-sphinx-ext (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-readthedocs-sphinx-ext.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-readthedocs-sphinx-ext"
Thu Apr 30 18:52:28 2020 rev:2 rq:798727 version:1.0.3
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-readthedocs-sphinx-ext/python-readthedocs-sphinx-ext.changes 2020-02-22 17:50:34.741545528 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-readthedocs-sphinx-ext.new.2738/python-readthedocs-sphinx-ext.changes 2020-04-30 18:52:29.092730840 +0200
@@ -1,0 +2,17 @@
+Fri Apr 24 15:22:12 UTC 2020 - Arun Persaud
+
+- specfile:
+ * no more need to remove tests manually before install
+
+- update to version 1.0.3:
+ * Fix path to html_context
+
+- changes from version 1.0.2:
+ * Add Python 3.8 to tests
+ * Add more versions to test against
+ * Revert #77
+ * Make setup.py executable
+ * Stop installing tests
+ * Remove broken distutils compat
+
+-------------------------------------------------------------------
Old:
----
readthedocs-sphinx-ext-1.0.1.tar.gz
New:
----
readthedocs-sphinx-ext-1.0.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-readthedocs-sphinx-ext.spec ++++++
--- /var/tmp/diff_new_pack.NY6UMg/_old 2020-04-30 18:52:29.736732201 +0200
+++ /var/tmp/diff_new_pack.NY6UMg/_new 2020-04-30 18:52:29.736732201 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-readthedocs-sphinx-ext
-Version: 1.0.1
+Version: 1.0.3
Release: 0
Summary: Sphinx extension for Read the Docs overrides
License: MIT
@@ -49,7 +49,6 @@
%install
%python_install
-%python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
++++++ readthedocs-sphinx-ext-1.0.1.tar.gz -> readthedocs-sphinx-ext-1.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/readthedocs-sphinx-ext-1.0.1/PKG-INFO new/readthedocs-sphinx-ext-1.0.3/PKG-INFO
--- old/readthedocs-sphinx-ext-1.0.1/PKG-INFO 2019-11-12 17:50:18.000000000 +0100
+++ new/readthedocs-sphinx-ext-1.0.3/PKG-INFO 2020-04-21 19:24:55.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: readthedocs-sphinx-ext
-Version: 1.0.1
+Version: 1.0.3
Summary: Sphinx extension for Read the Docs overrides
Home-page: http://github.com/readthedocs/readthedocs-sphinx-ext
Author: Read the Docs, Inc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/readthedocs-sphinx-ext-1.0.1/readthedocs_ext/_static/readthedocs-data.js_t new/readthedocs-sphinx-ext-1.0.3/readthedocs_ext/_static/readthedocs-data.js_t
--- old/readthedocs-sphinx-ext-1.0.1/readthedocs_ext/_static/readthedocs-data.js_t 2019-11-12 17:40:40.000000000 +0100
+++ new/readthedocs-sphinx-ext-1.0.3/readthedocs_ext/_static/readthedocs-data.js_t 2020-04-21 18:23:00.000000000 +0200
@@ -10,7 +10,6 @@
docroot: {{ conf_py_path|default('')|tojson }},
source_suffix: {{ source_suffix|default('')|tojson }},
api_host: {{ api_host|default('')|tojson }},
- proxied_api_host: {{ proxied_api_host|default('')|tojson }},
commit: {{ commit|default('')|tojson }},
ad_free: {% if ad_free %}true{% else %}false{% endif %},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/readthedocs-sphinx-ext-1.0.1/readthedocs_ext/_templates/readthedocs-insert.html.tmpl new/readthedocs-sphinx-ext-1.0.3/readthedocs_ext/_templates/readthedocs-insert.html.tmpl
--- old/readthedocs-sphinx-ext-1.0.1/readthedocs_ext/_templates/readthedocs-insert.html.tmpl 2019-07-22 19:43:25.000000000 +0200
+++ new/readthedocs-sphinx-ext-1.0.3/readthedocs_ext/_templates/readthedocs-insert.html.tmpl 2020-04-21 18:23:00.000000000 +0200
@@ -28,6 +28,6 @@
{%- endif %}
</script>
-<script type="text/javascript" src="{{ rtd_analytics_url }}"></script>
+<script type="text/javascript" src="{{ rtd_analytics_url }}" async="async"></script>
<!-- end RTD <extrahead> -->
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/readthedocs-sphinx-ext-1.0.1/readthedocs_ext/external_version_warning.py new/readthedocs-sphinx-ext-1.0.3/readthedocs_ext/external_version_warning.py
--- old/readthedocs-sphinx-ext-1.0.1/readthedocs_ext/external_version_warning.py 2019-07-22 18:40:44.000000000 +0200
+++ new/readthedocs-sphinx-ext-1.0.3/readthedocs_ext/external_version_warning.py 2020-04-21 19:24:24.000000000 +0200
@@ -17,7 +17,10 @@
at the top of each page of the documentation.
"""
for document in doctree.traverse(nodes.document):
- text = 'This Documentation was created from pull/merge request.'
+ # TODO: Link to the Pull Request
+ text = 'This page was created from a pull request.'
+ if app.builder.config.html_context.get('display_gitlab'):
+ text = 'This page was created from a merge request.'
prose = nodes.paragraph(text, text)
warning = nodes.warning(prose, prose)
document.insert(0, warning)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/readthedocs-sphinx-ext-1.0.1/readthedocs_ext/readthedocs.py new/readthedocs-sphinx-ext-1.0.3/readthedocs_ext/readthedocs.py
--- old/readthedocs-sphinx-ext-1.0.1/readthedocs_ext/readthedocs.py 2019-07-22 19:43:25.000000000 +0200
+++ new/readthedocs-sphinx-ext-1.0.3/readthedocs_ext/readthedocs.py 2020-04-21 18:23:00.000000000 +0200
@@ -65,7 +65,8 @@
if sphinx.version_info < (1, 8):
app.builder.script_files.append(js_file)
else:
- app.add_js_file(js_file)
+ kwargs = {'async': 'async'} # Workaround reserved word in Py3.7
+ app.add_js_file(js_file, **kwargs)
def update_body(app, pagename, templatename, context, doctree):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/readthedocs-sphinx-ext-1.0.1/readthedocs_sphinx_ext.egg-info/PKG-INFO new/readthedocs-sphinx-ext-1.0.3/readthedocs_sphinx_ext.egg-info/PKG-INFO
--- old/readthedocs-sphinx-ext-1.0.1/readthedocs_sphinx_ext.egg-info/PKG-INFO 2019-11-12 17:50:18.000000000 +0100
+++ new/readthedocs-sphinx-ext-1.0.3/readthedocs_sphinx_ext.egg-info/PKG-INFO 2020-04-21 19:24:54.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: readthedocs-sphinx-ext
-Version: 1.0.1
+Version: 1.0.3
Summary: Sphinx extension for Read the Docs overrides
Home-page: http://github.com/readthedocs/readthedocs-sphinx-ext
Author: Read the Docs, Inc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/readthedocs-sphinx-ext-1.0.1/readthedocs_sphinx_ext.egg-info/top_level.txt new/readthedocs-sphinx-ext-1.0.3/readthedocs_sphinx_ext.egg-info/top_level.txt
--- old/readthedocs-sphinx-ext-1.0.1/readthedocs_sphinx_ext.egg-info/top_level.txt 2019-11-12 17:50:18.000000000 +0100
+++ new/readthedocs-sphinx-ext-1.0.3/readthedocs_sphinx_ext.egg-info/top_level.txt 2020-04-21 19:24:54.000000000 +0200
@@ -1,2 +1 @@
readthedocs_ext
-tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/readthedocs-sphinx-ext-1.0.1/setup.py new/readthedocs-sphinx-ext-1.0.3/setup.py
--- old/readthedocs-sphinx-ext-1.0.1/setup.py 2019-11-12 17:49:36.000000000 +0100
+++ new/readthedocs-sphinx-ext-1.0.3/setup.py 2020-04-21 19:24:38.000000000 +0200
@@ -1,28 +1,22 @@
import codecs
-try:
- from setuptools import setup, find_packages
- extra_setup = dict(
- install_requires=['requests', 'Jinja2>=2.9'],
- )
-except ImportError:
- from distutils.core import setup
- extra_setup = {}
+
+from setuptools import setup, find_packages
setup(
name='readthedocs-sphinx-ext',
- version='1.0.1',
+ version='1.0.3',
author='Read the Docs, Inc',
author_email='dev@readthedocs.com',
url='http://github.com/readthedocs/readthedocs-sphinx-ext',
license='MIT',
description='Sphinx extension for Read the Docs overrides',
+ install_requires=['requests', 'Jinja2>=2.9'],
package_dir={'': '.'},
- packages=find_packages('.'),
+ packages=find_packages('.', exclude=['tests']),
long_description=codecs.open("README.rst", "r", "utf-8").read(),
# trying to add files...
include_package_data=True,
package_data={
'': ['_static/*.js', '_static/*.js_t', '_static/*.css', '_templates/*.tmpl'],
},
- **extra_setup
)