pkgsrc/www/py-werkzeug/Makefile
adam 40068e6aa1 py-werkzeug: updated to 0.15.4
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.
2019-05-23 12:00:48 +00:00

50 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2019/05/23 12:00:48 adam Exp $
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
COMMENT= Python WSGI Utility Library
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
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+= tests/multipart/test_collect.py
EGDIR= share/examples/${PKGBASE}
PLIST_SUBST+= EGDIR=${EGDIR}
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
cd ${WRKSRC}/examples && ${PAX} -rwppm . ${DESTDIR}${PREFIX}/${EGDIR}
.for i in manage-coolmagic.py manage-couchy.py manage-cupoftee.py \
manage-i18nurls.py manage-plnt.py manage-shorty.py manage-simplewiki.py \
manage-webpylike.py
${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/${EGDIR}/${i}
.endfor
.for i in down.png up.png
${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/${EGDIR}/cupoftee/shared/${i}
.endfor
do-test:
cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX}
.include "../../www/py-werkzeug/Makefile.common"
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"