Something went wrong. Try again.
Something went wrong. Try again.
1.3 kB · 50 lines
at 43
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051Name: python-tokenizersVersion: 0.22.1Release: 1%{?dist}Summary: Provides an implementation of today's most used tokenizers, with a focus on performance and versatility.
Group: Development/LibrariesLicense: MITURL: https://github.com/huggingface/tokenizersSource0: https://files.pythonhosted.org/packages/source/t/tokenizers/tokenizers-%{version}.tar.gz
BuildRequires: python3-buildBuildRequires: python3-setuptoolsBuildRequires: python3-wheelBuildRequires: python3-pipBuildRequires: python3-pdm-backendBuildRequires: python3-develBuildRequires: python3-maturinBuildRequires: cargo# Build fails due to gcc15, so use clang for now (also see line 41) #BuildRequires: gcc-g++BuildRequires: clang
Requires: python3-aiohttpRequires: python3-numpyRequires: python3-pydanticRequires: python3-pyyamlRequires: python3-requestsRequires: python3-sqlalchemyRequires: python3-tenacityProvides: python-tokenizersProvides: python3-tokenizers
%descriptionProvides an implementation of today's most used tokenizers, with a focus on performance and versatility.
%prep%autosetup -n tokenizers-%{version}
%buildexport CC=clangpython3 -m build --wheel --no-isolation
%installpython3 -m pip install --no-deps --prefix=%{_prefix} --root=%{buildroot} dist/*.whl
%files%{python3_sitearch}/tokenizers*
%changelog