svn commit: r346831 - head/www/py-werkzeug
Ruslan Makhmatkhanov
rm at FreeBSD.org
Sun Mar 2 22:53:23 UTC 2014
Author: rm
Date: Sun Mar 2 22:53:22 2014
New Revision: 346831
URL: http://svnweb.freebsd.org/changeset/ports/346831
QAT: https://qat.redports.org/buildarchive/r346831/
Log:
www/py-werkzeug: support staging and general clean-up
- clarify license (BSD3C)
- do not use easy_install for installation and convert to auto-generated packing list
- add staging support
- install examples into staging area uncoditionally and remove EXAMPLES option
- remove inclusion of devel/py-virtualenv/files/py3k-fix-pkg-plist.inc - it's implemented in bsd.python.mk
Approved by: portmgr (blanket)
Deleted:
head/www/py-werkzeug/pkg-plist
Modified:
head/www/py-werkzeug/Makefile
head/www/py-werkzeug/pkg-descr
Modified: head/www/py-werkzeug/Makefile
==============================================================================
--- head/www/py-werkzeug/Makefile Sun Mar 2 22:52:07 2014 (r346830)
+++ head/www/py-werkzeug/Makefile Sun Mar 2 22:53:22 2014 (r346831)
@@ -3,6 +3,7 @@
PORTNAME= werkzeug
PORTVERSION= 0.9.4
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,32 +12,17 @@ DISTNAME= Werkzeug-${DISTVERSION}
MAINTAINER= moggie at elasticmind.net
COMMENT= Python utilities collection for building WSGI applications
-LICENSE= BSD
+LICENSE= BSD3CLAUSE
-USE_PYTHON= yes
-USE_PYDISTUTILS= easy_install
-PYDISTUTILS_PKGNAME= Werkzeug
-PYDISTUTILS_PKGVERSION= ${DISTVERSION}
-PYDISTUTILS_NOEGGINFO= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
-
-NO_STAGE= yes
-
-OPTIONS_DEFINE= EXAMPLES
-
-.include <bsd.port.options.mk>
-
-.include <bsd.port.pre.mk>
+PORTEXAMPLES= *
post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${EXAMPLESDIR}
- @cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
-.endif
-
-.if ${PYTHON_REL} >= 320
-.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
-.endif
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/www/py-werkzeug/pkg-descr
==============================================================================
--- head/www/py-werkzeug/pkg-descr Sun Mar 2 22:52:07 2014 (r346830)
+++ head/www/py-werkzeug/pkg-descr Sun Mar 2 22:53:22 2014 (r346831)
@@ -7,6 +7,6 @@ It has since become one of the most adva
It includes a powerful debugger, fully featured request and response
objects, HTTP utilities to handle entity tags, cache control headers,
HTTP dates, cookie handling, file uploads, a powerful URL routing
-system and a bunch of community contributed add-on modules.
+system and a bunch of community contributed add-on modules.
WWW: http://werkzeug.pocoo.org/
More information about the svn-ports-all
mailing list