Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2013 14:25:29 +0000 (UTC)
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311429 - head/www/py-bottle
Message-ID:  <201302021425.r12EPTA7076562@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nivit
Date: Sat Feb  2 14:25:28 2013
New Revision: 311429
URL: http://svnweb.freebsd.org/changeset/ports/311429

Log:
  - Update to 0.11.6
  - Include fix of pkg-plist when Python ver >= 3.2

Modified:
  head/www/py-bottle/Makefile
  head/www/py-bottle/distinfo

Modified: head/www/py-bottle/Makefile
==============================================================================
--- head/www/py-bottle/Makefile	Sat Feb  2 13:32:45 2013	(r311428)
+++ head/www/py-bottle/Makefile	Sat Feb  2 14:25:28 2013	(r311429)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	bottle
-PORTVERSION=	0.11.2
+PORTVERSION=	0.11.6
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,20 +19,7 @@ USE_PYDISTUTILS=	yes
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_REL} >= 320
-# When Python version is 3.2+ we rewrite all the filenames
-# of TMPPLIST that end with .py[co], so that they conform
-# to PEP 3147 (see http://www.python.org/dev/peps/pep-3147/)
-PYMAGICTAG=	${PYTHON_CMD} -c 'import imp; print(imp.get_tag())'
-add-plist-post:
-	@${AWK} '\
-		/\.py[co]$$/ && !($$0 ~ "/" pc "/") {id = match($$0, /\/[^\/]+\.py[co]$$/); if (id != 0) {d = substr($$0, 1, RSTART - 1); dirs[d] = 1}; sub(/\.py[co]$$/,  "." mt "&"); sub(/[^\/]+\.py[co]$$/, pc "/&"); print; next} \
-		/^@dirrm / {d = substr($$0, 8); if (d in dirs) {print $$0 "/" pc}; print $$0; next} \
-		{print} \
-		END {if (sp in dirs) {print "@dirrm " sp "/" pc}} \
-		' \
-		pc="__pycache__" mt="$$(${PYMAGICTAG})" sp="${PYTHON_SITELIBDIR:S,${PYTHONBASE}/,,g}" \
-		${TMPPLIST} > ${TMPPLIST}.pyc_tmp
-	@${MV} ${TMPPLIST}.pyc_tmp ${TMPPLIST}
+.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
 .endif
 
 .include <bsd.port.post.mk>

Modified: head/www/py-bottle/distinfo
==============================================================================
--- head/www/py-bottle/distinfo	Sat Feb  2 13:32:45 2013	(r311428)
+++ head/www/py-bottle/distinfo	Sat Feb  2 14:25:28 2013	(r311429)
@@ -1,2 +1,2 @@
-SHA256 (bottle-0.11.2.tar.gz) = e93021d447fca6116acdc737762557347e85669cc0705ddbcf7371e11c74b0b0
-SIZE (bottle-0.11.2.tar.gz) = 60341
+SHA256 (bottle-0.11.6.tar.gz) = 2e63802cbe6a21537e35d92ec3c80a1e302dc619d169efe6a212cab9f48e7b29
+SIZE (bottle-0.11.6.tar.gz) = 60612



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