summaryrefslogtreecommitdiff
path: root/www/py-uwsgi
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-09 22:34:26 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-09 22:34:26 +0000
commitd38d1e4817686aaf8b05c8ce711efa36b7c5dc1b (patch)
tree457159309b57bc40bea005fb7e7675865acd5f9c /www/py-uwsgi
parentcb99e1d20f5b97103c403dc270659076cb68b6ee (diff)
downloadpkgsrc-d38d1e4817686aaf8b05c8ce711efa36b7c5dc1b.tar.gz
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 (limited to 'www/py-uwsgi')
-rw-r--r--www/py-uwsgi/DESCR11
-rw-r--r--www/py-uwsgi/Makefile37
-rw-r--r--www/py-uwsgi/PLIST2
-rw-r--r--www/py-uwsgi/distinfo6
4 files changed, 56 insertions, 0 deletions
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