From 80540602eac0aab223ce18a7631ec95d0955f7a3432acf1af88f5f7606db7d9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 21 Aug 2020 14:17:20 +0000 Subject: [PATCH] Accepting request 828520 from home:mcalabkova:branches:devel:languages:python:pytest - Update to 0.3.1 * Adapt to importmode API changes in pytest-6.0 * Adapt to Node API changes in pytest-5.4 (Fixes #11) * Add support for python 3.8 (Fixes #15) * Add support for skipif option in testoutput directive (Fixes #17) * Add support for skipif option in testcode directive (Fixes #21) * A ValueError is raised if the text inside the directives is not properly formatted. * Ignore the option :hide: in directives (Fixes #19) * Fix detection of block boundaries in parser. OBS-URL: https://build.opensuse.org/request/show/828520 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-sphinx?expand=0&rev=8 --- pytest-sphinx-0.2.2.tar.gz | 3 --- pytest-sphinx-0.3.1.tar.gz | 3 +++ python-pytest-sphinx.changes | 14 ++++++++++++++ python-pytest-sphinx.spec | 9 +++++---- 4 files changed, 22 insertions(+), 7 deletions(-) delete mode 100644 pytest-sphinx-0.2.2.tar.gz create mode 100644 pytest-sphinx-0.3.1.tar.gz diff --git a/pytest-sphinx-0.2.2.tar.gz b/pytest-sphinx-0.2.2.tar.gz deleted file mode 100644 index 4185fb7..0000000 --- a/pytest-sphinx-0.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c68c9006530de8c7083f879f9fbf91a7ad4120e638f4e451a037833da2cc977 -size 11254 diff --git a/pytest-sphinx-0.3.1.tar.gz b/pytest-sphinx-0.3.1.tar.gz new file mode 100644 index 0000000..32127ab --- /dev/null +++ b/pytest-sphinx-0.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7c5d9f195e9f4df17726655e1a7463eaf710f9f50732cb16851231b46f1e7a8 +size 16486 diff --git a/python-pytest-sphinx.changes b/python-pytest-sphinx.changes index e151755..ac33258 100644 --- a/python-pytest-sphinx.changes +++ b/python-pytest-sphinx.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Aug 21 12:55:42 UTC 2020 - Marketa Calabkova + +- Update to 0.3.1 + * Adapt to importmode API changes in pytest-6.0 + * Adapt to Node API changes in pytest-5.4 (Fixes #11) + * Add support for python 3.8 (Fixes #15) + * Add support for skipif option in testoutput directive (Fixes #17) + * Add support for skipif option in testcode directive (Fixes #21) + * A ValueError is raised if the text inside the directives is not properly + formatted. + * Ignore the option :hide: in directives (Fixes #19) + * Fix detection of block boundaries in parser. + ------------------------------------------------------------------- Fri Jun 5 13:57:25 UTC 2020 - Matej Cepl diff --git a/python-pytest-sphinx.spec b/python-pytest-sphinx.spec index d26d26d..2815cbc 100644 --- a/python-pytest-sphinx.spec +++ b/python-pytest-sphinx.spec @@ -19,12 +19,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-pytest-sphinx -Version: 0.2.2 +Version: 0.3.1 Release: 0 Summary: Doctest plugin for pytest with support for Sphinx-specific doctest-directives License: BSD-3-Clause URL: https://github.com/thisch/pytest-sphinx -Source: https://github.com/thisch/pytest-sphinx/archive/v0.2.2.tar.gz#/pytest-sphinx-%{version}.tar.gz +Source: https://github.com/thisch/pytest-sphinx/archive/v%{version}.tar.gz#/pytest-sphinx-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -34,10 +34,11 @@ BuildArch: noarch Requires: python-enum34 %endif # SECTION test requirements -BuildRequires: %{python_module pytest-mock} -BuildRequires: %{python_module pytest4 >= 3.1.1} +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module pytest >= 3.1.1} %if %{with python2} BuildRequires: python2-enum34 +BuildRequires: python2-mock %endif # /SECTION %python_subpackages