Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
python-sphinxcontrib-docbookrestapi
0001-Properly-declare-namespace-package.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Properly-declare-namespace-package.patch of Package python-sphinxcontrib-docbookrestapi
From e57ae0157bd5f0e8f504bc85f26f6b9dc49e3695 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke <saschpe@mailbox.org> 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 <licensing@enovance.com> +# +# Author: Cyril Roelandt <cyril.roelandt@enovance.com> +# +# 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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor