SPEC: init for bitarray
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
This commit is contained in:
40
python-bitarray.spec
Normal file
40
python-bitarray.spec
Normal 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}
|
||||
Reference in New Issue
Block a user