aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2012-11-19 19:59:55 +0800
committerdemon <demon@FreeBSD.org>2012-11-19 19:59:55 +0800
commit7a58ee6cc54e84e9d2ab84230b327ba3cf2d6d2b (patch)
tree9bf38ff030609249b1616de7409fbc5d3dc0eb47 /www
parent8058dbb47f6a70fb52ef7a992718b2d9d2e237ad (diff)
downloadfreebsd-ports-gnome-7a58ee6cc54e84e9d2ab84230b327ba3cf2d6d2b.tar.gz
freebsd-ports-gnome-7a58ee6cc54e84e9d2ab84230b327ba3cf2d6d2b.tar.zst
freebsd-ports-gnome-7a58ee6cc54e84e9d2ab84230b327ba3cf2d6d2b.zip
Update to version 1.4.1
Patch patch-casting.diff was included upstream. Approved by: maintainer Feature safe: yes
Diffstat (limited to 'www')
-rw-r--r--www/uwsgi/Makefile5
-rw-r--r--www/uwsgi/distinfo4
-rw-r--r--www/uwsgi/files/patch-casting.diff37
3 files changed, 6 insertions, 40 deletions
diff --git a/www/uwsgi/Makefile b/www/uwsgi/Makefile
index 02803ff20e12..2f73fd2a6509 100644
--- a/www/uwsgi/Makefile
+++ b/www/uwsgi/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= uwsgi
-PORTVERSION= 1.2.4
+PORTVERSION= 1.4.1
CATEGORIES= www python
MASTER_SITES= http://projects.unbit.it/downloads/
@@ -22,6 +22,9 @@ USE_GNOME= libxml2
USE_PYTHON= yes
USE_RC_SUBR= uwsgi
+post-patch:
+ ${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|' ${WRKSRC}/Makefile
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@${INSTALL_DATA} ${WRKSRC}/uwsgidecorators.py ${PYTHON_SITELIBDIR}
diff --git a/www/uwsgi/distinfo b/www/uwsgi/distinfo
index 56c9b6f927f6..d0c55de8520d 100644
--- a/www/uwsgi/distinfo
+++ b/www/uwsgi/distinfo
@@ -1,2 +1,2 @@
-SHA256 (uwsgi-1.2.4.tar.gz) = 294306d249300b531bfc7abaa706926d0ed87ccc2e7248afec50b425aef39ebb
-SIZE (uwsgi-1.2.4.tar.gz) = 514048
+SHA256 (uwsgi-1.4.1.tar.gz) = a72e3b57e9d46d6b92df9d445aa9bf243a9529f0c3660fecb5fb1d21d2f1791e
+SIZE (uwsgi-1.4.1.tar.gz) = 585500
diff --git a/www/uwsgi/files/patch-casting.diff b/www/uwsgi/files/patch-casting.diff
deleted file mode 100644
index 35346f19c60f..000000000000
--- a/www/uwsgi/files/patch-casting.diff
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -r 85ae8fc31920 -r e7bca57267bc plugins/python/wsgi_subhandler.c
---- plugins/python/wsgi_subhandler.c ven lug 13 12:56:03 2012 +0200
-+++ plugins/python/wsgi_subhandler.c ven lug 13 12:57:18 2012 +0200
-@@ -51,7 +51,7 @@
- // if async_post is mapped as a file, directly use it as wsgi.input
- if (wsgi_req->async_post) {
- #ifdef PYTHREE
-- wsgi_req->async_input = PyFile_FromFd(fileno(wsgi_req->async_post), "wsgi_input", "rb", 0, NULL, NULL, NULL, 0);
-+ wsgi_req->async_input = PyFile_FromFd(fileno((FILE *)wsgi_req->async_post), "wsgi_input", "rb", 0, NULL, NULL, NULL, 0);
- #else
- wsgi_req->async_input = PyFile_FromFile(wsgi_req->async_post, "wsgi_input", "r", NULL);
- #endif
-diff -r e7bca57267bc -r 08530c952818 plugins/python/pump_subhandler.c
---- plugins/python/pump_subhandler.c ven lug 13 12:57:18 2012 +0200
-+++ plugins/python/pump_subhandler.c ven lug 13 13:21:57 2012 +0200
-@@ -107,7 +107,7 @@
- // if async_post is mapped as a file, directly use it as wsgi.input
- if (wsgi_req->async_post) {
- #ifdef PYTHREE
-- wsgi_req->async_input = PyFile_FromFd(fileno(wsgi_req->async_post), "pump_body", "rb", 0, NULL, NULL, NULL, 0);
-+ wsgi_req->async_input = PyFile_FromFd(fileno((FILE *)wsgi_req->async_post), "pump_body", "rb", 0, NULL, NULL, NULL, 0);
- #else
- wsgi_req->async_input = PyFile_FromFile(wsgi_req->async_post, "pump_body", "r", NULL);
- #endif
-diff -r e7bca57267bc -r 08530c952818 plugins/python/web3_subhandler.c
---- plugins/python/web3_subhandler.c ven lug 13 12:57:18 2012 +0200
-+++ plugins/python/web3_subhandler.c ven lug 13 13:21:57 2012 +0200
-@@ -47,7 +47,7 @@
- // if async_post is mapped as a file, directly use it as wsgi.input
- if (wsgi_req->async_post) {
- #ifdef PYTHREE
-- wsgi_req->async_input = PyFile_FromFd(fileno(wsgi_req->async_post), "web3_input", "rb", 0, NULL, NULL, NULL, 0);
-+ wsgi_req->async_input = PyFile_FromFd(fileno((FILE *) wsgi_req->async_post), "web3_input", "rb", 0, NULL, NULL, NULL, 0);
- #else
- wsgi_req->async_input = PyFile_FromFile(wsgi_req->async_post, "web3_input", "r", NULL);
- #endif
-