From 5cdc22b6b6bcba4e385f93adecfe4ad9c418bb7c27bb42b1310bab2f52f2e027 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 13 Mar 2022 20:56:58 +0000 Subject: [PATCH] Accepting request 961420 from home:bnavigator:branches:devel:languages:python:pytest - Update to 0.12.0 * MNT: Stop using distutils by @pllim in #172 * Add --doctest-ufunc option to doctest Numpy ufuncs by @lpsinger in #174 * Fix typos by @kianmeng in #176 * Doctests in ufuncs should respect doctest_skip by @lpsinger in #175 * Use windows-2019 for GitHub Actions jobs by @lpsinger in #178 OBS-URL: https://build.opensuse.org/request/show/961420 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-doctestplus?expand=0&rev=24 --- pytest-doctestplus-0.11.0.tar.gz | 3 --- pytest-doctestplus-0.12.0.tar.gz | 3 +++ python-pytest-doctestplus.changes | 12 ++++++++++++ python-pytest-doctestplus.spec | 13 ++++++++----- 4 files changed, 23 insertions(+), 8 deletions(-) delete mode 100644 pytest-doctestplus-0.11.0.tar.gz create mode 100644 pytest-doctestplus-0.12.0.tar.gz diff --git a/pytest-doctestplus-0.11.0.tar.gz b/pytest-doctestplus-0.11.0.tar.gz deleted file mode 100644 index ea51074..0000000 --- a/pytest-doctestplus-0.11.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:efcb24a366d3b033d343298c2a60eae418b06803c85373450f10306815c7c632 -size 34637 diff --git a/pytest-doctestplus-0.12.0.tar.gz b/pytest-doctestplus-0.12.0.tar.gz new file mode 100644 index 0000000..13d9dc3 --- /dev/null +++ b/pytest-doctestplus-0.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2a423bdb808693198b78993fb4738e3e3813d38b3f89e00e28978e5677a76833 +size 36315 diff --git a/python-pytest-doctestplus.changes b/python-pytest-doctestplus.changes index 642d0c1..3ad1841 100644 --- a/python-pytest-doctestplus.changes +++ b/python-pytest-doctestplus.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sun Mar 13 08:57:08 UTC 2022 - Ben Greiner + +- Update to 0.12.0 + * MNT: Stop using distutils by @pllim in #172 + * Add --doctest-ufunc option to doctest Numpy ufuncs by @lpsinger + in #174 + * Fix typos by @kianmeng in #176 + * Doctests in ufuncs should respect doctest_skip by @lpsinger in + #175 + * Use windows-2019 for GitHub Actions jobs by @lpsinger in #178 + ------------------------------------------------------------------- Sun Oct 17 13:49:48 UTC 2021 - Ben Greiner diff --git a/python-pytest-doctestplus.spec b/python-pytest-doctestplus.spec index 3c86253..3fc6489 100644 --- a/python-pytest-doctestplus.spec +++ b/python-pytest-doctestplus.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,11 +24,11 @@ %define psuffix %{nil} %bcond_with test %endif + +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%define skip_python36 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-doctestplus%{psuffix} -Version: 0.11.0 +Version: 0.12.0 Release: 0 Summary: Pytest plugin with advanced doctest features License: BSD-3-Clause @@ -43,12 +43,15 @@ BuildRequires: python-rpm-macros Requires: python-packaging >= 17.0 Requires: python-pytest >= 4.6 Requires: python-setuptools >= 30.3.0 -BuildArch: noarch %if %{with test} BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module numpy} +BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module pip >= 19.3.1} BuildRequires: %{python_module pytest-doctestplus = %{version}} BuildRequires: %{python_module pytest-remotedata = 0.3.2} +%else +BuildArch: noarch %endif %python_subpackages