pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-uwsgi Import uwsgi-0.9.4.1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d71e42cd5c80
branches:  trunk
changeset: 571198:d71e42cd5c80
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Feb 09 22:34:26 2010 +0000

description:
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

diffstat:

 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(+), 0 deletions(-)

diffs (72 lines):

diff -r e5bc29f93f78 -r d71e42cd5c80 www/py-uwsgi/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-uwsgi/DESCR        Tue Feb 09 22:34:26 2010 +0000
@@ -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 -r e5bc29f93f78 -r d71e42cd5c80 www/py-uwsgi/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-uwsgi/Makefile     Tue Feb 09 22:34:26 2010 +0000
@@ -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@localhost
+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 -r e5bc29f93f78 -r d71e42cd5c80 www/py-uwsgi/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-uwsgi/PLIST        Tue Feb 09 22:34:26 2010 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/02/09 22:34:26 joerg Exp $
+bin/uwsgi-${PYVERSSUFFIX}
diff -r e5bc29f93f78 -r d71e42cd5c80 www/py-uwsgi/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-uwsgi/distinfo     Tue Feb 09 22:34:26 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index