[uwsgi/f21] Adding -plugin-tornado and -plugin-tornado3
Jorge A Gallegos
kad at fedoraproject.org
Sun Sep 7 20:23:06 UTC 2014
commit 16c6bbb297335189dd079892f356d399cbaab5d7
Author: Jorge Gallegos <kad at fedoraproject.org>
Date: Fri Sep 5 19:53:12 2014 -0700
Adding -plugin-tornado and -plugin-tornado3
The latter is the python3 version
fedora.ini | 2 +-
uwsgi.spec | 23 +++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/fedora.ini b/fedora.ini
index 8f6e8e4..a4f44bc 100644
--- a/fedora.ini
+++ b/fedora.ini
@@ -9,4 +9,4 @@ routing = auto
ssl = auto
malloc_implementation = libc
embedded_plugins = corerouter, echo, ping
-plugins = alarm_curl, alarm_xmpp, airbrake, cache, carbon, cgi, coroae, cplusplus, curl_cron, dumbloop, fastrouter, fiber, forkptyrouter, gccgo, geoip, gevent, glusterfs, graylog2, greenlet, gridfs, http, jvm, jwsgi, ldap, logcrypto, logfile, logpipe, logsocket, logzmq, lua, mongodblog, mongrel2, mono, msgpack, nagios, pam, php, psgi, pty, python, rack, rawrouter, rbthreads, redislog, ring, router_access, router_basicauth, router_cache, router_expires, router_hash, router_http, router_memcached, router_metrics, router_radius, router_redirect, router_redis, router_rewrite, router_spnego, router_static, router_uwsgi, router_xmldir, rpc, rrdtool, rsyslog, ruby19, spooler, sqlite3, ssi, sslrouter, stats_pusher_file, stats_pusher_mongodb, stats_pusher_socket, stats_pusher_statsd, syslog, systemd_logger, ugreen, zergpool
+plugins = alarm_curl, alarm_xmpp, airbrake, cache, carbon, cgi, coroae, cplusplus, curl_cron, dumbloop, fastrouter, fiber, forkptyrouter, gccgo, geoip, gevent, glusterfs, graylog2, greenlet, gridfs, http, jvm, jwsgi, ldap, logcrypto, logfile, logpipe, logsocket, logzmq, lua, mongodblog, mongrel2, mono, msgpack, nagios, pam, php, psgi, pty, python, rack, rawrouter, rbthreads, redislog, ring, router_access, router_basicauth, router_cache, router_expires, router_hash, router_http, router_memcached, router_metrics, router_radius, router_redirect, router_redis, router_rewrite, router_spnego, router_static, router_uwsgi, router_xmldir, rpc, rrdtool, rsyslog, ruby19, spooler, sqlite3, ssi, sslrouter, stats_pusher_file, stats_pusher_mongodb, stats_pusher_socket, stats_pusher_statsd, syslog, systemd_logger, tornado, ugreen, zergpool
diff --git a/uwsgi.spec b/uwsgi.spec
index 136477c..23134b7 100644
--- a/uwsgi.spec
+++ b/uwsgi.spec
@@ -543,6 +543,22 @@ Requires: %{name}-plugin-common
%description -n %{name}-plugin-ugreen
This package contains the uGreen plugin for uWSGI
+%package -n %{name}-plugin-tornado
+Summary: uWSGI - Plugin for Tornado support
+Group: System Environment/Daemons
+Requires: %{name}-plugin-common, python-tornado
+
+%description -n %{name}-plugin-tornado
+This package contains the tornado plugin for uWSGI
+
+%package -n %{name}-plugin-tornado3
+Summary: uWSGI - Plugin for Tornado/Python3 support
+Group: System Environment/Daemons
+Requires: %{name}-plugin-common, python3-tornado
+
+%description -n %{name}-plugin-tornado3
+This package contains the tornado (python v3) plugin for uWSGI
+
%package -n %{name}-plugin-zergpool
Summary: uWSGI - Plugin for zergpool support
Group: System Environment/Daemons
@@ -762,6 +778,7 @@ echo "plugin_dir = %{_libdir}/%{name}" >> buildconf/$(basename %{SOURCE1})
%build
CFLAGS="%{optflags} -Wno-unused-but-set-variable" python uwsgiconfig.py --build fedora.ini
CFLAGS="%{optflags} -Wno-unused-but-set-variable" python3 uwsgiconfig.py --plugin plugins/python fedora python3
+CFLAGS="%{optflags} -Wno-unused-but-set-variable" python3 uwsgiconfig.py --plugin plugins/tornado fedora tornado3
%{_httpd_apxs} -Wc,-Wall -Wl -c apache2/mod_proxy_uwsgi.c
%install
@@ -1026,6 +1043,12 @@ exit 0
%files -n %{name}-plugin-ugreen
%{_libdir}/%{name}/ugreen_plugin.so
+%files -n %{name}-plugin-tornado
+%{_libdir}/%{name}/tornado_plugin.so
+
+%files -n %{name}-plugin-tornado3
+%{_libdir}/%{name}/tornado3_plugin.so
+
%files -n %{name}-plugin-zergpool
%{_libdir}/%{name}/zergpool_plugin.so
More information about the scm-commits
mailing list