aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-bottle
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2013-02-02 22:25:28 +0800
committernivit <nivit@FreeBSD.org>2013-02-02 22:25:28 +0800
commit428e6f328d19cfa3d6cc0489f69c72da20ebc516 (patch)
tree770ca454bb7de7fa903cb5abf8ba61a9c4edcea9 /www/py-bottle
parentef4e4c93250b32efb19dff3801ff499d8d2a057e (diff)
downloadfreebsd-ports-gnome-428e6f328d19cfa3d6cc0489f69c72da20ebc516.tar.gz
freebsd-ports-gnome-428e6f328d19cfa3d6cc0489f69c72da20ebc516.tar.zst
freebsd-ports-gnome-428e6f328d19cfa3d6cc0489f69c72da20ebc516.zip
- Update to 0.11.6
- Include fix of pkg-plist when Python ver >= 3.2
Diffstat (limited to 'www/py-bottle')
-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