Accepting request 460224 from devel:languages:python:singlespec

- update for singlespec
- only use python3 version of Sphinx to build docs
- provide $flavor-doc for all pythons

OBS-URL: https://build.opensuse.org/request/show/460224
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-six?expand=0&rev=47
This commit is contained in:
Jan Matejek 2017-02-24 14:34:14 +00:00 committed by Git OBS Bridge
parent 3ca5d26bf6
commit 498b7a1f78
3 changed files with 11 additions and 6 deletions

View File

@ -1,7 +1,9 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 5 14:34:05 UTC 2016 - jmatejek@suse.com Thu Feb 23 14:47:06 UTC 2017 - jmatejek@suse.com
- update to run tests against python3 as well - update for singlespec
- only use python3 version of Sphinx to build docs
- provide $flavor-doc for all pythons
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 19 09:07:19 UTC 2016 - toddrme2178@gmail.com Tue Jan 19 09:07:19 UTC 2016 - toddrme2178@gmail.com

View File

@ -16,7 +16,7 @@
# #
%{?!python_module:%define python_module() python-%1 python3-%1} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-six-doc Name: python-six-doc
Version: 1.10.0 Version: 1.10.0
Release: 0 Release: 0
@ -26,14 +26,17 @@ License: MIT
Group: Development/Libraries/Python Group: Development/Libraries/Python
Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz Source: http://pypi.python.org/packages/source/s/six/six-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
# Documentation requirements: # require old python 2 explicitly to get the ssl module
BuildRequires: python
# require only one version of Sphinx for now
BuildRequires: python3-Sphinx
# Test requirements: # Test requirements:
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module py} BuildRequires: %{python_module py}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
Provides: %{python_module six-doc = %{version}}
%description %description
Six is a Python 2 and 3 compatibility library. It provides utility Six is a Python 2 and 3 compatibility library. It provides utility

View File

@ -16,7 +16,7 @@
# #
%{?!python_module:%define python_module() python-%1 python3-%1} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-six Name: python-six
Version: 1.10.0 Version: 1.10.0
Release: 0 Release: 0