pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-uwsgi



Module Name:    pkgsrc
Committed By:   joerg
Date:           Wed Mar  6 13:07:58 UTC 2019

Modified Files:
        pkgsrc/www/py-uwsgi: Makefile distinfo options.mk

Log Message:
Add uwsgi-sse_offload option for integrating the redis pubsub to Server
Sent Event bridge patch. Defaults to off.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/www/py-uwsgi/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/www/py-uwsgi/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-uwsgi/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-uwsgi/Makefile
diff -u pkgsrc/www/py-uwsgi/Makefile:1.42 pkgsrc/www/py-uwsgi/Makefile:1.43
--- pkgsrc/www/py-uwsgi/Makefile:1.42   Wed Feb 27 12:15:54 2019
+++ pkgsrc/www/py-uwsgi/Makefile        Wed Mar  6 13:07:58 2019
@@ -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@localhost
 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:

Index: pkgsrc/www/py-uwsgi/distinfo
diff -u pkgsrc/www/py-uwsgi/distinfo:1.34 pkgsrc/www/py-uwsgi/distinfo:1.35
--- pkgsrc/www/py-uwsgi/distinfo:1.34   Wed Feb 27 12:15:54 2019
+++ pkgsrc/www/py-uwsgi/distinfo        Wed Mar  6 13:07:58 2019
@@ -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

Index: pkgsrc/www/py-uwsgi/options.mk
diff -u pkgsrc/www/py-uwsgi/options.mk:1.4 pkgsrc/www/py-uwsgi/options.mk:1.5
--- pkgsrc/www/py-uwsgi/options.mk:1.4  Mon Mar 19 09:28:04 2018
+++ pkgsrc/www/py-uwsgi/options.mk      Wed Mar  6 13:07:58 2019
@@ -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



Home | Main Index | Thread Index | Old Index