Accepting request 612209 from home:mimi_vx:branches:devel:languages:python

- for_sphinx.patch - allow warnings for sphinx_build
  unfortuanetly python3 and python2 Sphinx have diff in docstring parsing

- for_sphinx.patch - allow warnings for sphinx_build
  unfortuanetly python3 and python2 Sphinx have diff in docstring parsing

OBS-URL: https://build.opensuse.org/request/show/612209
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=83
This commit is contained in:
Ondřej Súkup 2018-05-25 10:41:06 +00:00 committed by Git OBS Bridge
parent 39f2ef4be3
commit 79ac976ff3
4 changed files with 26 additions and 0 deletions

12
for_sphinx.patch Normal file
View File

@ -0,0 +1,12 @@
Index: pbr-4.0.3/setup.cfg
===================================================================
--- pbr-4.0.3.orig/setup.cfg
+++ pbr-4.0.3/setup.cfg
@@ -55,7 +55,6 @@ console_scripts =
all-files = 1
build-dir = doc/build
source-dir = doc/source
-warning-is-error = 1
[wheel]
universal = 1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 25 09:48:46 UTC 2018 - mimi.vx@gmail.com
- for_sphinx.patch - allow warnings for sphinx_build
unfortuanetly python3 and python2 Sphinx have diff in docstring parsing
-------------------------------------------------------------------
Wed May 23 02:48:49 UTC 2018 - arun@gmx.de

View File

@ -26,6 +26,7 @@ Group: Development/Languages/Python
URL: http://pypi.python.org/pypi/pbr
Source: https://files.pythonhosted.org/packages/source/p/pbr/pbr-%{version}.tar.gz
Source1: python-pbr-rpmlintrc
Patch0: for_sphinx.patch
BuildRequires: fdupes
# Documentation requirements:
BuildRequires: python3-Sphinx >= 1.6.2
@ -40,6 +41,7 @@ This package contains documentation files for python-pbr
%setup -q -n pbr-%{version}
# Get rid of ugly build-time deps that require network:
sed -i "s/, 'sphinx\.ext\.intersphinx'//" doc/source/conf.py
%patch0 -p1
%build
python3 setup.py build_sphinx

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri May 25 09:48:46 UTC 2018 - mimi.vx@gmail.com
- for_sphinx.patch - allow warnings for sphinx_build
unfortuanetly python3 and python2 Sphinx have diff in docstring parsing
-------------------------------------------------------------------
Wed May 23 02:48:49 UTC 2018 - arun@gmx.de