summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkleink <kleink@pkgsrc.org>2013-01-16 23:12:06 +0000
committerkleink <kleink@pkgsrc.org>2013-01-16 23:12:06 +0000
commit79d6deaccc817d3de782e8c98ae26300719bebc1 (patch)
tree7ef684d206c4c85c0713c445fdfa0290d0b5dba6
parentda5a06cf4a3af44639a5fba8ef9c0a74bf5e1540 (diff)
downloadpkgsrc-79d6deaccc817d3de782e8c98ae26300719bebc1.tar.gz
Add previously missed testsuite files to PLIST; also install examples
and extra documentation files. Bump PKGREVISION. Based on PR pkg/47381 by Richard PALO.
-rw-r--r--www/py-werkzeug/Makefile45
-rw-r--r--www/py-werkzeug/PLIST214
2 files changed, 256 insertions, 3 deletions
diff --git a/www/py-werkzeug/Makefile b/www/py-werkzeug/Makefile
index 559502984c5..b15d1041957 100644
--- a/www/py-werkzeug/Makefile
+++ b/www/py-werkzeug/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2013/01/07 17:06:25 kleink Exp $
+# $NetBSD: Makefile,v 1.2 2013/01/16 23:12:06 kleink Exp $
DISTNAME= Werkzeug-0.8.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION= 1
CATEGORIES= www python
MASTER_SITES= http://pypi.python.org/packages/source/W/Werkzeug/
@@ -10,7 +11,47 @@ HOMEPAGE= http://werkzeug.pocoo.org/
COMMENT= Python WSGI Utility Library
LICENSE= modified-bsd
-USE_LANGUAGES= # empty
+USE_LANGUAGES= # empty
+USE_TOOLS+= pax
+REPLACE_PYTHON= examples/cookieauth.py
+REPLACE_PYTHON+= examples/manage-coolmagic.py
+REPLACE_PYTHON+= examples/manage-couchy.py
+REPLACE_PYTHON+= examples/manage-cupoftee.py
+REPLACE_PYTHON+= examples/manage-i18nurls.py
+REPLACE_PYTHON+= examples/manage-plnt.py
+REPLACE_PYTHON+= examples/manage-shorty.py
+REPLACE_PYTHON+= examples/manage-simplewiki.py
+REPLACE_PYTHON+= examples/manage-webpylike.py
+REPLACE_PYTHON+= examples/upload.py
+REPLACE_PYTHON+= examples/contrib/sessions.py
+REPLACE_PYTHON+= werkzeug/testsuite/multipart/collect.py
+
+DOCDIR= share/doc/${PKGBASE}
+DOCFILES= AUTHORS CHANGES
+
+EGDIR= share/examples/${PKGBASE}
+
+PLIST_SUBST+= DOCDIR=${DOCDIR}
+PLIST_SUBST+= EGDIR=${EGDIR}
+
+INSTALLATION_DIRS+= ${DOCDIR}
+INSTALLATION_DIRS+= ${EGDIR}
+
+post-install:
+.for i in console.png less.png more.png source.png
+ ${CHMOD} ${SHAREMODE} \
+ ${DESTDIR}${PREFIX}/${PYSITELIB}/werkzeug/debug/shared/${i}
+.endfor
+.for i in ${DOCFILES}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/${DOCDIR}
+.endfor
+ cd ${WRKSRC}/examples && pax -rwppm . ${DESTDIR}${PREFIX}/${EGDIR}
+.for i in down.png up.png
+ ${CHMOD} ${SHAREMODE} \
+ ${DESTDIR}${PREFIX}/${EGDIR}/cupoftee/shared/${i}
+.endfor
+
+.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-werkzeug/PLIST b/www/py-werkzeug/PLIST
index 8a2032e27b9..a00cf8c7341 100644
--- a/www/py-werkzeug/PLIST
+++ b/www/py-werkzeug/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2013/01/07 17:06:25 kleink Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/01/16 23:12:06 kleink Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -112,6 +112,103 @@ ${PYSITELIB}/werkzeug/test.pyo
${PYSITELIB}/werkzeug/testapp.py
${PYSITELIB}/werkzeug/testapp.pyc
${PYSITELIB}/werkzeug/testapp.pyo
+${PYSITELIB}/werkzeug/testsuite/__init__.py
+${PYSITELIB}/werkzeug/testsuite/__init__.pyc
+${PYSITELIB}/werkzeug/testsuite/__init__.pyo
+${PYSITELIB}/werkzeug/testsuite/compat.py
+${PYSITELIB}/werkzeug/testsuite/compat.pyc
+${PYSITELIB}/werkzeug/testsuite/compat.pyo
+${PYSITELIB}/werkzeug/testsuite/contrib/__init__.py
+${PYSITELIB}/werkzeug/testsuite/contrib/__init__.pyc
+${PYSITELIB}/werkzeug/testsuite/contrib/__init__.pyo
+${PYSITELIB}/werkzeug/testsuite/contrib/cache.py
+${PYSITELIB}/werkzeug/testsuite/contrib/cache.pyc
+${PYSITELIB}/werkzeug/testsuite/contrib/cache.pyo
+${PYSITELIB}/werkzeug/testsuite/contrib/fixers.py
+${PYSITELIB}/werkzeug/testsuite/contrib/fixers.pyc
+${PYSITELIB}/werkzeug/testsuite/contrib/fixers.pyo
+${PYSITELIB}/werkzeug/testsuite/contrib/iterio.py
+${PYSITELIB}/werkzeug/testsuite/contrib/iterio.pyc
+${PYSITELIB}/werkzeug/testsuite/contrib/iterio.pyo
+${PYSITELIB}/werkzeug/testsuite/contrib/securecookie.py
+${PYSITELIB}/werkzeug/testsuite/contrib/securecookie.pyc
+${PYSITELIB}/werkzeug/testsuite/contrib/securecookie.pyo
+${PYSITELIB}/werkzeug/testsuite/contrib/sessions.py
+${PYSITELIB}/werkzeug/testsuite/contrib/sessions.pyc
+${PYSITELIB}/werkzeug/testsuite/contrib/sessions.pyo
+${PYSITELIB}/werkzeug/testsuite/contrib/wrappers.py
+${PYSITELIB}/werkzeug/testsuite/contrib/wrappers.pyc
+${PYSITELIB}/werkzeug/testsuite/contrib/wrappers.pyo
+${PYSITELIB}/werkzeug/testsuite/datastructures.py
+${PYSITELIB}/werkzeug/testsuite/datastructures.pyc
+${PYSITELIB}/werkzeug/testsuite/datastructures.pyo
+${PYSITELIB}/werkzeug/testsuite/debug.py
+${PYSITELIB}/werkzeug/testsuite/debug.pyc
+${PYSITELIB}/werkzeug/testsuite/debug.pyo
+${PYSITELIB}/werkzeug/testsuite/exceptions.py
+${PYSITELIB}/werkzeug/testsuite/exceptions.pyc
+${PYSITELIB}/werkzeug/testsuite/exceptions.pyo
+${PYSITELIB}/werkzeug/testsuite/formparser.py
+${PYSITELIB}/werkzeug/testsuite/formparser.pyc
+${PYSITELIB}/werkzeug/testsuite/formparser.pyo
+${PYSITELIB}/werkzeug/testsuite/http.py
+${PYSITELIB}/werkzeug/testsuite/http.pyc
+${PYSITELIB}/werkzeug/testsuite/http.pyo
+${PYSITELIB}/werkzeug/testsuite/internal.py
+${PYSITELIB}/werkzeug/testsuite/internal.pyc
+${PYSITELIB}/werkzeug/testsuite/internal.pyo
+${PYSITELIB}/werkzeug/testsuite/local.py
+${PYSITELIB}/werkzeug/testsuite/local.pyc
+${PYSITELIB}/werkzeug/testsuite/local.pyo
+${PYSITELIB}/werkzeug/testsuite/multipart/collect.py
+${PYSITELIB}/werkzeug/testsuite/multipart/collect.pyc
+${PYSITELIB}/werkzeug/testsuite/multipart/collect.pyo
+${PYSITELIB}/werkzeug/testsuite/multipart/firefox3-2png1txt/file1.png
+${PYSITELIB}/werkzeug/testsuite/multipart/firefox3-2png1txt/file2.png
+${PYSITELIB}/werkzeug/testsuite/multipart/firefox3-2png1txt/request.txt
+${PYSITELIB}/werkzeug/testsuite/multipart/firefox3-2png1txt/text.txt
+${PYSITELIB}/werkzeug/testsuite/multipart/firefox3-2pnglongtext/file1.png
+${PYSITELIB}/werkzeug/testsuite/multipart/firefox3-2pnglongtext/file2.png
+${PYSITELIB}/werkzeug/testsuite/multipart/firefox3-2pnglongtext/request.txt
+${PYSITELIB}/werkzeug/testsuite/multipart/firefox3-2pnglongtext/text.txt
+${PYSITELIB}/werkzeug/testsuite/multipart/ie6-2png1txt/file1.png
+${PYSITELIB}/werkzeug/testsuite/multipart/ie6-2png1txt/file2.png
+${PYSITELIB}/werkzeug/testsuite/multipart/ie6-2png1txt/request.txt
+${PYSITELIB}/werkzeug/testsuite/multipart/ie6-2png1txt/text.txt
+${PYSITELIB}/werkzeug/testsuite/multipart/ie7_full_path_request.txt
+${PYSITELIB}/werkzeug/testsuite/multipart/opera8-2png1txt/file1.png
+${PYSITELIB}/werkzeug/testsuite/multipart/opera8-2png1txt/file2.png
+${PYSITELIB}/werkzeug/testsuite/multipart/opera8-2png1txt/request.txt
+${PYSITELIB}/werkzeug/testsuite/multipart/opera8-2png1txt/text.txt
+${PYSITELIB}/werkzeug/testsuite/multipart/webkit3-2png1txt/file1.png
+${PYSITELIB}/werkzeug/testsuite/multipart/webkit3-2png1txt/file2.png
+${PYSITELIB}/werkzeug/testsuite/multipart/webkit3-2png1txt/request.txt
+${PYSITELIB}/werkzeug/testsuite/multipart/webkit3-2png1txt/text.txt
+${PYSITELIB}/werkzeug/testsuite/res/test.txt
+${PYSITELIB}/werkzeug/testsuite/routing.py
+${PYSITELIB}/werkzeug/testsuite/routing.pyc
+${PYSITELIB}/werkzeug/testsuite/routing.pyo
+${PYSITELIB}/werkzeug/testsuite/security.py
+${PYSITELIB}/werkzeug/testsuite/security.pyc
+${PYSITELIB}/werkzeug/testsuite/security.pyo
+${PYSITELIB}/werkzeug/testsuite/serving.py
+${PYSITELIB}/werkzeug/testsuite/serving.pyc
+${PYSITELIB}/werkzeug/testsuite/serving.pyo
+${PYSITELIB}/werkzeug/testsuite/test.py
+${PYSITELIB}/werkzeug/testsuite/test.pyc
+${PYSITELIB}/werkzeug/testsuite/test.pyo
+${PYSITELIB}/werkzeug/testsuite/urls.py
+${PYSITELIB}/werkzeug/testsuite/urls.pyc
+${PYSITELIB}/werkzeug/testsuite/urls.pyo
+${PYSITELIB}/werkzeug/testsuite/utils.py
+${PYSITELIB}/werkzeug/testsuite/utils.pyc
+${PYSITELIB}/werkzeug/testsuite/utils.pyo
+${PYSITELIB}/werkzeug/testsuite/wrappers.py
+${PYSITELIB}/werkzeug/testsuite/wrappers.pyc
+${PYSITELIB}/werkzeug/testsuite/wrappers.pyo
+${PYSITELIB}/werkzeug/testsuite/wsgi.py
+${PYSITELIB}/werkzeug/testsuite/wsgi.pyc
+${PYSITELIB}/werkzeug/testsuite/wsgi.pyo
${PYSITELIB}/werkzeug/urls.py
${PYSITELIB}/werkzeug/urls.pyc
${PYSITELIB}/werkzeug/urls.pyo
@@ -127,3 +224,118 @@ ${PYSITELIB}/werkzeug/wrappers.pyo
${PYSITELIB}/werkzeug/wsgi.py
${PYSITELIB}/werkzeug/wsgi.pyc
${PYSITELIB}/werkzeug/wsgi.pyo
+${DOCDIR}/AUTHORS
+${DOCDIR}/CHANGES
+${EGDIR}/README
+${EGDIR}/contrib/README
+${EGDIR}/contrib/securecookie.py
+${EGDIR}/contrib/sessions.py
+${EGDIR}/cookieauth.py
+${EGDIR}/coolmagic/__init__.py
+${EGDIR}/coolmagic/application.py
+${EGDIR}/coolmagic/helpers.py
+${EGDIR}/coolmagic/public/style.css
+${EGDIR}/coolmagic/templates/layout.html
+${EGDIR}/coolmagic/templates/static/about.html
+${EGDIR}/coolmagic/templates/static/index.html
+${EGDIR}/coolmagic/templates/static/not_found.html
+${EGDIR}/coolmagic/utils.py
+${EGDIR}/coolmagic/views/__init__.py
+${EGDIR}/coolmagic/views/static.py
+${EGDIR}/couchy/README
+${EGDIR}/couchy/__init__.py
+${EGDIR}/couchy/application.py
+${EGDIR}/couchy/models.py
+${EGDIR}/couchy/static/style.css
+${EGDIR}/couchy/templates/display.html
+${EGDIR}/couchy/templates/layout.html
+${EGDIR}/couchy/templates/list.html
+${EGDIR}/couchy/templates/new.html
+${EGDIR}/couchy/templates/not_found.html
+${EGDIR}/couchy/utils.py
+${EGDIR}/couchy/views.py
+${EGDIR}/cupoftee/__init__.py
+${EGDIR}/cupoftee/application.py
+${EGDIR}/cupoftee/db.py
+${EGDIR}/cupoftee/network.py
+${EGDIR}/cupoftee/pages.py
+${EGDIR}/cupoftee/shared/content.png
+${EGDIR}/cupoftee/shared/down.png
+${EGDIR}/cupoftee/shared/favicon.ico
+${EGDIR}/cupoftee/shared/header.png
+${EGDIR}/cupoftee/shared/logo.png
+${EGDIR}/cupoftee/shared/style.css
+${EGDIR}/cupoftee/shared/up.png
+${EGDIR}/cupoftee/templates/layout.html
+${EGDIR}/cupoftee/templates/missingpage.html
+${EGDIR}/cupoftee/templates/search.html
+${EGDIR}/cupoftee/templates/server.html
+${EGDIR}/cupoftee/templates/serverlist.html
+${EGDIR}/cupoftee/utils.py
+${EGDIR}/httpbasicauth.py
+${EGDIR}/i18nurls/__init__.py
+${EGDIR}/i18nurls/application.py
+${EGDIR}/i18nurls/templates/about.html
+${EGDIR}/i18nurls/templates/blog.html
+${EGDIR}/i18nurls/templates/index.html
+${EGDIR}/i18nurls/templates/layout.html
+${EGDIR}/i18nurls/urls.py
+${EGDIR}/i18nurls/views.py
+${EGDIR}/manage-coolmagic.py
+${EGDIR}/manage-couchy.py
+${EGDIR}/manage-cupoftee.py
+${EGDIR}/manage-i18nurls.py
+${EGDIR}/manage-plnt.py
+${EGDIR}/manage-shorty.py
+${EGDIR}/manage-simplewiki.py
+${EGDIR}/manage-webpylike.py
+${EGDIR}/partial/README
+${EGDIR}/partial/complex_routing.py
+${EGDIR}/plnt/__init__.py
+${EGDIR}/plnt/database.py
+${EGDIR}/plnt/shared/style.css
+${EGDIR}/plnt/sync.py
+${EGDIR}/plnt/templates/about.html
+${EGDIR}/plnt/templates/index.html
+${EGDIR}/plnt/templates/layout.html
+${EGDIR}/plnt/utils.py
+${EGDIR}/plnt/views.py
+${EGDIR}/plnt/webapp.py
+${EGDIR}/shortly/shortly.py
+${EGDIR}/shortly/static/style.css
+${EGDIR}/shortly/templates/404.html
+${EGDIR}/shortly/templates/layout.html
+${EGDIR}/shortly/templates/new_url.html
+${EGDIR}/shortly/templates/short_link_details.html
+${EGDIR}/shorty/__init__.py
+${EGDIR}/shorty/application.py
+${EGDIR}/shorty/models.py
+${EGDIR}/shorty/static/style.css
+${EGDIR}/shorty/templates/display.html
+${EGDIR}/shorty/templates/layout.html
+${EGDIR}/shorty/templates/list.html
+${EGDIR}/shorty/templates/new.html
+${EGDIR}/shorty/templates/not_found.html
+${EGDIR}/shorty/utils.py
+${EGDIR}/shorty/views.py
+${EGDIR}/simplewiki/__init__.py
+${EGDIR}/simplewiki/actions.py
+${EGDIR}/simplewiki/application.py
+${EGDIR}/simplewiki/database.py
+${EGDIR}/simplewiki/shared/style.css
+${EGDIR}/simplewiki/specialpages.py
+${EGDIR}/simplewiki/templates/action_diff.html
+${EGDIR}/simplewiki/templates/action_edit.html
+${EGDIR}/simplewiki/templates/action_log.html
+${EGDIR}/simplewiki/templates/action_revert.html
+${EGDIR}/simplewiki/templates/action_show.html
+${EGDIR}/simplewiki/templates/layout.html
+${EGDIR}/simplewiki/templates/macros.xml
+${EGDIR}/simplewiki/templates/missing_action.html
+${EGDIR}/simplewiki/templates/page_index.html
+${EGDIR}/simplewiki/templates/page_missing.html
+${EGDIR}/simplewiki/templates/recent_changes.html
+${EGDIR}/simplewiki/utils.py
+${EGDIR}/upload.py
+${EGDIR}/webpylike/example.py
+${EGDIR}/webpylike/webpylike.py