From f539f225f3911b295c5a2caec9ffd8bd3db88172 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 7 May 2026 01:18:04 -0500 Subject: [PATCH] add: geventwebsocket (#12034) (#12040) --- anda/langs/python/geventwebsocket/anda.hcl | 6 +++ .../geventwebsocket/geventwebsocket.spec | 45 +++++++++++++++++++ anda/langs/python/geventwebsocket/update.rhai | 1 + 3 files changed, 52 insertions(+) create mode 100644 anda/langs/python/geventwebsocket/anda.hcl create mode 100644 anda/langs/python/geventwebsocket/geventwebsocket.spec create mode 100644 anda/langs/python/geventwebsocket/update.rhai diff --git a/anda/langs/python/geventwebsocket/anda.hcl b/anda/langs/python/geventwebsocket/anda.hcl new file mode 100644 index 0000000000..0f26d7b84d --- /dev/null +++ b/anda/langs/python/geventwebsocket/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "geventwebsocket.spec" + } +} diff --git a/anda/langs/python/geventwebsocket/geventwebsocket.spec b/anda/langs/python/geventwebsocket/geventwebsocket.spec new file mode 100644 index 0000000000..19dc0e17e3 --- /dev/null +++ b/anda/langs/python/geventwebsocket/geventwebsocket.spec @@ -0,0 +1,45 @@ +%global pypi_name gevent-websocket +%global _desc gevent-websocket is a WebSocket library for the gevent networking library. + +Name: python-%{pypi_name} +Version: 0.10.1 +Release: 1%{?dist} +Summary: gevent-websocket is a WebSocket library for the gevent networking library +License: Apache-2.0 +URL: https://github.com/cynepiaadmin/geventwebsocket +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +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 %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files geventwebsocket + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE + +%changelog +* Thu May 07 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/geventwebsocket/update.rhai b/anda/langs/python/geventwebsocket/update.rhai new file mode 100644 index 0000000000..1056e6da0c --- /dev/null +++ b/anda/langs/python/geventwebsocket/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("gevent-websocket"));