Files
python-pytest/python-pytest-doc.spec
Ondřej Súkup c1937857ff Accepting request 648992 from home:mimi_vx:branches:devel:languages:python:pytest
- update to 3.10.1
 * Fix nested usage of debugging plugin (pdb)
 * Block the stepwise plugin if cacheprovider is also blocked, as one
    depends on the other.
 * Parse minversion as an actual version and not as dot-separated strings.
 * Fix duplicate collection due to multiple args matching the same packages.
 * Fix item.nodeid with resolved symlinks.
 * Fix collection of direct symlinked files, where the target does not match
    python_files.
 *  Fix TypeError in report_collect with _collect_report_last_write.

OBS-URL: https://build.opensuse.org/request/show/648992
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=21
2018-11-14 14:17:43 +00:00

65 lines
2.0 KiB
RPMSpec

#
# spec file for package python-pytest-doc
#
# 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
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-doc
Version: 3.10.1
Release: 0
Summary: Documentation for python-pytest, a testing tool with autodiscovery
License: MIT
Group: Documentation/HTML
URL: https://github.com/pytest-dev/pytest
Source: https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pytest = %{version}}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: python-mock
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx
BuildRequires: python3-sphinxcontrib-trio
Provides: %{python_module pytest-doc = %{version}}
BuildArch: noarch
%ifpython2
BuildRequires: python-funcsigs
%endif
%description
This package contains the documentation to pytest, a cross-project Python
testing tool.
%prep
%setup -q -n pytest-%{version}
%build
python3 setup.py build_sphinx
rm doc/build/html/.buildinfo
%install
# Only building documentation
#Check here because in main package creates a buildcycle
%check
%{python_expand py.test-%{$python_bin_suffix}}
%files
%doc CHANGELOG.rst
%doc doc/build/html
%license LICENSE
%changelog