forked from pool/python-pytest-doctestplus
- Update to 0.3.0:
* Honor the collect_ignore option used in conftest.py. [#36] * Make use of doctest_optionflags settings. [#39] * Make it possible to set FLOAT_CMP globally in setup.cfg. [#40] * Drop support for pytest versions earlier than 3.0. [#46] * Extend doctest-skip, doctest-skip-all, and doctest-requires directives to work in TeX files. [#43] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-doctestplus?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
deb5ea48c7
commit
c26cf10d95
@@ -26,13 +26,13 @@
|
||||
%endif
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pytest-doctestplus%{psuffix}
|
||||
Version: 0.2.0
|
||||
Version: 0.3.0
|
||||
Release: 0
|
||||
Summary: Pytest plugin with advanced doctest features
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/astropy/pytest-doctestplus
|
||||
Source: https://github.com/astropy/pytest-doctestplus/archive/v%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-doctestplus/pytest-doctestplus-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -43,7 +43,7 @@ BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module numpy >= 1.10}
|
||||
BuildRequires: %{python_module pytest >= 3.0}
|
||||
BuildRequires: %{python_module pytest-doctestplus}
|
||||
BuildRequires: %{python_module pytest-doctestplus >= %{version}}
|
||||
BuildRequires: %{python_module six}
|
||||
%endif
|
||||
%python_subpackages
|
||||
@@ -69,6 +69,7 @@ rm -f setup.cfg
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
export LANG=en_US.UTF8
|
||||
%python_expand PYTHONPATH=%{$python_sitelib} py.test-%{$python_bin_suffix} tests/ --doctest-plus --doctest-rst
|
||||
%endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user