Hello community,
here is the log from the commit of package python-sphinxcontrib-pecanwsme for openSUSE:Factory checked in at 2018-09-13 12:10:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-pecanwsme (Old)
and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-pecanwsme.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-pecanwsme"
Thu Sep 13 12:10:34 2018 rev:8 rq:632979 version:0.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sphinxcontrib-pecanwsme/python-sphinxcontrib-pecanwsme.changes 2015-09-02 07:53:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-sphinxcontrib-pecanwsme.new/python-sphinxcontrib-pecanwsme.changes 2018-09-13 12:10:42.490348498 +0200
@@ -1,0 +2,8 @@
+Tue Sep 4 07:54:08 UTC 2018 - dmueller@suse.com
+
+- update to 0.9:
+ * setup.cfg: Update with recent changes
+ * Port to Python 3
+- switch to singlespec
+
+-------------------------------------------------------------------
Old:
----
sphinxcontrib-pecanwsme-0.8.0.tar.gz
New:
----
sphinxcontrib-pecanwsme-0.9.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinxcontrib-pecanwsme.spec ++++++
--- /var/tmp/diff_new_pack.GnuCrx/_old 2018-09-13 12:10:43.062347854 +0200
+++ /var/tmp/diff_new_pack.GnuCrx/_new 2018-09-13 12:10:43.062347854 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-sphinxcontrib-pecanwsme
#
-# Copyright (c) 2015 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,25 +16,26 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-sphinxcontrib-pecanwsme
-Version: 0.8.0
+Version: 0.9.0
Release: 0
Summary: Extension to Sphinx for documenting APIs built with Pecan and WSME
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/dreamhost/sphinxcontrib-pecanwsme
-Source: https://pypi.python.org/packages/source/s/sphinxcontrib-pecanwsme/sphinxcontrib-pecanwsme-%{version}.tar.gz
+Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-pecanwsme/sphinxcontrib-pecanwsme-%{version}.tar.gz
BuildRequires: openstack-suse-macros
-BuildRequires: python-devel
-BuildRequires: python-pbr
-BuildRequires: python-setuptools
+
+BuildRequires: %{python_module pbr}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module six}
+BuildRequires: %{python_module sphinxcontrib-httpdomain}
+BuildRequires: python-rpm-macros
Requires: python-sphinxcontrib-httpdomain
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
BuildArch: noarch
-%endif
+
+%python_subpackages
%description
Extension to Sphinx for documenting APIs built with Pecan and WSME
@@ -43,14 +44,14 @@
%setup -q -n sphinxcontrib-pecanwsme-%{version}
%build
-%{__python2} setup.py build
+%python_build
%install
-%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
-%files
-%defattr(-,root,root,-)
-%doc LICENSE README.rst
-%{python2_sitelib}/*
+%files %{python_files}
+%license LICENSE
+%doc README.rst
+%{python_sitelib}/*
%changelog
++++++ sphinxcontrib-pecanwsme-0.8.0.tar.gz -> sphinxcontrib-pecanwsme-0.9.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.8.0/AUTHORS new/sphinxcontrib-pecanwsme-0.9.0/AUTHORS
--- old/sphinxcontrib-pecanwsme-0.8.0/AUTHORS 2014-04-28 16:54:01.000000000 +0200
+++ new/sphinxcontrib-pecanwsme-0.9.0/AUTHORS 2018-06-26 15:58:57.000000000 +0200
@@ -1,3 +1,4 @@
+Cyril Roelandt
Doug Hellmann
Doug Hellmann
Doug Hellmann
@@ -6,3 +7,5 @@
Mehdi Abaakouk
Monty Taylor
Pierre Padrixe
+Stephen Finucane
+Stephen Finucane
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.8.0/ChangeLog new/sphinxcontrib-pecanwsme-0.9.0/ChangeLog
--- old/sphinxcontrib-pecanwsme-0.8.0/ChangeLog 2014-04-28 16:54:01.000000000 +0200
+++ new/sphinxcontrib-pecanwsme-0.9.0/ChangeLog 2018-06-26 15:58:57.000000000 +0200
@@ -1,6 +1,15 @@
CHANGES
=======
+0.9.0
+-----
+
+* update announce.rst for 0.9.0 release
+* gitignore: Ignore '.eggs'
+* Add tox.ini
+* setup.cfg: Update with recent changes
+* Port to Python 3
+
0.8.0
-----
@@ -30,7 +39,7 @@
---
* add announcement file before tagging release
-* Add rest verb as prefix for custom_actions
+* Add rest verb as prefix for custom\_actions
0.4
---
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.8.0/PKG-INFO new/sphinxcontrib-pecanwsme-0.9.0/PKG-INFO
--- old/sphinxcontrib-pecanwsme-0.8.0/PKG-INFO 2014-04-28 16:54:01.000000000 +0200
+++ new/sphinxcontrib-pecanwsme-0.9.0/PKG-INFO 2018-06-26 15:58:57.000000000 +0200
@@ -1,11 +1,13 @@
Metadata-Version: 1.1
Name: sphinxcontrib-pecanwsme
-Version: 0.8.0
-Summary: Extension to Sphinx for documenting APIs built with Pecan and WSME
-Home-page: https://github.com/dreamhost/sphinxcontrib-pecanwsme
+Version: 0.9.0
+Summary: A Sphinx extension for documenting APIs built with Pecan and WSME
+Home-page: https://github.com/sphinx-contrib/pecanwsme
Author: Doug Hellmann
-Author-email: doug.hellmann@dreamhost.com
-License: Apache-2
+Author-email: doug@doughellmann.com
+License: UNKNOWN
+Project-URL: Bug Tracker, https://github.com/sphinx-contrib/pecanwsme/issues
+Project-URL: Source Code, https://github.com/sphinx-contrib/pecanwsme
Description: sphinxcontrib-pecanwsme
=======================
@@ -15,12 +17,19 @@
Keywords: documentation
sphinx
Platform: UNKNOWN
-Classifier: Development Status :: 3 - Alpha
+Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Documentation
+Classifier: Topic :: Documentation
+Classifier: Topic :: Documentation :: Sphinx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.8.0/announce.rst new/sphinxcontrib-pecanwsme-0.9.0/announce.rst
--- old/sphinxcontrib-pecanwsme-0.8.0/announce.rst 2014-03-17 21:07:57.000000000 +0100
+++ new/sphinxcontrib-pecanwsme-0.9.0/announce.rst 2018-06-26 15:58:15.000000000 +0200
@@ -1,5 +1,5 @@
===============================
- sphinxcontrib-pecanwsme 0.7.1
+ sphinxcontrib-pecanwsme 0.9.0
===============================
.. tags:: sphinxcontrib-pecanwsme, pecan, WSME, sphinx, release
@@ -14,4 +14,4 @@
What's New?
===========
-* Fix formatting issue for docstrings without param list
+* Add support for Python 3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.8.0/requirements.txt new/sphinxcontrib-pecanwsme-0.9.0/requirements.txt
--- old/sphinxcontrib-pecanwsme-0.8.0/requirements.txt 2013-09-13 21:50:14.000000000 +0200
+++ new/sphinxcontrib-pecanwsme-0.9.0/requirements.txt 2018-06-26 12:00:58.000000000 +0200
@@ -1 +1,2 @@
+six
sphinxcontrib-httpdomain
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.8.0/setup.cfg new/sphinxcontrib-pecanwsme-0.9.0/setup.cfg
--- old/sphinxcontrib-pecanwsme-0.8.0/setup.cfg 2014-04-28 16:54:01.000000000 +0200
+++ new/sphinxcontrib-pecanwsme-0.9.0/setup.cfg 2018-06-26 15:58:57.000000000 +0200
@@ -1,24 +1,33 @@
[metadata]
name = sphinxcontrib-pecanwsme
+summary = A Sphinx extension for documenting APIs built with Pecan and WSME
+description_file = README.rst
author = Doug Hellmann
-author-email = doug.hellmann@dreamhost.com
-summary = Extension to Sphinx for documenting APIs built with Pecan and WSME
-description-file = README.rst
-license = Apache-2
+author_email = doug@doughellmann.com
+url = https://github.com/sphinx-contrib/pecanwsme
+project_urls =
+ Bug Tracker = https://github.com/sphinx-contrib/pecanwsme/issues
+ Source Code = https://github.com/sphinx-contrib/pecanwsme
classifier =
- Development Status :: 3 - Alpha
+ Development Status :: 4 - Beta
Environment :: Console
Intended Audience :: Developers
Intended Audience :: Information Technology
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
+ Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
+ Programming Language :: Python :: 3
+ Programming Language :: Python :: 3.4
+ Programming Language :: Python :: 3.5
+ Programming Language :: Python :: 3.6
Topic :: Software Development :: Documentation
+ Topic :: Documentation
+ Topic :: Documentation :: Sphinx
keywords =
documentation
sphinx
-home-page = https://github.com/dreamhost/sphinxcontrib-pecanwsme
[files]
packages =
@@ -28,6 +37,5 @@
[egg_info]
tag_build =
-tag_svn_revision = 0
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.8.0/sphinxcontrib/pecanwsme/rest.py new/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib/pecanwsme/rest.py
--- old/sphinxcontrib-pecanwsme-0.8.0/sphinxcontrib/pecanwsme/rest.py 2014-04-28 16:49:53.000000000 +0200
+++ new/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib/pecanwsme/rest.py 2018-06-26 15:57:33.000000000 +0200
@@ -20,13 +20,14 @@
"""
import inspect
+from functools import reduce
+import six
from docutils import nodes
from docutils.parsers import rst
from docutils.statemachine import ViewList
-
-from sphinx.util.nodes import nested_parse_with_titles
from sphinx.util.docstrings import prepare_docstring
+from sphinx.util.nodes import nested_parse_with_titles
import wsme.types
@@ -53,7 +54,7 @@
:param content: Text describing the endpoint.
"""
method = method.lower().strip()
- if isinstance(content, basestring):
+ if isinstance(content, six.string_types):
content = content.splitlines()
yield ''
yield '.. http:{method}:: {path}'.format(**locals())
@@ -93,18 +94,18 @@
blank_line = docstring[-1]
docstring = docstring[:-1] # remove blank line appended automatically
-
if hasattr(method, '_wsme_definition'):
funcdef = method._wsme_definition
# Add the parameter type information. Assumes that the
# developer has provided descriptions of the parameters.
for arg in funcdef.arguments:
- docstring.append(':type %s: %s' %
- (arg.name, datatypename(arg.datatype)))
+ docstring.append(
+ ':type %s: %s' % (arg.name, datatypename(arg.datatype)))
- # Add a blank line before return type to avoid the formatting issues
- # that are caused because of missing blank lines between blocks
+ # Add a blank line before return type to avoid the formatting
+ # issues that are caused because of missing blank lines between
+ # blocks
docstring.append(blank_line)
# Add the return type
@@ -144,9 +145,10 @@
lines = []
- for method_name, http_method_name in [('get_all', 'get'),
- ('get', 'get'),
- ]:
+ for method_name, http_method_name in [
+ ('get_all', 'get'),
+ ('get', 'get'),
+ ]:
app.info('Checking %s for %s method' % (controller, method_name))
method = getattr(controller, method_name, None)
if method and method.exposed:
@@ -156,8 +158,7 @@
controller_path,
method,
http_method_name,
- )
- )
+ ))
# Handle the special case for get_one(). The path should
# include the name of the argument used to find the object.
@@ -171,14 +172,14 @@
path,
controller.get_one,
'get',
- )
- )
+ ))
- for method_name, http_method_name in [('post', 'post'),
- ('put', 'put'),
- ('delete', 'delete'),
- ('patch', 'patch'),
- ]:
+ for method_name, http_method_name in [
+ ('post', 'post'),
+ ('put', 'put'),
+ ('delete', 'delete'),
+ ('patch', 'patch'),
+ ]:
app.info('Checking %s for %s method' % (controller, method_name))
method = getattr(controller, method_name, None)
if method and method.exposed:
@@ -188,8 +189,7 @@
controller_path,
method,
http_method_name,
- )
- )
+ ))
# Look for exposed custom methods
for name in sorted(controller._custom_actions.keys()):
@@ -210,8 +210,7 @@
path,
method,
action.lower(),
- )
- )
+ ))
return lines
@@ -225,8 +224,7 @@
controller = import_object(self.arguments[0])
for line in self.make_rst_for_controller(
- self.options.get('webprefix', '/'),
- controller):
+ self.options.get('webprefix', '/'), controller):
app.info('ADDING: %r' % line)
result.append(line, '<' + __name__ + '>')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.8.0/sphinxcontrib_pecanwsme.egg-info/PKG-INFO new/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib_pecanwsme.egg-info/PKG-INFO
--- old/sphinxcontrib-pecanwsme-0.8.0/sphinxcontrib_pecanwsme.egg-info/PKG-INFO 2014-04-28 16:54:01.000000000 +0200
+++ new/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib_pecanwsme.egg-info/PKG-INFO 2018-06-26 15:58:56.000000000 +0200
@@ -1,11 +1,13 @@
Metadata-Version: 1.1
Name: sphinxcontrib-pecanwsme
-Version: 0.8.0
-Summary: Extension to Sphinx for documenting APIs built with Pecan and WSME
-Home-page: https://github.com/dreamhost/sphinxcontrib-pecanwsme
+Version: 0.9.0
+Summary: A Sphinx extension for documenting APIs built with Pecan and WSME
+Home-page: https://github.com/sphinx-contrib/pecanwsme
Author: Doug Hellmann
-Author-email: doug.hellmann@dreamhost.com
-License: Apache-2
+Author-email: doug@doughellmann.com
+License: UNKNOWN
+Project-URL: Bug Tracker, https://github.com/sphinx-contrib/pecanwsme/issues
+Project-URL: Source Code, https://github.com/sphinx-contrib/pecanwsme
Description: sphinxcontrib-pecanwsme
=======================
@@ -15,12 +17,19 @@
Keywords: documentation
sphinx
Platform: UNKNOWN
-Classifier: Development Status :: 3 - Alpha
+Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Documentation
+Classifier: Topic :: Documentation
+Classifier: Topic :: Documentation :: Sphinx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.8.0/sphinxcontrib_pecanwsme.egg-info/SOURCES.txt new/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib_pecanwsme.egg-info/SOURCES.txt
--- old/sphinxcontrib-pecanwsme-0.8.0/sphinxcontrib_pecanwsme.egg-info/SOURCES.txt 2014-04-28 16:54:01.000000000 +0200
+++ new/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib_pecanwsme.egg-info/SOURCES.txt 2018-06-26 15:58:57.000000000 +0200
@@ -6,6 +6,7 @@
requirements.txt
setup.cfg
setup.py
+tox.ini
sphinxcontrib/__init__.py
sphinxcontrib/pecanwsme/__init__.py
sphinxcontrib/pecanwsme/rest.py
@@ -14,5 +15,6 @@
sphinxcontrib_pecanwsme.egg-info/dependency_links.txt
sphinxcontrib_pecanwsme.egg-info/namespace_packages.txt
sphinxcontrib_pecanwsme.egg-info/not-zip-safe
+sphinxcontrib_pecanwsme.egg-info/pbr.json
sphinxcontrib_pecanwsme.egg-info/requires.txt
sphinxcontrib_pecanwsme.egg-info/top_level.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.8.0/sphinxcontrib_pecanwsme.egg-info/pbr.json new/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib_pecanwsme.egg-info/pbr.json
--- old/sphinxcontrib-pecanwsme-0.8.0/sphinxcontrib_pecanwsme.egg-info/pbr.json 1970-01-01 01:00:00.000000000 +0100
+++ new/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib_pecanwsme.egg-info/pbr.json 2018-06-26 15:58:56.000000000 +0200
@@ -0,0 +1 @@
+{"git_version": "2df74e3", "is_release": false}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.8.0/sphinxcontrib_pecanwsme.egg-info/requires.txt new/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib_pecanwsme.egg-info/requires.txt
--- old/sphinxcontrib-pecanwsme-0.8.0/sphinxcontrib_pecanwsme.egg-info/requires.txt 2014-04-28 16:54:01.000000000 +0200
+++ new/sphinxcontrib-pecanwsme-0.9.0/sphinxcontrib_pecanwsme.egg-info/requires.txt 2018-06-26 15:58:56.000000000 +0200
@@ -1 +1,2 @@
-sphinxcontrib-httpdomain
\ No newline at end of file
+six
+sphinxcontrib-httpdomain
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sphinxcontrib-pecanwsme-0.8.0/tox.ini new/sphinxcontrib-pecanwsme-0.9.0/tox.ini
--- old/sphinxcontrib-pecanwsme-0.8.0/tox.ini 1970-01-01 01:00:00.000000000 +0100
+++ new/sphinxcontrib-pecanwsme-0.9.0/tox.ini 2018-06-26 15:57:33.000000000 +0200
@@ -0,0 +1,20 @@
+[tox]
+minversion = 2.0
+envlist = style
+
+[testenv:style]
+deps =
+ isort
+ yapf
+ flake8
+commands =
+ isort -rc -y sphinxcontrib/
+ yapf -ri sphinxcontrib/
+ flake8 sphinxcontrib/
+
+[testenv:release]
+deps =
+ twine
+commands =
+ python setup.py -q bdist_wheel sdist
+ twine upload --skip-existing {toxinidir}/dist/*