Index: Makefile =================================================================== --- Makefile (revision 533898) +++ Makefile (working copy) @@ -30,7 +30,7 @@ SUB_LIST= PYTHON_VER=${PYTHON_VER} -OPTIONS_DEFINE= DEBUG JSON PCRE XML SSL +OPTIONS_DEFINE= COROAE DEBUG JSON PCRE XML SSL OPTIONS_DEFAULT= SSL OPTIONS_GROUP= PLG @@ -39,6 +39,10 @@ PLG_DESC= Enable plugins PSGI_DESC= PSGI embedded plugin +COROAE_DESC= Enable Coro::AnyEvent support +COROAE_BUILD_DEPENDS= p5-Coro>=0:devel/p5-Coro +COROAE_IMPLIES= PSGI + DEBUG_VARS= PYDISTUTILS_BUILDARGS+=--debug JSON_VARS= BUILDCONF_JSON=jansson @@ -65,6 +69,9 @@ post-patch-PSGI-on: @${REINPLACE_CMD} -e 's/%(main_plugin)s,/%(main_plugin)s, psgi,/' ${WRKSRC}/buildconf/base.ini +post-patch-COROAE-on: + @${REINPLACE_CMD} -e 's/%(main_plugin)s,/%(main_plugin)s, coroae,/' ${WRKSRC}/buildconf/base.ini + do-configure: @${DO_NADA} Index: files/patch-plugins_coroae_uwsgiplugin.py =================================================================== --- files/patch-plugins_coroae_uwsgiplugin.py (nonexistent) +++ files/patch-plugins_coroae_uwsgiplugin.py (working copy) @@ -0,0 +1,11 @@ +--- plugins/coroae/uwsgiplugin.py.orig 2019-02-09 14:48:07 UTC ++++ plugins/coroae/uwsgiplugin.py +@@ -9,7 +9,7 @@ for p in search_paths: + coroapi = p + + if not coroapi: +- print "unable to find the Coro perl module !!!" ++ print("unable to find the Coro perl module !!!") + sys.exit(1) + + NAME='coroae'