2025-05-07 07:08:01 +00:00
committed by Git OBS Bridge
parent 62e550ff6c
commit d4682477ac
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 7 07:00:40 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Wed Apr 10 09:22:37 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-trio
#
# Copyright (c) 2024 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
@@ -24,7 +24,9 @@ Summary: Pytest plugin for trio
License: Apache-2.0 OR MIT
URL: https://github.com/python-trio/pytest-trio
Source: https://github.com/python-trio/pytest-trio/archive/v%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-outcome >= 1.1.0
@@ -52,10 +54,10 @@ rm pytest_trio/_tests/test_hypothesis_interaction.py
mv pytest_trio/_tests/ tests
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%{python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
%fdupes %{buildroot}%{$python_sitelib}
}
@@ -67,6 +69,6 @@ mv pytest_trio/_tests/ tests
%doc README.rst
%license LICENSE LICENSE.APACHE2 LICENSE.MIT
%{python_sitelib}/pytest_trio
%{python_sitelib}/pytest_trio-%{version}*-info
%{python_sitelib}/pytest_trio-%{version}.dist-info
%changelog