From 428e6f328d19cfa3d6cc0489f69c72da20ebc516 Mon Sep 17 00:00:00 2001 From: nivit Date: Sat, 2 Feb 2013 14:25:28 +0000 Subject: - Update to 0.11.6 - Include fix of pkg-plist when Python ver >= 3.2 --- www/py-bottle/Makefile | 17 ++--------------- www/py-bottle/distinfo | 4 ++-- 2 files changed, 4 insertions(+), 17 deletions(-) (limited to 'www') diff --git a/www/py-bottle/Makefile b/www/py-bottle/Makefile index b5f0bfee04a1..a65ca3193f2d 100644 --- a/www/py-bottle/Makefile +++ b/www/py-bottle/Makefile @@ -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 .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 diff --git a/www/py-bottle/distinfo b/www/py-bottle/distinfo index 12d3aa9d89cd..eed49b49a09e 100644 --- a/www/py-bottle/distinfo +++ b/www/py-bottle/distinfo @@ -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 -- cgit