forked from pool/python-pytest-sphinx
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user