From d02303c5cf5b4001cff7de1e75be337045f86984 Mon Sep 17 00:00:00 2001 From: Owen-sz Date: Sun, 24 May 2026 23:48:42 -0500 Subject: [PATCH 1/4] 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 00000000000..e767a288919 --- /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 00000000000..7f8a998f338 --- /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 00000000000..b9faeb1d77a --- /dev/null +++ b/anda/langs/python/nemo-toolkit/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("PyQt6-Qt6")); From 6ccfb049c446997882864debc8a4eead03eb5e6a Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Mon, 25 May 2026 00:34:22 -0500 Subject: [PATCH 2/4] bdep Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/langs/python/nemo-toolkit/nemo-toolkit.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/anda/langs/python/nemo-toolkit/nemo-toolkit.spec b/anda/langs/python/nemo-toolkit/nemo-toolkit.spec index 7f8a998f338..92cca30c14e 100644 --- a/anda/langs/python/nemo-toolkit/nemo-toolkit.spec +++ b/anda/langs/python/nemo-toolkit/nemo-toolkit.spec @@ -14,6 +14,7 @@ BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling +BuildRequires: python3-importlib-metainfo BuildArch: noarch Packager: Owen Zimmerman From 3a720dead22a28ca92fe11ac145da732830a0231 Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Mon, 25 May 2026 00:44:12 -0500 Subject: [PATCH 3/4] weh Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/langs/python/nemo-toolkit/nemo-toolkit.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/anda/langs/python/nemo-toolkit/nemo-toolkit.spec b/anda/langs/python/nemo-toolkit/nemo-toolkit.spec index 92cca30c14e..3ac905d1283 100644 --- a/anda/langs/python/nemo-toolkit/nemo-toolkit.spec +++ b/anda/langs/python/nemo-toolkit/nemo-toolkit.spec @@ -15,6 +15,7 @@ BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling BuildRequires: python3-importlib-metainfo +BuildRequires: python3-setuptools BuildArch: noarch Packager: Owen Zimmerman From 8d287755e22f87fd787c660d07ab0359348416dd Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Mon, 25 May 2026 00:46:03 -0500 Subject: [PATCH 4/4] tireddd Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/langs/python/nemo-toolkit/nemo-toolkit.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/langs/python/nemo-toolkit/nemo-toolkit.spec b/anda/langs/python/nemo-toolkit/nemo-toolkit.spec index 3ac905d1283..2227730b31c 100644 --- a/anda/langs/python/nemo-toolkit/nemo-toolkit.spec +++ b/anda/langs/python/nemo-toolkit/nemo-toolkit.spec @@ -14,7 +14,7 @@ BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling -BuildRequires: python3-importlib-metainfo +BuildRequires: python3-importlib-metadata BuildRequires: python3-setuptools BuildArch: noarch