pkgsrc/www/py-flask/Makefile
adam 6f3c9fe875 py-flask: updated to 1.0.3
Version 1.0.3
-   :func:send_file encodes filenames as ASCII instead of Latin-1
    (ISO-8859-1). This fixes compatibility with Gunicorn, which is
    stricter about header encodings than PEP 3333.
-   Allow custom CLIs using FlaskGroup to set the debug flag without
    it always being overwritten based on environment variables.
-   flask --version outputs Werkzeug's version and simplifies the
    Python version.
-   :func:send_file handles an attachment_filename that is a
    native Python 2 string (bytes) with UTF-8 coded bytes.
-   A catch-all error handler registered for HTTPException will not
    handle RoutingExcpetion, which is used internally during
    routing. This fixes the unexpected behavior that had been introduced
    in 1.0.
-   Passing the json argument to app.test_client does not
    push/pop an extra app context.
2019-05-19 07:59:50 +00:00

28 lines
866 B
Makefile

# $NetBSD: Makefile,v 1.14 2019/05/19 07:59:50 adam Exp $
DISTNAME= Flask-1.0.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/Flask/}
MAINTAINER= kleink@NetBSD.org
HOMEPAGE= http://flask.pocoo.org/
COMMENT= Python web microframework
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-click>=5.1:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-itsdangerous>=0.24:../../security/py-itsdangerous
DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.10:../../textproc/py-jinja2
DEPENDS+= ${PYPKGPREFIX}-werkzeug>=0.14:../../www/py-werkzeug
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0:../../devel/py-test
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} flask flask-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC}/tests && py.test-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"