Hello community,
here is the log from the commit of package python-sphinxcontrib-docbookrestapi
for openSUSE:Factory checked in at 2014-03-31 20:44:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-docbookrestapi (Old)
and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-docbookrestapi.new
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinxcontrib-docbookrestapi"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-sphinxcontrib-docbookrestapi/python-sphinxcontrib-docbookrestapi.changes
2014-01-09 15:40:28.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-docbookrestapi.new/python-sphinxcontrib-docbookrestapi.changes
2014-03-31 20:44:16.000000000 +0200
@@ -1,0 +2,20 @@
+Mon Mar 31 13:54:03 UTC 2014 - [email protected]
+
+- Add 0001-Properly-declare-namespace-package.patch: Fix build
+ with setuptools>0.7
+
+-------------------------------------------------------------------
+Wed Jan 8 15:42:59 UTC 2014 - [email protected]
+
+- Update to version 0.1+git.1386695359.8b44f51:
+ + Python 3 compatibility
+ + Fix the code to work with Python2.6
+ + tox.ini: clean the pep8 target
+ + Allow complex types for parameters
+ + Fix the generate_id function with PUT methods
+ + Add .gitreview file
+ + Wrap lines in the generated WADL file
+ + Generated human-readable method ids and titles
+- Move to _service using tar_scm and python_sdist
+
+-------------------------------------------------------------------
Old:
----
sphinxcontrib-docbookrestapi-0.1.tar.gz
New:
----
0001-Properly-declare-namespace-package.patch
_service
_servicedata
sphinxcontrib-docbookrestapi-0.1.dev3.g8b44f51.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sphinxcontrib-docbookrestapi.spec ++++++
--- /var/tmp/diff_new_pack.wgKTVj/_old 2014-03-31 20:44:16.000000000 +0200
+++ /var/tmp/diff_new_pack.wgKTVj/_new 2014-03-31 20:44:16.000000000 +0200
@@ -17,16 +17,19 @@
Name: python-sphinxcontrib-docbookrestapi
-Version: 0.1
+Version: 0.1.dev3.g8b44f51
Release: 0
Summary: Extension to Sphinx for generating REST API documentation
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/stackforge/sphinxcontrib-docbookrestapi
-Source:
https://pypi.python.org/packages/source/s/sphinxcontrib-docbookrestapi/sphinxcontrib-docbookrestapi-%{version}.tar.gz
+Source: sphinxcontrib-docbookrestapi-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM [email protected] --
https://review.openstack.org/#/c/84132/
+Patch0: 0001-Properly-declare-namespace-package.patch
BuildRequires: python-devel
BuildRequires: python-pbr
Requires: python-Sphinx
+Requires: python-pytidylib6
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()")}
@@ -40,6 +43,7 @@
%prep
%setup -q -n sphinxcontrib-docbookrestapi-%{version}
+%patch0 -p1
%build
python setup.py build
++++++ 0001-Properly-declare-namespace-package.patch ++++++
>From e57ae0157bd5f0e8f504bc85f26f6b9dc49e3695 Mon Sep 17 00:00:00 2001
From: Sascha Peilicke <[email protected]>
Date: Mon, 31 Mar 2014 15:33:30 +0200
Subject: [PATCH] Properly declare namespace package
The 'sphinxcontrib' is declared a namespace package by setuptools means
via pbr. Setuptools 0.7 or later mandates explicit declaration via
pkg_resources.declare_namespace (PEP-382).
Otherwise refuses to "setup.py build" on systems with setuptools>0.7.
Change-Id: If0d214a3b2d148450faa2b09292aafcdcf6837e9
---
sphinxcontrib/__init__.py | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/sphinxcontrib/__init__.py b/sphinxcontrib/__init__.py
index e69de29..4e4e048 100644
--- a/sphinxcontrib/__init__.py
+++ b/sphinxcontrib/__init__.py
@@ -0,0 +1,17 @@
+# Copyright (C) 2013 eNovance SAS <[email protected]>
+#
+# Author: Cyril Roelandt <[email protected]>
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+__import__('pkg_resources').declare_namespace(__name__)
--
1.9.1
++++++ _service ++++++
<services>
<service mode="disabled" name="tar_scm">
<param
name="url">git://github.com/stackforge/sphinxcontrib-docbookrestapi.git</param>
<param name="scm">git</param>
<param name="package-meta">.git</param>
<param name="versionformat">@PARENT_TAG@+git.%ct.%h</param>
<param name="revision">master</param>
<param name="changesgenerate">enable</param>
</service>
<service mode="disabled" name="python_sdist">
<param name="basename">sphinxcontrib-docbookrestapi-*.tar</param>
</service>
<service name="refresh_patches" mode="disabled">
<param name="changesgenerate">enable</param>
</service>
</services>
++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
<param
name="url">git://github.com/stackforge/sphinxcontrib-docbookrestapi.git</param>
<param name="changesrevision">8b44f51c01</param>
</service>
</servicedata>
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]