[python-gevent-socketio] initial import

Matthias Runge mrunge at fedoraproject.org
Mon Apr 29 14:21:16 UTC 2013


commit 986e2962653467db16d2352bcdce3a485ad7f480
Author: Matthias Runge <mrunge at redhat.com>
Date:   Mon Apr 29 16:21:06 2013 +0200

    initial import

 .gitignore                  |    1 +
 python-gevent-socketio.spec |   55 +++++++++++++++++++++++++++++++++++++++++++
 sources                     |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4cae9c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gevent-socketio-0.3.5-rc2.tar.gz
diff --git a/python-gevent-socketio.spec b/python-gevent-socketio.spec
new file mode 100644
index 0000000..aca04ba
--- /dev/null
+++ b/python-gevent-socketio.spec
@@ -0,0 +1,55 @@
+%global pypi_name gevent-socketio
+
+Name:           python-%{pypi_name}
+Version:        0.3.5
+Release:        2.rc2%{?dist}
+Summary:        SocketIO server based on the Gevent pywsgi server
+
+License:        BSD
+URL:            https://github.com/abourget/gevent-socketio
+Source0:        http://pypi.python.org/packages/source/g/%{pypi_name}/%{pypi_name}-%{version}-rc2.tar.gz
+BuildArch:      noarch
+ 
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+Requires:       python-gevent
+Requires:       python-gevent-websocket
+
+
+%description
+gevent-socketio is a Python implementation of the Socket.IO
+protocol, developed originally for Node.js by LearnBoost and then
+ported to other languages.  Socket.IO enables real-time web
+communications between a browser and a server, using a WebSocket-like
+API.  One aim of this project is to provide a single gevent-based
+API that works across the different WSGI-based web frameworks out
+there (Pyramid, Pylons, Flask, web2py, Django, etc...).  Only ~3 lines
+of code are required to tie-in gevent-socketio in your framework.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}-rc2
+# Remove bundled egg-info
+rm -rf %{pypi_name}.egg-info
+
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install --skip-build --root %{buildroot}
+
+
+%files
+%doc README.rst LICENSE
+%{python_sitelib}/socketio
+%{python_sitelib}/gevent_socketio-%{version}_rc2-py?.?.egg-info
+
+%changelog
+* Thu Apr 25 2013 Matthias Runge <mrunge at redhat.com> - 0.3.5-2.rc2
+- add missing requirement python-gevent-websocket
+- add missing BR python-setuptools
+
+* Wed Apr 17 2013 Matthias Runge <mrunge at redhat.com> - 0.3.5-1.rc2
+- Initial package.
diff --git a/sources b/sources
index e69de29..a8f8396 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ac9ae2af7806cee46353663e4f0038a9  gevent-socketio-0.3.5-rc2.tar.gz


More information about the scm-commits mailing list