Files
python-bitarray/python-bitarray.spec
2026-01-20 13:28:07 +08:00

41 lines
1.1 KiB
RPMSpec

# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: Jvle <keke.oerv@isrc.iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
%global srcname bitarray
Name: python-%{srcname}
Version: 3.8.0
Release: %autorelease
Summary: Efficient arrays of booleans for Python
License: PSF-2.0
URL: https://github.com/ilanschnell/bitarray
#!RemoteAsset
Source0: https://files.pythonhosted.org/packages/source/b/%{srcname}/%{srcname}-%{version}.tar.gz
BuildSystem: pyproject
BuildOption(install): -l %{srcname}
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
BuildRequires: gcc
Provides: python3-%{srcname}
%python_provide python3-%{srcname}
%description
bitarray provides an object type which efficiently represents an array of booleans.
%generate_buildrequires
%pyproject_buildrequires
%files -f %{pyproject_files}
%license LICENSE
%doc README.rst
%changelog
%{?autochangelog}