From 6e3b758f522bb16e0e05d05cece8195a218b062c8fce3c389f5810c69bcc3f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 25 Apr 2022 06:28:30 +0000 Subject: [PATCH] Accepting request 972468 from home:mcalabkova:branches:devel:languages:python:pytest - Update to 0.4.0 * Drop python2.7 (Fixes #14) * Drop python3.5 and python3.6 * Require pytest>=7.0 OBS-URL: https://build.opensuse.org/request/show/972468 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-sphinx?expand=0&rev=10 --- pytest-sphinx-0.3.1.tar.gz | 3 --- pytest-sphinx-0.4.0.tar.gz | 3 +++ python-pytest-sphinx.changes | 8 ++++++++ python-pytest-sphinx.spec | 17 +++++------------ 4 files changed, 16 insertions(+), 15 deletions(-) delete mode 100644 pytest-sphinx-0.3.1.tar.gz create mode 100644 pytest-sphinx-0.4.0.tar.gz diff --git a/pytest-sphinx-0.3.1.tar.gz b/pytest-sphinx-0.3.1.tar.gz deleted file mode 100644 index 32127ab..0000000 --- a/pytest-sphinx-0.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7c5d9f195e9f4df17726655e1a7463eaf710f9f50732cb16851231b46f1e7a8 -size 16486 diff --git a/pytest-sphinx-0.4.0.tar.gz b/pytest-sphinx-0.4.0.tar.gz new file mode 100644 index 0000000..b5cf19f --- /dev/null +++ b/pytest-sphinx-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5f0db6b8d115442912fe1f55407c9f0e3f120e2eacf3c7e62c7727c48dc9f42c +size 15477 diff --git a/python-pytest-sphinx.changes b/python-pytest-sphinx.changes index ac33258..1755d56 100644 --- a/python-pytest-sphinx.changes +++ b/python-pytest-sphinx.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Apr 25 06:23:43 UTC 2022 - Markéta Machová + +- Update to 0.4.0 + * Drop python2.7 (Fixes #14) + * Drop python3.5 and python3.6 + * Require pytest>=7.0 + ------------------------------------------------------------------- Fri Aug 21 12:55:42 UTC 2020 - Marketa Calabkova diff --git a/python-pytest-sphinx.spec b/python-pytest-sphinx.spec index 2815cbc..68c031c 100644 --- a/python-pytest-sphinx.spec +++ b/python-pytest-sphinx.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-sphinx # -# Copyright (c) 2020 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 @@ -17,9 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 +%define skip_python2 1 Name: python-pytest-sphinx -Version: 0.3.1 +Version: 0.4.0 Release: 0 Summary: Doctest plugin for pytest with support for Sphinx-specific doctest-directives License: BSD-3-Clause @@ -28,18 +28,11 @@ Source: https://github.com/thisch/pytest-sphinx/archive/v%{version}.tar. BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-pytest >= 3.1.1 +Requires: python-pytest >= 7.0.0 BuildArch: noarch -%ifpython2 -Requires: python-enum34 -%endif # SECTION test requirements BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module pytest >= 3.1.1} -%if %{with python2} -BuildRequires: python2-enum34 -BuildRequires: python2-mock -%endif +BuildRequires: %{python_module pytest >= 7.0.0} # /SECTION %python_subpackages