40068e6aa1
Version 0.15.4 - Fix a SyntaxError on Python 2.7.5. (:issue:1544) Version 0.15.3 - Properly handle multi-line header folding in development server in Python 2.7. (:issue:1080) - Restore the response argument to :exc:~exceptions.Unauthorized. (:pr:1527) - :exc:~exceptions.Unauthorized doesn't add the WWW-Authenticate header if www_authenticate is not given. (:issue:1516) - The default URL converter correctly encodes bytes to string rather than representing them with b''. (:issue:1502) - Fix the filename format string in :class:~middleware.profiler.ProfilerMiddleware to correctly handle float values. (:issue:1511) - Update :class:~middleware.lint.LintMiddleware to work on Python 3. (:issue:1510) - The debugger detects cycles in chained exceptions and does not time out in that case. (:issue:1536) - When running the development server in Docker, the debugger security pin is now unique per container.
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.11 2019/05/23 12:00:48 adam Exp $
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-werkzeug-docs-${DISTNAME:C/[^-]*-//}
|
|
COMMENT= Python WSGI Utility Library (HTML documentation)
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-pallets-sphinx-themes-[0-9]*:../../textproc/py-pallets-sphinx-themes
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.2.3nb1:../../textproc/py-sphinx
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-issues-[0-9]*:../../textproc/py-sphinx-issues
|
|
|
|
USE_TOOLS+= gmake
|
|
NO_CONFIGURE= yes
|
|
BUILD_TARGET= html
|
|
BUILD_DIRS= docs
|
|
|
|
INSTALLATION_DIRS+= ${DOCDIR}/html
|
|
|
|
DOCDIR= share/doc/${PYPKGPREFIX}-${DISTNAME:tl:C/-[^-]*$//}
|
|
PLIST_SUBST+= DOCDIR=${DOCDIR}
|
|
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
|
|
|
|
MAKE_FLAGS+= SPHINXBUILD=${PREFIX}/bin/sphinx-build${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|