aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2013-02-02 14:25:28 +0000
committerNicola Vitale <nivit@FreeBSD.org>2013-02-02 14:25:28 +0000
commit4a85aaf542086e71209e69ff0fe5837f5cfab54f (patch)
tree770ca454bb7de7fa903cb5abf8ba61a9c4edcea9
parent7b720b845f5f69861b5f93fdba44bcf520179869 (diff)
downloadports-4a85aaf542086e71209e69ff0fe5837f5cfab54f.tar.gz
ports-4a85aaf542086e71209e69ff0fe5837f5cfab54f.zip
Notes
-rw-r--r--www/py-bottle/Makefile17
-rw-r--r--www/py-bottle/distinfo4
2 files changed, 4 insertions, 17 deletions
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 <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>
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