add: geventwebsocket (#12034) (#12040)

This commit is contained in:
Raboneko
2026-05-07 01:18:04 -05:00
committed by GitHub
parent 9f6c385e1a
commit f539f225f3
3 changed files with 52 additions and 0 deletions
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "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 <owen@fyralabs.com>
%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 <owen@fyralabs.com>
- Initial commit
@@ -0,0 +1 @@
rpm.version(pypi("gevent-websocket"));