From ceba5c988a23929a6bc34355b9e7dd8b6ab3912668ec2eb3bd96ced8f2b98d32 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 6 Jun 2025 05:39:39 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=68 --- python-bitarray.changes | 5 +++++ python-bitarray.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-bitarray.changes b/python-bitarray.changes index ea47a4c..dcd9dd5 100644 --- a/python-bitarray.changes +++ b/python-bitarray.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 6 05:30:55 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Fri May 30 06:40:23 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-bitarray.spec b/python-bitarray.spec index 99401cc..a23d739 100644 --- a/python-bitarray.spec +++ b/python-bitarray.spec @@ -25,7 +25,9 @@ License: Python-2.0 URL: https://github.com/ilanschnell/bitarray Source: https://github.com/ilanschnell/bitarray/archive/%{version}.tar.gz#/bitarray-%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} # SECTION test requirements BuildRequires: %{python_module dbm} BuildRequires: %{python_module pytest} @@ -52,10 +54,10 @@ length encoding, you may find this module useful. %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} rm examples/resize/.gitignore examples/puff/.gitignore @@ -67,6 +69,6 @@ rm examples/resize/.gitignore examples/puff/.gitignore %license LICENSE %doc examples CHANGE_LOG README.rst %{python_sitearch}/bitarray -%{python_sitearch}/bitarray-%{version}*.egg-info +%{python_sitearch}/bitarray-%{version}.dist-info %changelog