From 306abbe865e7be03541ac8ac894156915bcf4b1f Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 27 Dec 2025 15:08:31 -0800 Subject: [PATCH] add: audioop-lts (#8671) (#8702) * add: audioop-lts * github update --------- (cherry picked from commit 1eca359bc162892ba34c7a228508979b34e761c3) Signed-off-by: Owen-sz Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/langs/python/audioop-lts/anda.hcl | 5 ++ .../langs/python/audioop-lts/audioop-lts.spec | 48 +++++++++++++++++++ anda/langs/python/audioop-lts/update.rhai | 1 + 3 files changed, 54 insertions(+) create mode 100644 anda/langs/python/audioop-lts/anda.hcl create mode 100644 anda/langs/python/audioop-lts/audioop-lts.spec create mode 100644 anda/langs/python/audioop-lts/update.rhai diff --git a/anda/langs/python/audioop-lts/anda.hcl b/anda/langs/python/audioop-lts/anda.hcl new file mode 100644 index 0000000000..50f9eb5faf --- /dev/null +++ b/anda/langs/python/audioop-lts/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "audioop-lts.spec" + } +} diff --git a/anda/langs/python/audioop-lts/audioop-lts.spec b/anda/langs/python/audioop-lts/audioop-lts.spec new file mode 100644 index 0000000000..b34deacc15 --- /dev/null +++ b/anda/langs/python/audioop-lts/audioop-lts.spec @@ -0,0 +1,48 @@ +%global pypi_name audioop-lts +%global _desc An LTS port of Python's `audioop` module. + +Name: python-%{pypi_name} +Version: 0.2.2 +Release: 1%?dist +Summary: An LTS port of Python's `audioop` module +License: PSF-2.0 +URL: https://github.com/AbstractUmbra/audioop +Source0: %url/archive/refs/tags/%version.tar.gz + +BuildRequires: python3-devel +BuildRequires: python3-wheel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: gcc + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: audioop-lts +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n audioop-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files audioop + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%doc docs/audioop.rst +%license LICENSE + +%changelog +* Fri Dec 26 2025 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/audioop-lts/update.rhai b/anda/langs/python/audioop-lts/update.rhai new file mode 100644 index 0000000000..9bf62fbf0b --- /dev/null +++ b/anda/langs/python/audioop-lts/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("audioop-lts"));