Files
packages/anda/langs/python/datasets/datasets.spec
T
Raboneko 4a9fae78a5 add: datasets (#12576) (#12678)
(cherry picked from commit 63dbd12e8d)

Signed-off-by: Owen-sz <owen@fyralabs.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
2026-05-26 21:42:19 -05:00

51 lines
1.2 KiB
RPMSpec

%global pypi_name datasets
%global _desc The largest hub of ready-to-use datasets for AI models with fast, easy-to-use and efficient data manipulation tools.
Name: python-%{pypi_name}
Version: 4.8.5
Release: 1%{?dist}
Summary: The largest hub of ready-to-use datasets for AI models with fast, easy-to-use and efficient data manipulation tools
License: Apache-2.0
URL: https://github.com/huggingface/datasets
Source0: %{pypi_source}
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-importlib-metadata
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildArch: noarch
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n %{pypi_name}-%{version}
%pyproject_patch_dependency pyarrow:drop_constraints
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{pypi_name}
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md
%license LICENSE
%{_bindir}/datasets-cli
%changelog
* Sun May 24 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit