diff options
author | joerg <joerg@pkgsrc.org> | 2019-03-06 13:07:58 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2019-03-06 13:07:58 +0000 |
commit | 8480fcc9fa299df4d734cf5dbbd968793bdb1d63 (patch) | |
tree | fe3212513dc31710a9e1808eeac4c6bee658a961 /www/py-uwsgi | |
parent | fb4a141be9c9ce5c6bb369d62b564649b0940e27 (diff) | |
download | pkgsrc-8480fcc9fa299df4d734cf5dbbd968793bdb1d63.tar.gz |
Add uwsgi-sse_offload option for integrating the redis pubsub to Server
Sent Event bridge patch. Defaults to off.
Diffstat (limited to 'www/py-uwsgi')
-rw-r--r-- | www/py-uwsgi/Makefile | 5 | ||||
-rw-r--r-- | www/py-uwsgi/distinfo | 6 | ||||
-rw-r--r-- | www/py-uwsgi/options.mk | 17 |
3 files changed, 23 insertions, 5 deletions
diff --git a/www/py-uwsgi/Makefile b/www/py-uwsgi/Makefile index edd26999105..9a797e2e4a7 100644 --- a/www/py-uwsgi/Makefile +++ b/www/py-uwsgi/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.42 2019/02/27 12:15:54 adam Exp $ +# $NetBSD: Makefile,v 1.43 2019/03/06 13:07:58 joerg Exp $ DISTNAME= uwsgi-2.0.18 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=u/uWSGI/} +DISTFILES= ${DEFAULT_DISTFILES} MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://uwsgi-docs.readthedocs.io/ @@ -18,7 +19,7 @@ EGG_NAME= ${DISTNAME:S/uwsgi/uWSGI/} .include "options.mk" INSTALL_ENV+= UWSGI_INCLUDES=${PREFIX}/include -INSTALL_ENV+= UWSGI_PROFILE_OVERRIDE="${UWSGI_DEBUG};${UWSGI_JSON};${UWSGI_PCRE};${UWSGI_SSL};${UWSGI_UUID};${UWSGI_XML};${UWSGI_YAML}" +INSTALL_ENV+= UWSGI_PROFILE_OVERRIDE="${UWSGI_DEBUG};${UWSGI_JSON};${UWSGI_PCRE};${UWSGI_SSE};${UWSGI_SSL};${UWSGI_UUID};${UWSGI_XML};${UWSGI_YAML}" INSTALLATION_DIRS+= share/examples/${PYPKGPREFIX}-uwsgi post-install: diff --git a/www/py-uwsgi/distinfo b/www/py-uwsgi/distinfo index 174cfc65548..60242ce709d 100644 --- a/www/py-uwsgi/distinfo +++ b/www/py-uwsgi/distinfo @@ -1,5 +1,9 @@ -$NetBSD: distinfo,v 1.34 2019/02/27 12:15:54 adam Exp $ +$NetBSD: distinfo,v 1.35 2019/03/06 13:07:58 joerg Exp $ +SHA1 (8253573a0db1c7d7b9d968d55669e70e40355bed.zip) = 7cf7aca4b0e5e64ebe5bec813f4f48c5b009eac5 +RMD160 (8253573a0db1c7d7b9d968d55669e70e40355bed.zip) = b213ea821a3c12a6c092615ce02a3dd4bbaff0c6 +SHA512 (8253573a0db1c7d7b9d968d55669e70e40355bed.zip) = f523d41c5c9a376b98b1e7c59e02b05a7d0aa5ad424add4a7ca1bb565c758c67368d29ee1939f1c8cdea7b55ec05ad9b8d5a293d40866c5936525f45290b17dd +Size (8253573a0db1c7d7b9d968d55669e70e40355bed.zip) = 11290 bytes SHA1 (uwsgi-2.0.18.tar.gz) = e7e402dd5b5c68a995585284c4529da9a686a0a9 RMD160 (uwsgi-2.0.18.tar.gz) = eb30a41097d306678203aa81bf5f4e27c722b8f8 SHA512 (uwsgi-2.0.18.tar.gz) = 6561703279bcc4a81311d033810ac066d0f113bab13b0942f3eef86cac29c584a6641b52476840d6895151aee5ed064ae2d03b18932cf7f47e62f4eeed76da61 diff --git a/www/py-uwsgi/options.mk b/www/py-uwsgi/options.mk index 7cf6ab88fd8..db4505a21bb 100644 --- a/www/py-uwsgi/options.mk +++ b/www/py-uwsgi/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.4 2018/03/19 09:28:04 adam Exp $ +# $NetBSD: options.mk,v 1.5 2019/03/06 13:07:58 joerg Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.py-uwsgi -PKG_SUPPORTED_OPTIONS= debug openssl pcre uuid yaml +PKG_SUPPORTED_OPTIONS= debug openssl pcre uuid uwsgi-sse_offload yaml PKG_SUGGESTED_OPTIONS+= libxml2 openssl pcre PKG_OPTIONS_OPTIONAL_GROUPS+= json xml @@ -50,6 +50,19 @@ UWSGI_PCRE= pcre=true UWSGI_PCRE= pcre=false .endif +.if !empty(PKG_OPTIONS:Muwsgi-sse_offload) +SSE_REVISION= 8253573a0db1c7d7b9d968d55669e70e40355bed +SSE_DISTNAME= ${SSE_REVISION}.zip +SITES.${SSE_DISTNAME}= https://github.com/unbit/uwsgi-sse-offload/archive/ +DISTFILES+= ${SSE_DISTNAME} +UWSGI_SSE= sse_offload=true +INSTALL_ENV+= UWSGI_EMBED_PLUGINS=sse_offload + +post-extract: post-extract-sse +post-extract-sse: + mv ${WRKDIR}/uwsgi-sse-offload-${SSE_REVISION} ${WRKSRC}/plugins/sse_offload +.endif + .if !empty(PKG_OPTIONS:Muuid) .include "../../devel/libuuid/buildlink3.mk" UWSGI_UUID= uuid=true |