Accepting request 1131557 from devel:languages:python:pytest

- switch to %{?sle15_python_module_pythons} for SLE15

OBS-URL: https://build.opensuse.org/request/show/1131557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-tornasync?expand=0&rev=2
This commit is contained in:
Ana Guerrero 2023-12-07 18:11:10 +00:00 committed by Git OBS Bridge
commit 0725f87431
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 7 09:06:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
- switch to %{?sle15_python_module_pythons} for SLE15
-------------------------------------------------------------------
Wed Jan 15 19:48:54 UTC 2020 - Todd R <toddrme2178@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-tornasync
#
# Copyright (c) 2020 SUSE LLC.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,22 +12,22 @@
# license that conforms to the Open Source Definition (Version 1.9)
# 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-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-pytest-tornasync
Version: 0.6.0.post2
Release: 0
License: MIT
Summary: PyTest plugin for testing Tornado code
Url: https://github.com/eukaryote/pytest-tornasync
URL: https://github.com/eukaryote/pytest-tornasync
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/p/pytest-tornasync/pytest-tornasync-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module base >= 3.5}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module tornado >= 5.0}