aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2015-02-23 12:28:15 +0800
committerolivierd <olivierd@FreeBSD.org>2015-02-23 12:28:15 +0800
commitb1c2d024d2259e5c745971339f12d800397835bd (patch)
tree279ce6682ab5020f579453dcc6743cb66079611f
parentaf091085a97c7b3d2f3e3df37b67e556afb1070f (diff)
downloadfreebsd-ports-gnome-b1c2d024d2259e5c745971339f12d800397835bd.tar.gz
freebsd-ports-gnome-b1c2d024d2259e5c745971339f12d800397835bd.tar.zst
freebsd-ports-gnome-b1c2d024d2259e5c745971339f12d800397835bd.zip
- Update to 0.10.1
- Add test in post-install target, otherwise example files are always installed ChangeLog: http://werkzeug.pocoo.org/docs/0.10/changes/#version-0-10 PR: 197686 Submitted by: myself Approved by: moggie (maintainer)
-rw-r--r--www/py-werkzeug/Makefile6
-rw-r--r--www/py-werkzeug/distinfo4
2 files changed, 7 insertions, 3 deletions
diff --git a/www/py-werkzeug/Makefile b/www/py-werkzeug/Makefile
index 7e6c0d162441..82bbf22c3010 100644
--- a/www/py-werkzeug/Makefile
+++ b/www/py-werkzeug/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= werkzeug
-PORTVERSION= 0.9.6
+PORTVERSION= 0.10.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,8 +21,12 @@ USE_PYTHON= distutils autoplist
EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
PORTEXAMPLES= *
+.include <bsd.port.options.mk>
+
post-install:
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+.endif
.include <bsd.port.mk>
diff --git a/www/py-werkzeug/distinfo b/www/py-werkzeug/distinfo
index a2a01592f704..efc0df9ccff9 100644
--- a/www/py-werkzeug/distinfo
+++ b/www/py-werkzeug/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Werkzeug-0.9.6.tar.gz) = 7f11e7e2e73eb22677cac1b11113eb6106f66cedef13d140e83cf6563c90b79c
-SIZE (Werkzeug-0.9.6.tar.gz) = 1128428
+SHA256 (Werkzeug-0.10.1.tar.gz) = 9cf783990b1a99173e707a5768610800aa87775e9d86e211d17180d5b6c245ab
+SIZE (Werkzeug-0.10.1.tar.gz) = 1134481