Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2013 13:12:18 GMT
From:      Denis Generalov <gd@rambler-co.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/177472: Update port www/uwsgi to 1.9.1
Message-ID:  <201303291312.r2TDCIDY007609@red.freebsd.org>
Resent-Message-ID: <201303291320.r2TDK1Wk052517@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177472
>Category:       ports
>Synopsis:       Update port www/uwsgi to 1.9.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 29 13:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Denis Generalov
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
Rambler
>Environment:
FreeBSD tyl.rambler.ramblermedia.com 9.1-STABLE FreeBSD 9.1-STABLE #0 r244924: Tue Jan  1 21:05:19 MSK 2013     gd@tyl.rambler.ramblermedia.com:/tmp/gd/usr/src/sys/GENERIC  amd64
>Description:
* Update www/uwsgi from 1.4.9 to 1.9.1
* Replace pkg-plist by PLIST_FILES var (there are only two files)
* Slightly change do-install target: now we pay attention on PREFIX, it's nothing critical, but usefull for example for testing port.
* Strip old fashioned header.
>How-To-Repeat:

>Fix:
see attached patch

Patch attached with submission follows:

===> Generating patch
===> Viewing diff with more
diff -ruN /usr/ports//www/uwsgi/Makefile ./Makefile
--- /usr/ports//www/uwsgi/Makefile	2013-03-11 21:14:32.000000000 +0400
+++ ./Makefile	2013-03-28 03:12:22.000000000 +0400
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	uwsgi
-# Date created:				23 May 2010
-# Whom:					Daniel Gerzo <danger@FreeBSD.org>
-#
+# Created by: Daniel Gerzo <danger@FreeBSD.org>
 # $FreeBSD: head/www/uwsgi/Makefile 313879 2013-03-11 12:50:46Z demon $
-#
 
 PORTNAME=	uwsgi
-PORTVERSION=	1.4.9
+PORTVERSION=	1.9.1
 CATEGORIES=	www python
 MASTER_SITES=	http://projects.unbit.it/downloads/
 
@@ -18,15 +14,23 @@
 
 MAKE_JOBS_SAFE=	yes
 
+LIB_DEPENDS+=	execinfo:${PORTSDIR}/devel/libexecinfo \
+		pcre:${PORTSDIR}/devel/pcre
+
 USE_GNOME=	libxml2
+USE_ICONV=	yes
 USE_PYTHON=	yes
 USE_RC_SUBR=	uwsgi
 
+PLIST_FILES=	bin/uwsgi \
+		${PYTHONPREFIX_SITELIBDIR}/uwsgidecorators.py
+
 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}
+	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
+	@${INSTALL_DATA} ${WRKSRC}/uwsgidecorators.py ${PYTHONPREFIX_SITELIBDIR}
 
 .include <bsd.port.mk>
diff -ruN /usr/ports//www/uwsgi/distinfo ./distinfo
--- /usr/ports//www/uwsgi/distinfo	2013-03-11 21:14:32.000000000 +0400
+++ ./distinfo	2013-03-28 02:45:40.000000000 +0400
@@ -1,2 +1,2 @@
-SHA256 (uwsgi-1.4.9.tar.gz) = f4d345e3f08bf7859cf92340f79e10d7093e297e54c8448d9c1c821848e7fe2d
-SIZE (uwsgi-1.4.9.tar.gz) = 590671
+SHA256 (uwsgi-1.9.1.tar.gz) = d2ab4d8e3d76ee33bd4d25aa9bfd3203454207c4623dc18ea3df5c3b65c11166
+SIZE (uwsgi-1.9.1.tar.gz) = 576549
diff -ruN /usr/ports//www/uwsgi/pkg-plist ./pkg-plist
--- /usr/ports//www/uwsgi/pkg-plist	2012-09-12 19:08:17.000000000 +0400
+++ ./pkg-plist	1970-01-01 03:00:00.000000000 +0300
@@ -1,2 +0,0 @@
-bin/uwsgi
-%%PYTHON_SITELIBDIR%%/uwsgidecorators.py
===> Done


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303291312.r2TDCIDY007609>