From 68827dc9b2fa1de4fcfffe52545c13022106e7d1 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 24 Jan 2026 19:47:31 -0800 Subject: [PATCH] add: pyfluidsynth (#9470) (#9473) --- anda/langs/python/pyfluidsynth/anda.hcl | 6 +++ .../python/pyfluidsynth/pyfluidsynth.spec | 49 +++++++++++++++++++ anda/langs/python/pyfluidsynth/update.rhai | 1 + 3 files changed, 56 insertions(+) create mode 100644 anda/langs/python/pyfluidsynth/anda.hcl create mode 100644 anda/langs/python/pyfluidsynth/pyfluidsynth.spec create mode 100644 anda/langs/python/pyfluidsynth/update.rhai diff --git a/anda/langs/python/pyfluidsynth/anda.hcl b/anda/langs/python/pyfluidsynth/anda.hcl new file mode 100644 index 0000000000..e750524504 --- /dev/null +++ b/anda/langs/python/pyfluidsynth/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "pyfluidsynth.spec" + } +} diff --git a/anda/langs/python/pyfluidsynth/pyfluidsynth.spec b/anda/langs/python/pyfluidsynth/pyfluidsynth.spec new file mode 100644 index 0000000000..6b105a8db5 --- /dev/null +++ b/anda/langs/python/pyfluidsynth/pyfluidsynth.spec @@ -0,0 +1,49 @@ +%global pypi_name pyfluidsynth +%global _desc Python bindings for FluidSynth. + +Name: python-%{pypi_name} +Version: 1.3.4 +Release: 1%?dist +Summary: Python bindings for FluidSynth +License: LGPL-2.1 +URL: https://github.com/nwhitehead/pyfluidsynth +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-build + +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 pyfluidsynth-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install + +%files -n python3-%{pypi_name} +%doc README.md +%license LICENSE +%{_usr}/lib/python3.14/site-packages/__pycache__/fluidsynth.*.pyc +%{_usr}/lib/python3.14/site-packages/__pycache__/fluidsynth.*.*.pyc +%{_usr}/lib/python3.14/site-packages/fluidsynth.py +%{_usr}/lib/python3.14/site-packages/%{pypi_name}-%{version}.dist-info/* + +%changelog +* Sat Jan 24 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/pyfluidsynth/update.rhai b/anda/langs/python/pyfluidsynth/update.rhai new file mode 100644 index 0000000000..b40456f677 --- /dev/null +++ b/anda/langs/python/pyfluidsynth/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("pyfluidsynth"));