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