14
0

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=68
This commit is contained in:
2025-06-06 05:39:39 +00:00
committed by Git OBS Bridge
parent 80ee3a42fd
commit ceba5c988a
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 6 05:30:55 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Fri May 30 06:40:23 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -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