ports/141265: Update port: www/mod_wsgi3 Upgrade to 3.1
Douglas William Thrift
douglas at douglasthrift.net
Tue Dec 8 00:30:08 UTC 2009
>Number: 141265
>Category: ports
>Synopsis: Update port: www/mod_wsgi3 Upgrade to 3.1
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 08 00:30:06 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Douglas William Thrift
>Release: FreeBSD 8.0-RELEASE-p1 amd64
>Organization:
>Environment:
System: FreeBSD justonenight.douglasthrift.net 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #18: Thu Dec 3 18:57:17 PST 2009 root at justonenight.douglasthrift.net:/usr/obj/usr/src/sys/FURTHERONUPTHEROAD amd64
>Description:
Upgraded mod_wsgi to version 3.1.
http://code.google.com/p/modwsgi/wiki/ChangesInVersion0301
>How-To-Repeat:
>Fix:
--- mod_wsgi3.patch begins here ---
diff -Nrux .svn -x work /usr/ports/www/mod_wsgi3/Makefile mod_wsgi3/Makefile
--- /usr/ports/www/mod_wsgi3/Makefile 2009-12-07 05:31:00.000000000 -0800
+++ mod_wsgi3/Makefile 2009-12-07 16:16:07.181059513 -0800
@@ -6,7 +6,7 @@
#
PORTNAME= mod_wsgi
-PORTVERSION= 2.8
+PORTVERSION= 3.1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
http://apt.douglasthrift.net/files/${PORTNAME}/ \
@@ -17,21 +17,26 @@
MAKE_JOBS_SAFE= yes
-LATEST_LINK= mod_wsgi
-CONFLICTS= mod_wsgi-3.*
+CONFLICTS= mod_wsgi-2.*
PROJECTHOST= modwsgi
USE_APACHE= 1.3+
-USE_PYTHON= 2.3-2.6
+USE_PYTHON= 2.3+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
SUB_FILES= pkg-message
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 300 && ${PYTHON_REL} < 310
+IGNORE= is unsupported with Python 3.0
+.endif
+
post-install:
@${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -Nrux .svn -x work /usr/ports/www/mod_wsgi3/distinfo mod_wsgi3/distinfo
--- /usr/ports/www/mod_wsgi3/distinfo 2009-12-07 05:31:00.000000000 -0800
+++ mod_wsgi3/distinfo 2009-11-27 22:20:06.754477020 -0800
@@ -1,3 +1,3 @@
-MD5 (mod_wsgi-2.8.tar.gz) = f4d09ce314502f438af3155348cfc234
-SHA256 (mod_wsgi-2.8.tar.gz) = 4c93167002d718c5899afb86495152acdc9f15f351e374a6886caff76b7f7d82
-SIZE (mod_wsgi-2.8.tar.gz) = 99997
+MD5 (mod_wsgi-3.1.tar.gz) = f9aabdcd7a3f66a2319d10793477f9e9
+SHA256 (mod_wsgi-3.1.tar.gz) = 167b75d757cf43ec7d54f98dd666ff86b0f37807b24c867eb153dd4d3f973887
+SIZE (mod_wsgi-3.1.tar.gz) = 116568
--- mod_wsgi3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list