Accepting request 1085168 from home:ojkastl_buildservice:Branch_devel_languages_python_pytest

add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085168
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-regressions?expand=0&rev=3
This commit is contained in:
2023-05-06 08:31:19 +00:00
committed by Git OBS Bridge
parent 058ac9e330
commit cdfea6a8b5
2 changed files with 15 additions and 10 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 5 19:54:00 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- add sle15_python_module_pythons
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 28 19:42:17 UTC 2021 - Matej Cepl <mcepl@suse.com> Wed Jul 28 19:42:17 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-regressions # spec file for package python-pytest-regressions
# #
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,38 +12,38 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
%define skip_python36 1
Name: python-pytest-regressions Name: python-pytest-regressions
Version: 2.2.0 Version: 2.2.0
Release: 0 Release: 0
License: MIT License: MIT
Summary: Python fixtures to write regression tests Summary: Python fixtures to write regression tests
Url: https://github.com/ESSS/pytest-regressions URL: https://github.com/ESSS/pytest-regressions
Group: Development/Languages/Python Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/p/pytest-regressions/pytest-regressions-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pytest-regressions/pytest-regressions-%{version}.tar.gz
# PATCH-FIX-UPSTREAM np_num-deprecated.patch gh#ESSS/pytest-regressions#63 mcepl@suse.com # PATCH-FIX-UPSTREAM np_num-deprecated.patch gh#ESSS/pytest-regressions#63 mcepl@suse.com
# don't use deprecated np.* types # don't use deprecated np.* types
Patch0: np_num-deprecated.patch Patch0: np_num-deprecated.patch
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module pytest >= 3.5.0} BuildRequires: %{python_module pytest >= 3.5.0}
BuildRequires: %{python_module pytest-datadir >= 1.2.0} BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module matplotlib} BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module numpy} BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pandas} BuildRequires: %{python_module pandas}
BuildRequires: %{python_module Pillow} BuildRequires: %{python_module pytest-datadir >= 1.2.0}
# /SECTION # /SECTION
BuildRequires: fdupes BuildRequires: fdupes
Requires: python-PyYAML
Requires: python-pytest >= 3.5.0 Requires: python-pytest >= 3.5.0
Requires: python-pytest-datadir >= 1.2.0 Requires: python-pytest-datadir >= 1.2.0
Requires: python-PyYAML
Suggests: python-matplotlib Suggests: python-matplotlib
Suggests: python-numpy Suggests: python-numpy
Suggests: python-pandas Suggests: python-pandas