1
0

- 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:
Tomáš Chvátal
2019-03-08 11:16:50 +00:00
committed by Git OBS Bridge
parent deb5ea48c7
commit c26cf10d95
4 changed files with 17 additions and 6 deletions

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e641bc720661c08ec3afe44a7951660cdff5e187259c433aa66e9ec2d5ccea1
size 19620

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Mar 8 11:10:23 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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]
-------------------------------------------------------------------
Thu Feb 14 12:22:53 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e6f9bfa00326dacf69e78df34544650432ab3049ad71291c42f29d90fdc3e5f6
size 14866