From d38d1e4817686aaf8b05c8ce711efa36b7c5dc1b Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 9 Feb 2010 22:34:26 +0000 Subject: Import uwsgi-0.9.4.1: uWSGI is a fast (pure C), self-healing, developer-friendly WSGI server, aimed for professional python webapps deployment and development. Backend support exists for Apache, nginx, cherokee and lighttpd. Some of the features include: - low memory footprint - preforking and multithreaded operation - logging, diagnostic and profiling support - support for sendfile() - self-healing - graceful restart and hot-plug upgrading --- www/py-uwsgi/DESCR | 11 +++++++++++ www/py-uwsgi/Makefile | 37 +++++++++++++++++++++++++++++++++++++ www/py-uwsgi/PLIST | 2 ++ www/py-uwsgi/distinfo | 6 ++++++ 4 files changed, 56 insertions(+) create mode 100644 www/py-uwsgi/DESCR create mode 100644 www/py-uwsgi/Makefile create mode 100644 www/py-uwsgi/PLIST create mode 100644 www/py-uwsgi/distinfo (limited to 'www/py-uwsgi') diff --git a/www/py-uwsgi/DESCR b/www/py-uwsgi/DESCR new file mode 100644 index 00000000000..ab1400a0606 --- /dev/null +++ b/www/py-uwsgi/DESCR @@ -0,0 +1,11 @@ +uWSGI is a fast (pure C), self-healing, developer-friendly WSGI server, +aimed for professional python webapps deployment and development. +Backend support exists for Apache, nginx, cherokee and lighttpd. + +Some of the features include: +- low memory footprint +- preforking and multithreaded operation +- logging, diagnostic and profiling support +- support for sendfile() +- self-healing +- graceful restart and hot-plug upgrading diff --git a/www/py-uwsgi/Makefile b/www/py-uwsgi/Makefile new file mode 100644 index 00000000000..f1f9698c716 --- /dev/null +++ b/www/py-uwsgi/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/02/09 22:34:26 joerg Exp $ +# + +DISTNAME= uwsgi-0.9.4.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= www python +MASTER_SITES= http://projects.unbit.it/downloads/ + +MAINTAINER= joerg@NetBSD.org +HOMEPAGE= http://projects.unbit.it/uwsgi +COMMENT= Feature-rich WSGI server + +PKG_DESTDIR_SUPPORT= user-destdir + +LICENSE= gnu-gpl-v2 + +CFLAGS.python= ${PYTHONCONFIG} --cflags +LDFLAGS.python= ${PYTHONCONFIG} --ldflags --libs +CFLAGS.libxml2= xml2-config --cflags +LDFLAGS.libxml2= xml2-config --libs + +INSTALLATION_DIRS+= bin + +PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} + +do-build: + cd ${WRKSRC} && \ + ${CC} -o uwsgi ${CFLAGS} ${CFLAGS.python:sh} ${CFLAGS.libxml2:sh} \ + protocol.c socket.c spooler.c utils.c uwsgi.c uwsgi_pymodule.c \ + ${LDFLAGS} ${LDFLAGS.python:sh} ${LDFLAGS.libxml2:sh} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/uwsgi ${DESTDIR}${PREFIX}/bin/uwsgi-${PYVERSSUFFIX} + +.include "../../lang/python/pyversion.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/py-uwsgi/PLIST b/www/py-uwsgi/PLIST new file mode 100644 index 00000000000..0b361c447f8 --- /dev/null +++ b/www/py-uwsgi/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/02/09 22:34:26 joerg Exp $ +bin/uwsgi-${PYVERSSUFFIX} diff --git a/www/py-uwsgi/distinfo b/www/py-uwsgi/distinfo new file mode 100644 index 00000000000..02bcde920c4 --- /dev/null +++ b/www/py-uwsgi/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/02/09 22:34:26 joerg Exp $ + +SHA1 (uwsgi-0.9.4.1.tar.gz) = 05223120d542eece9544f693c146c49c332577c1 +RMD160 (uwsgi-0.9.4.1.tar.gz) = 18f447cc34722bfd5155c4d3c2373dae7d808221 +Size (uwsgi-0.9.4.1.tar.gz) = 81486 bytes +SHA1 (patch-aa) = d300c6d070d42eb987558b4b13ec1055b7e85a4a -- cgit v1.2.3