forked from pool/python-six
- Remove argparse dependency
- Remove argparse dependency OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-six?expand=0&rev=55
This commit is contained in:
committed by
Git OBS Bridge
parent
c16d819d80
commit
e9d1fbbd7d
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-six-doc
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -20,23 +20,20 @@
|
||||
Name: python-six-doc
|
||||
Version: 1.11.0
|
||||
Release: 0
|
||||
Url: http://pypi.python.org/pypi/six/
|
||||
Summary: Python 2 and 3 compatibility utilities
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module six}
|
||||
# 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:
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module py}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
# require only one version of Sphinx
|
||||
BuildRequires: python3-Sphinx
|
||||
Provides: %{python_module six-doc = %{version}}
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Six is a Python 2 and 3 compatibility library. It provides utility
|
||||
@@ -54,7 +51,7 @@ what is provided.
|
||||
cd documentation && make html && rm _build/html/.buildinfo
|
||||
|
||||
%install
|
||||
# only build documentation
|
||||
:
|
||||
|
||||
# Run tests here to avoid dependency loop
|
||||
%check
|
||||
@@ -66,7 +63,7 @@ popd
|
||||
rm -rf test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README.rst CHANGES documentation/_build/html
|
||||
%license LICENSE
|
||||
%doc README.rst CHANGES documentation/_build/html
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user