2015-05-25 21:05:14 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-pytest-doc
|
|
|
|
|
#
|
2018-01-16 08:25:01 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-05-25 21:05:14 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2018-09-17 09:46:23 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-05-25 21:05:14 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2017-02-27 17:33:58 +00:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2015-05-25 21:05:14 +00:00
|
|
|
Name: python-pytest-doc
|
2018-11-14 14:17:43 +00:00
|
|
|
Version: 3.10.1
|
2015-05-25 21:05:14 +00:00
|
|
|
Release: 0
|
2017-12-15 13:01:40 +00:00
|
|
|
Summary: Documentation for python-pytest, a testing tool with autodiscovery
|
2015-05-25 21:05:14 +00:00
|
|
|
License: MIT
|
2017-12-15 13:01:40 +00:00
|
|
|
Group: Documentation/HTML
|
2018-06-25 09:35:39 +00:00
|
|
|
URL: https://github.com/pytest-dev/pytest
|
2017-11-02 09:24:10 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
|
2017-02-27 17:33:58 +00:00
|
|
|
BuildRequires: %{python_module hypothesis}
|
2018-06-25 09:35:39 +00:00
|
|
|
BuildRequires: %{python_module pytest = %{version}}
|
2017-11-02 09:24:10 +00:00
|
|
|
BuildRequires: %{python_module setuptools_scm}
|
2018-06-25 09:35:39 +00:00
|
|
|
BuildRequires: python-mock
|
2017-12-15 13:01:40 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2017-11-02 09:24:10 +00:00
|
|
|
BuildRequires: python3-Sphinx
|
2018-04-02 20:48:47 +00:00
|
|
|
BuildRequires: python3-sphinxcontrib-trio
|
2018-05-06 12:55:08 +00:00
|
|
|
Provides: %{python_module pytest-doc = %{version}}
|
|
|
|
|
BuildArch: noarch
|
2017-12-15 13:01:40 +00:00
|
|
|
%ifpython2
|
|
|
|
|
BuildRequires: python-funcsigs
|
|
|
|
|
%endif
|
2015-05-25 21:05:14 +00:00
|
|
|
|
|
|
|
|
%description
|
2017-12-15 13:01:40 +00:00
|
|
|
This package contains the documentation to pytest, a cross-project Python
|
|
|
|
|
testing tool.
|
2015-05-25 21:05:14 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n pytest-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2017-02-27 17:33:58 +00:00
|
|
|
python3 setup.py build_sphinx
|
2016-02-16 08:27:13 +00:00
|
|
|
rm doc/build/html/.buildinfo
|
2015-05-25 21:05:14 +00:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
# Only building documentation
|
|
|
|
|
|
2018-06-25 09:35:39 +00:00
|
|
|
#Check here because in main package creates a buildcycle
|
2016-09-20 11:23:40 +00:00
|
|
|
%check
|
2018-06-25 09:35:39 +00:00
|
|
|
%{python_expand py.test-%{$python_bin_suffix}}
|
2016-09-20 11:23:40 +00:00
|
|
|
|
2015-05-25 21:05:14 +00:00
|
|
|
%files
|
2018-05-06 12:55:08 +00:00
|
|
|
%doc CHANGELOG.rst
|
2016-02-16 08:27:13 +00:00
|
|
|
%doc doc/build/html
|
2018-03-12 11:01:55 +00:00
|
|
|
%license LICENSE
|
2015-05-25 21:05:14 +00:00
|
|
|
|
|
|
|
|
%changelog
|