14
0
forked from pool/python-pbr

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:
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

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