1
0

Compare commits

2 Commits

Author SHA256 Message Date
21e7c5f20b Accepting request 1275117 from devel:languages:python:pytest
- Run the testsuite.
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1275117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-tornasync?expand=0&rev=3
2025-05-07 17:19:38 +00:00
1497f313c1 - Run the testsuite.
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-tornasync?expand=0&rev=5
2025-05-07 07:07:48 +00:00
3 changed files with 19 additions and 15 deletions

BIN
pytest-tornasync-0.6.0.post2.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed May 7 07:00:17 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Run the testsuite.
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Thu Dec 7 09:06:17 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-tornasync
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,17 +23,17 @@ Release: 0
License: MIT
Summary: PyTest plugin for testing Tornado code
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
Source: https://github.com/eukaryote/pytest-tornasync/archive/refs/tags/%{version}.tar.gz#/pytest-tornasync-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.5}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module tornado >= 5.0}
# /SECTION
BuildRequires: fdupes
Requires: python-base >= 3.5
Requires: python-pytest
Requires: python-tornado >= 5.0
BuildArch: noarch
@@ -48,24 +48,21 @@ apps and handling of plain (undecoratored) native coroutine tests.
%setup -q -n pytest-tornasync-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# We'll package this ourself
rm -f %{buildroot}%{_prefix}/LICENSE
# Tests are missing files
# See: https://github.com/eukaryote/pytest-tornasync/pull/8
# There are no tags on github:
# See: https://github.com/eukaryote/pytest-tornasync/issues/9
# %%check
# %%pytest
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pytest_tornasync
%{python_sitelib}/pytest_tornasync-%{version}.dist-info
%changelog