Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit python-sphinxcontrib-pecanwsme for openSUSE:Factory
Hello community,

here is the log from the commit of package python-sphinxcontrib-pecanwsme for
openSUSE:Factory checked in at 2019-04-30 12:59:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-pecanwsme (Old)
and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-pecanwsme.new.5536
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sphinxcontrib-pecanwsme"

Tue Apr 30 12:59:39 2019 rev:9 rq:697382 version:0.10.0

Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinxcontrib-pecanwsme/python-sphinxcontrib-pecanwsme.changes
2018-09-13 12:10:42.490348498 +0200
+++
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-pecanwsme.new.5536/python-sphinxcontrib-pecanwsme.changes
2019-04-30 12:59:45.074181103 +0200
@@ -1,0 +2,7 @@
+Tue Apr 23 13:48:35 UTC 2019 - Marketa Calabkova <mcalabkova@xxxxxxxx>
+
+- update to 0.10.0
+ * Add support for Sphinx 2.0
+ * Logs are moved to debug level to reduce noisiness of output
+
+-------------------------------------------------------------------

Old:
----
sphinxcontrib-pecanwsme-0.9.0.tar.gz

New:
----
sphinxcontrib-pecanwsme-0.10.0.tar.gz

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

Other differences:
------------------
++++++ python-sphinxcontrib-pecanwsme.spec ++++++
--- /var/tmp/diff_new_pack.qX5J53/_old 2019-04-30 12:59:47.290180608 +0200
+++ /var/tmp/diff_new_pack.qX5J53/_new 2019-04-30 12:59:47.290180608 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-sphinxcontrib-pecanwsme
#
-# 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,13 +12,13 @@
# 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/
#


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sphinxcontrib-pecanwsme
-Version: 0.9.0
+Version: 0.10.0
Release: 0
Summary: Extension to Sphinx for documenting APIs built with Pecan and
WSME
License: Apache-2.0
@@ -32,6 +32,7 @@
BuildRequires: %{python_module six}
BuildRequires: %{python_module sphinxcontrib-httpdomain}
BuildRequires: python-rpm-macros
+Requires: python-six
Requires: python-sphinxcontrib-httpdomain
BuildArch: noarch


++++++ sphinxcontrib-pecanwsme-0.9.0.tar.gz ->
sphinxcontrib-pecanwsme-0.10.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.9.0/ChangeLog
new/sphinxcontrib-pecanwsme-0.10.0/ChangeLog
--- old/sphinxcontrib-pecanwsme-0.9.0/ChangeLog 2018-06-26 15:58:57.000000000
+0200
+++ new/sphinxcontrib-pecanwsme-0.10.0/ChangeLog 2019-04-02
11:42:15.000000000 +0200
@@ -1,6 +1,13 @@
CHANGES
=======

+0.10.0
+------
+
+* update announce.rst for a 0.10.0 release
+* Lower logging level
+* Add Sphinx 2.0 compatibility
+
0.9.0
-----

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.9.0/PKG-INFO
new/sphinxcontrib-pecanwsme-0.10.0/PKG-INFO
--- old/sphinxcontrib-pecanwsme-0.9.0/PKG-INFO 2018-06-26 15:58:57.000000000
+0200
+++ new/sphinxcontrib-pecanwsme-0.10.0/PKG-INFO 2019-04-02 11:42:15.000000000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: sphinxcontrib-pecanwsme
-Version: 0.9.0
+Version: 0.10.0
Summary: A Sphinx extension for documenting APIs built with Pecan and WSME
Home-page: https://github.com/sphinx-contrib/pecanwsme
Author: Doug Hellmann
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.9.0/announce.rst
new/sphinxcontrib-pecanwsme-0.10.0/announce.rst
--- old/sphinxcontrib-pecanwsme-0.9.0/announce.rst 2018-06-26
15:58:15.000000000 +0200
+++ new/sphinxcontrib-pecanwsme-0.10.0/announce.rst 2019-04-02
11:41:03.000000000 +0200
@@ -1,6 +1,6 @@
-===============================
- sphinxcontrib-pecanwsme 0.9.0
-===============================
+================================
+ sphinxcontrib-pecanwsme 0.10.0
+================================

.. tags:: sphinxcontrib-pecanwsme, pecan, WSME, sphinx, release

@@ -14,4 +14,5 @@
What's New?
===========

-* Add support for Python 3
+* Add support for Sphinx 2.0
+* Logs are moved to debug level to reduce noisiness of output
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib/pecanwsme/rest.py
new/sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib/pecanwsme/rest.py
--- old/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib/pecanwsme/rest.py
2018-06-26 15:57:33.000000000 +0200
+++ new/sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib/pecanwsme/rest.py
2019-04-02 11:41:03.000000000 +0200
@@ -17,8 +17,8 @@
# under the License.
"""Sphinx extension for automatically generating API documentation
from Pecan controllers exposed through WSME.
-
"""
+
import inspect
from functools import reduce

@@ -26,11 +26,14 @@
from docutils import nodes
from docutils.parsers import rst
from docutils.statemachine import ViewList
+from sphinx.util import logging
from sphinx.util.docstrings import prepare_docstring
from sphinx.util.nodes import nested_parse_with_titles

import wsme.types

+LOG = logging.getLogger(__name__)
+

def import_object(import_name):
"""Import the named object and return it.
@@ -120,9 +123,6 @@
return directive

def make_rst_for_controller(self, path_prefix, controller):
- env = self.state.document.settings.env
- app = env.app
-
controller_path = path_prefix.rstrip('/')

# Some of the controllers are instantiated dynamically, so
@@ -149,10 +149,10 @@
('get_all', 'get'),
('get', 'get'),
]:
- app.info('Checking %s for %s method' % (controller, method_name))
+ LOG.debug('Checking %s for %s method', controller, method_name)
method = getattr(controller, method_name, None)
if method and method.exposed:
- app.info('Found method: %s' % method_name)
+ LOG.debug('Found method: %s', method_name)
lines.extend(
self.make_rst_for_method(
controller_path,
@@ -163,7 +163,7 @@
# Handle the special case for get_one(). The path should
# include the name of the argument used to find the object.
if hasattr(controller, 'get_one') and controller.get_one.exposed:
- app.info('Found method: get_one')
+ LOG.debug('Found method: get_one')
funcdef = controller.get_one._wsme_definition
first_arg_name = funcdef.arguments[0].name
path = controller_path + '/(' + first_arg_name + ')'
@@ -180,10 +180,10 @@
('delete', 'delete'),
('patch', 'patch'),
]:
- app.info('Checking %s for %s method' % (controller, method_name))
+ LOG.debug('Checking %s for %s method', controller, method_name)
method = getattr(controller, method_name, None)
if method and method.exposed:
- app.info('Found method: %s' % method_name)
+ LOG.debug('Found method: %s', method_name)
lines.extend(
self.make_rst_for_method(
controller_path,
@@ -193,7 +193,7 @@

# Look for exposed custom methods
for name in sorted(controller._custom_actions.keys()):
- app.info('Adding custom method: %s' % name)
+ LOG.debug('Adding custom method: %s', name)
path = controller_path + '/' + name
actions = controller._custom_actions[name]
for action in actions:
@@ -204,7 +204,7 @@
method = getattr(controller, method_name)
else:
method = getattr(controller, name)
- app.info('Custom method %s uses action %s' % (method, action))
+ LOG.debug('Custom method %s uses action %s', method, action)
lines.extend(
self.make_rst_for_method(
path,
@@ -215,17 +215,14 @@
return lines

def run(self):
- env = self.state.document.settings.env
- app = env.app
controller_id = self.arguments[0]
- app.info('found root-controller %s' % controller_id)
+ LOG.debug('found root-controller %s', controller_id)

result = ViewList()
controller = import_object(self.arguments[0])

for line in self.make_rst_for_controller(
self.options.get('webprefix', '/'), controller):
- app.info('ADDING: %r' % line)
result.append(line, '<' + __name__ + '>')

node = nodes.section()
@@ -237,5 +234,4 @@


def setup(app):
- app.info('Initializing %s' % __name__)
app.add_directive('rest-controller', RESTControllerDirective)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib_pecanwsme.egg-info/PKG-INFO
new/sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib_pecanwsme.egg-info/PKG-INFO
--- old/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib_pecanwsme.egg-info/PKG-INFO
2018-06-26 15:58:56.000000000 +0200
+++
new/sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib_pecanwsme.egg-info/PKG-INFO
2019-04-02 11:42:15.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: sphinxcontrib-pecanwsme
-Version: 0.9.0
+Version: 0.10.0
Summary: A Sphinx extension for documenting APIs built with Pecan and WSME
Home-page: https://github.com/sphinx-contrib/pecanwsme
Author: Doug Hellmann
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib_pecanwsme.egg-info/pbr.json
new/sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib_pecanwsme.egg-info/pbr.json
--- old/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib_pecanwsme.egg-info/pbr.json
2018-06-26 15:58:56.000000000 +0200
+++
new/sphinxcontrib-pecanwsme-0.10.0/sphinxcontrib_pecanwsme.egg-info/pbr.json
2019-04-02 11:42:15.000000000 +0200
@@ -1 +1 @@
-{"git_version": "2df74e3", "is_release": false}
\ No newline at end of file
+{"git_version": "719603a", "is_release": false}
\ No newline at end of file


< Previous Next >
This Thread
  • No further messages