pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-uwsgi Add uwsgi-sse_offload option for integrat...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9e130ffa13ba
branches: trunk
changeset: 330860:9e130ffa13ba
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Mar 06 13:07:58 2019 +0000
description:
Add uwsgi-sse_offload option for integrating the redis pubsub to Server
Sent Event bridge patch. Defaults to off.
diffstat:
www/py-uwsgi/Makefile | 5 +++--
www/py-uwsgi/distinfo | 6 +++++-
www/py-uwsgi/options.mk | 17 +++++++++++++++--
3 files changed, 23 insertions(+), 5 deletions(-)
diffs (71 lines):
diff -r 0cb9cc2ce4f7 -r 9e130ffa13ba www/py-uwsgi/Makefile
--- a/www/py-uwsgi/Makefile Wed Mar 06 13:00:28 2019 +0000
+++ b/www/py-uwsgi/Makefile Wed Mar 06 13:07:58 2019 +0000
@@ -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 @@
.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 -r 0cb9cc2ce4f7 -r 9e130ffa13ba www/py-uwsgi/distinfo
--- a/www/py-uwsgi/distinfo Wed Mar 06 13:00:28 2019 +0000
+++ b/www/py-uwsgi/distinfo Wed Mar 06 13:07:58 2019 +0000
@@ -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 -r 0cb9cc2ce4f7 -r 9e130ffa13ba www/py-uwsgi/options.mk
--- a/www/py-uwsgi/options.mk Wed Mar 06 13:00:28 2019 +0000
+++ b/www/py-uwsgi/options.mk Wed Mar 06 13:07:58 2019 +0000
@@ -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=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