From 38b05fcd24f9fbfbef511c23b2d913309014e63c2ba105b7b995d9ca1a14274c Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 7 May 2025 07:01:49 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-attrib?expand=0&rev=6 --- python-pytest-attrib.changes | 5 +++++ python-pytest-attrib.spec | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/python-pytest-attrib.changes b/python-pytest-attrib.changes index 4359039..9ada173 100644 --- a/python-pytest-attrib.changes +++ b/python-pytest-attrib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 7 06:47:34 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Mon Apr 8 12:10:23 UTC 2024 - Daniel Garcia diff --git a/python-pytest-attrib.spec b/python-pytest-attrib.spec index f83e3d1..00f66e2 100644 --- a/python-pytest-attrib.spec +++ b/python-pytest-attrib.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-attrib # -# 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 @@ -21,10 +21,11 @@ Version: 0.1.3 Release: 0 Summary: Pytest plugin to select tests based on attributes License: MIT -Group: Development/Languages/Python URL: http://pypi.python.org/pypi/pytest-attrib/ Source: https://github.com/AbdealiJK/pytest-attrib/archive/%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION tests @@ -52,10 +53,10 @@ It offers features similar to the nose plugin nose-attrib. rm setup.cfg %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib}/pytest_attrib %check @@ -65,6 +66,6 @@ rm setup.cfg %doc README.rst %license LICENSE %{python_sitelib}/pytest_attrib -%{python_sitelib}/pytest_attrib-%{version}*-info +%{python_sitelib}/pytest_attrib-%{version}.dist-info %changelog