diff options
author | kleink <kleink> | 2013-01-17 20:01:54 +0000 |
---|---|---|
committer | kleink <kleink> | 2013-01-17 20:01:54 +0000 |
commit | 7174b2f1efdd2bb776594454b33481217822d862 (patch) | |
tree | c9615df2473e0109a72f1e9149b6746e317d6a55 /www | |
parent | 5895839c9524f71b97abab181c708a9f0a437e0d (diff) | |
download | pkgsrc-7174b2f1efdd2bb776594454b33481217822d862.tar.gz |
Import the HTML documentation portion of Werkzeug-0.8.3 as
www/py-werkzeug-docs.
Based on PR pkg/47381 by Richard PALO.
This package contains the HTML documentation for Werkzeug.
Werkzeug is a WSGI utility library for Python. It's widely used
and BSD licensed.
Werkzeug started as a simple collection of various utilities for
WSGI applications and has become one of the most advanced WSGI
utility modules. 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
addon modules.
It does Unicode and doesn't enforce a specific template engine,
database adapter or anything else. It doesn't even enforce a specific
way of handling requests and leaves all that up to the developer.
Diffstat (limited to 'www')
-rw-r--r-- | www/py-werkzeug-docs/DESCR | 16 | ||||
-rw-r--r-- | www/py-werkzeug-docs/Makefile | 29 |
2 files changed, 45 insertions, 0 deletions
diff --git a/www/py-werkzeug-docs/DESCR b/www/py-werkzeug-docs/DESCR new file mode 100644 index 00000000000..6b710beaf64 --- /dev/null +++ b/www/py-werkzeug-docs/DESCR @@ -0,0 +1,16 @@ +This package contains the HTML documentation for Werkzeug. + +Werkzeug is a WSGI utility library for Python. It's widely used +and BSD licensed. + +Werkzeug started as a simple collection of various utilities for +WSGI applications and has become one of the most advanced WSGI +utility modules. 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 +addon modules. + +It does Unicode and doesn't enforce a specific template engine, +database adapter or anything else. It doesn't even enforce a specific +way of handling requests and leaves all that up to the developer. diff --git a/www/py-werkzeug-docs/Makefile b/www/py-werkzeug-docs/Makefile new file mode 100644 index 00000000000..3f21fcbf330 --- /dev/null +++ b/www/py-werkzeug-docs/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2013/01/17 20:01:54 kleink Exp $ + +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl:C/-[^-]*$//}-docs-${DISTNAME:C/[^-]*-//} + +COMMENT= Python WSGI Utility Library (HTML documentation) + +NO_CONFIGURE= yes +BUILD_TARGET= documentation + +USE_TOOLS+= pax + +INSTALLATION_DIRS+= ${DOCDIR}/html + +PLIST_SRC+= ${WRKDIR}/PLIST + +.include "../../www/py-werkzeug/Makefile.common" + +do-install: + cd ${WRKSRC}/docs/_build/html \ + && pax -rwppm . ${DESTDIR}${PREFIX}/${DOCDIR}/html + ${RM} -f ${DESTDIR}${PREFIX}/${DOCDIR}/html/.buildinfo + cd ${DESTDIR}${PREFIX} \ + && ${FIND} ${DOCDIR}/html -type f -print > ${WRKDIR}/PLIST + +PYTHON_FOR_BUILD_ONLY= yes +.include "../../lang/python/pyversion.mk" +BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx + +.include "../../mk/bsd.pkg.mk" |