SPEC: init for bitarray

Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
This commit is contained in:
Jvle
2026-01-16 15:54:07 +08:00
committed by Keke Ming
commit 1deb5e792e

40
python-bitarray.spec Normal file
View File

@@ -0,0 +1,40 @@
# 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}