diff --git a/anda/langs/python/julius/anda.hcl b/anda/langs/python/julius/anda.hcl new file mode 100644 index 00000000000..0b48c1cc468 --- /dev/null +++ b/anda/langs/python/julius/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "julius.spec" + } +} diff --git a/anda/langs/python/julius/julius.spec b/anda/langs/python/julius/julius.spec new file mode 100644 index 00000000000..32474ffd248 --- /dev/null +++ b/anda/langs/python/julius/julius.spec @@ -0,0 +1,47 @@ +%global pypi_name julius +%global _desc Fast PyTorch based DSP for audio and 1D signals. + +Name: python-%{pypi_name} +Version: 0.2.7 +Release: 1%?dist +Summary: Fast PyTorch based DSP for audio and 1D signals +License: MIT +URL: https://github.com/adefossez/julius +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-build +BuildRequires: python3-wheel +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 +%autosetup -n julius-%version + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files julius + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE + +%changelog +* Fri Jan 16 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/julius/update.rhai b/anda/langs/python/julius/update.rhai new file mode 100644 index 00000000000..5ae6bf7ae96 --- /dev/null +++ b/anda/langs/python/julius/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("julius"));