From d02303c5cf5b4001cff7de1e75be337045f86984 Mon Sep 17 00:00:00 2001 From: Owen-sz Date: Sun, 24 May 2026 23:48:42 -0500 Subject: [PATCH] add: nemo-toolkit Signed-off-by: Owen-sz --- anda/langs/python/nemo-toolkit/anda.hcl | 6 ++ .../python/nemo-toolkit/nemo-toolkit.spec | 55 +++++++++++++++++++ anda/langs/python/nemo-toolkit/update.rhai | 1 + 3 files changed, 62 insertions(+) create mode 100644 anda/langs/python/nemo-toolkit/anda.hcl create mode 100644 anda/langs/python/nemo-toolkit/nemo-toolkit.spec create mode 100644 anda/langs/python/nemo-toolkit/update.rhai diff --git a/anda/langs/python/nemo-toolkit/anda.hcl b/anda/langs/python/nemo-toolkit/anda.hcl new file mode 100644 index 0000000000..e767a28891 --- /dev/null +++ b/anda/langs/python/nemo-toolkit/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "nemo-toolkit.spec" + } +} diff --git a/anda/langs/python/nemo-toolkit/nemo-toolkit.spec b/anda/langs/python/nemo-toolkit/nemo-toolkit.spec new file mode 100644 index 0000000000..7f8a998f33 --- /dev/null +++ b/anda/langs/python/nemo-toolkit/nemo-toolkit.spec @@ -0,0 +1,55 @@ +%global pypi_name nemo_toolkit +%global real_name nemo-toolkit +%global _desc A scalable generative AI framework built for researchers and developers working on Large Language Models, Multimodal, and Speech AI (Automatic Speech Recognition and Text-to-Speech). + +Name: python-%{real_name} +Version: 2.7.3 +Release: 1%{?dist} +Summary: Scalable generative AI framework built for researchers and developers +License: Apache-2.0 +URL: https://docs.nvidia.com/nemo/speech/nightly/index.html +Source0: %{pypi_source} + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling +BuildArch: noarch + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{real_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{real_name}} + +%description -n python3-%{real_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%pyproject_patch_dependency protobuf:drop_constraints +%pyproject_patch_dependency fsspec:drop_constraints + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files nemo +%pyproject_save_files scripts +%pyproject_save_files tests + +%files -n python3-%{real_name} -f %{pyproject_files} +%doc README.md +%license LICENSE +%{python3_sitelib}/nemo/ +%{python3_sitelib}/scripts/ +%{python3_sitelib}/examples/ + +%changelog +* Sun May 24 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/nemo-toolkit/update.rhai b/anda/langs/python/nemo-toolkit/update.rhai new file mode 100644 index 0000000000..b9faeb1d77 --- /dev/null +++ b/anda/langs/python/nemo-toolkit/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("PyQt6-Qt6"));