Accepting request 656793 from home:mcepl:branches:devel:languages:python

- Because of cyclical dependencies between six and Sphinx, we
  need to to do multibuild.

OBS-URL: https://build.opensuse.org/request/show/656793
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-six?expand=0&rev=62
This commit is contained in:
Matej Cepl 2018-12-10 10:50:09 +00:00 committed by Git OBS Bridge
parent 7b020ee4e3
commit de04809549
2 changed files with 7 additions and 2 deletions

View File

@ -6,6 +6,8 @@ Mon Dec 10 09:20:52 CET 2018 - mcepl@suse.com
original class.
* Add `six.ensure_binary`, `six.ensure_text`, and
`six.ensure_str`.
- Because of cyclical dependencies between six and Sphinx, we
need to to do multibuild.
-------------------------------------------------------------------
Mon Sep 3 15:37:13 UTC 2018 - Hans-Peter Jansen <hpj@urpla.net>

View File

@ -38,8 +38,10 @@ License: MIT
Group: Development/Libraries/Python
URL: http://pypi.python.org/pypi/six/
Source: https://files.pythonhosted.org/packages/source/s/six/six-%{version}.tar.gz
BuildRequires: %{python_module base}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python2
BuildRequires: python3
%if %{with test}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module py}
@ -60,7 +62,7 @@ Provides: %{python_module six-doc = %{version}}
Summary: Documentation files for %name
Group: Documentation/HTML
%description
%description -n python-six-doc
Six is a Python 2 and 3 compatibility library. It provides utility
functions for smoothing over the differences between the Python
versions with the goal of writing Python code that is compatible on
@ -82,6 +84,7 @@ cd documentation && make html && rm _build/html/.buildinfo
%install
%if ! %{with test}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%check