diff --git a/anda/langs/python/lhotse/anda.hcl b/anda/langs/python/lhotse/anda.hcl new file mode 100644 index 0000000000..e5e6e4be9f --- /dev/null +++ b/anda/langs/python/lhotse/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "lhotse.spec" + } +} diff --git a/anda/langs/python/lhotse/lhotse.spec b/anda/langs/python/lhotse/lhotse.spec new file mode 100644 index 0000000000..0d39e94e5e --- /dev/null +++ b/anda/langs/python/lhotse/lhotse.spec @@ -0,0 +1,46 @@ +%global pypi_name lhotse +%global _desc Tools for handling multimodal data in machine learning projects. + +Name: python-%{pypi_name} +Version: 1.33.0 +Release: 1%{?dist} +Summary: Tools for handling multimodal data in machine learning projects +License: Apache-2.0 +URL: https://lhotse.readthedocs.io/en/latest/ +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%git_clone https://github.com/lhotse-speech/lhotse.git %{version} + +%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}/lhotse + +%changelog +* Sun May 24 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/lhotse/update.rhai b/anda/langs/python/lhotse/update.rhai new file mode 100644 index 0000000000..5115d3c16a --- /dev/null +++ b/anda/langs/python/lhotse/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("lhotse"));