Date: Sat, 10 Dec 2016 21:56:21 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r428325 - head/www/py-flask-compress Message-ID: <201612102156.uBALuLTt071837@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sat Dec 10 21:56:21 2016 New Revision: 428325 URL: https://svnweb.freebsd.org/changeset/ports/428325 Log: www/py-flask-compress: update to 1.3.2 - Add |make test| support - Define LICENSE_FILE - Switch WWW to PyPI (CHEESESHOP) Changes: https://github.com/libwilliam/flask-compress/compare/v1.3.1...v1.3.2 PR: 215189 Approved by: Andrej Ebert (maintainer) Modified: head/www/py-flask-compress/Makefile (contents, props changed) head/www/py-flask-compress/distinfo (contents, props changed) head/www/py-flask-compress/pkg-descr (contents, props changed) Modified: head/www/py-flask-compress/Makefile ============================================================================== --- head/www/py-flask-compress/Makefile Sat Dec 10 21:03:31 2016 (r428324) +++ head/www/py-flask-compress/Makefile Sat Dec 10 21:56:21 2016 (r428325) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= Flask-Compress -PORTVERSION= 1.3.1 +PORTVERSION= 1.3.2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,11 +10,16 @@ MAINTAINER= andrej@ebert.su COMMENT= Extension for Flask that compresses responses with gzip LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.11:www/py-flask +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) + .include <bsd.port.mk> Modified: head/www/py-flask-compress/distinfo ============================================================================== --- head/www/py-flask-compress/distinfo Sat Dec 10 21:03:31 2016 (r428324) +++ head/www/py-flask-compress/distinfo Sat Dec 10 21:56:21 2016 (r428325) @@ -1,3 +1,3 @@ -TIMESTAMP = 1474652945 -SHA256 (Flask-Compress-1.3.1.tar.gz) = f4af34786f5a3f84cf4d62d8a86fa1ad57caffa52b5824925dbf928640651902 -SIZE (Flask-Compress-1.3.1.tar.gz) = 2486 +TIMESTAMP = 1475075865 +SHA256 (Flask-Compress-1.3.2.tar.gz) = 4fbb53e7f6ce8b1458a2c3d7a528564912f2641ab2f9f43819fc96ed7f770734 +SIZE (Flask-Compress-1.3.2.tar.gz) = 5897 Modified: head/www/py-flask-compress/pkg-descr ============================================================================== --- head/www/py-flask-compress/pkg-descr Sat Dec 10 21:03:31 2016 (r428324) +++ head/www/py-flask-compress/pkg-descr Sat Dec 10 21:56:21 2016 (r428325) @@ -1,3 +1,9 @@ -Extension for Flask that compresses responses with gzip +Flask-Compress both adds the various headers required for a compressed +response and gzips the response data. This makes serving gzip compressed +static files extremely easy. -WWW: https://github.com/libwilliam/flask-compress +Internally, every time a request is made the extension will check if +it matches one of the compressible MIME types and will automatically +attach the appropriate headers. + +WWW: https://pypi.python.org/pypi/Flask-Compress
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612102156.uBALuLTt071837>