From 78715e56ee6923d3bf1292c0693b02b33c442fce73542dcb435e9f38560f4641 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 2 May 2025 07:22:42 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=29 --- python-pytest-relaxed.changes | 5 +++++ python-pytest-relaxed.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-pytest-relaxed.changes b/python-pytest-relaxed.changes index f1ce939..9da42a1 100644 --- a/python-pytest-relaxed.changes +++ b/python-pytest-relaxed.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 2 07:22:27 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Sat Apr 6 12:11:05 UTC 2024 - Dirk Müller diff --git a/python-pytest-relaxed.spec b/python-pytest-relaxed.spec index 02ec1ee..df10454 100644 --- a/python-pytest-relaxed.spec +++ b/python-pytest-relaxed.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-relaxed # -# 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 @@ -25,8 +25,10 @@ License: BSD-2-Clause URL: https://github.com/bitprophet/pytest-relaxed Source: https://files.pythonhosted.org/packages/source/p/pytest-relaxed/pytest-relaxed-%{version}.tar.gz BuildRequires: %{python_module decorator >= 4} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest >= 7} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-decorator >= 4 @@ -42,11 +44,11 @@ Relaxed test discovery/organization plugin for pytest from python-paramiko autho %build export LANG=en_US.UTF-8 -%python_build +%pyproject_wheel %install export LANG=en_US.UTF-8 -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -56,6 +58,6 @@ export LANG=en_US.UTF-8 %license LICENSE %doc README.rst %{python_sitelib}/pytest_relaxed -%{python_sitelib}/pytest_relaxed-%{version}*-info +%{python_sitelib}/pytest_relaxed-%{version}.dist-info %changelog