Accepting request 972469 from devel:languages:python:pytest

OBS-URL: https://build.opensuse.org/request/show/972469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-sphinx?expand=0&rev=5
This commit is contained in:
2022-04-25 21:35:07 +00:00
committed by Git OBS Bridge
4 changed files with 16 additions and 15 deletions

View File

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

View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Apr 25 06:23:43 UTC 2022 - Markéta Machová <mmachova@suse.com>
- 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 <mcalabkova@suse.com>

View File

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