From 7c084c2ddf41eff738f0b649ac2c32607ff98484 Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Tue, 18 Feb 2020 03:04:58 +0000 Subject: [PATCH] www/py-flask-cors: Update to 3.0.8 [1] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Tweak COMMENT to match setup.py:description (modulo portlint) [2] Changelog: https://github.com/corydolphin/flask-cors/blob/3.0.8/CHANGELOG.md QA: - Dependents (pygeopi, flexget, beets) dependency verified. PR: 244206 Submitted by: Stig Inge Lea Bjørnsen [1] Approved by: portmgr (blanket: ports (Python) compliance) [2] --- www/py-flask-cors/Makefile | 9 +++++++-- www/py-flask-cors/distinfo | 5 +++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/www/py-flask-cors/Makefile b/www/py-flask-cors/Makefile index 2e4149e4247a..f06fc1ec977d 100644 --- a/www/py-flask-cors/Makefile +++ b/www/py-flask-cors/Makefile @@ -1,22 +1,27 @@ # $FreeBSD$ PORTNAME= Flask-Cors -PORTVERSION= 2.1.2 +PORTVERSION= 3.0.8 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= stiginge@pvv.org -COMMENT= Cross-origin resource sharing (CORS) for Flask +COMMENT= Flask extension adding a decorator for CORS support LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.9:www/py-flask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} USES= python USE_PYTHON= autoplist distutils + NO_ARCH= yes +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v + .include diff --git a/www/py-flask-cors/distinfo b/www/py-flask-cors/distinfo index 92e13f331a55..760381d0fd4b 100644 --- a/www/py-flask-cors/distinfo +++ b/www/py-flask-cors/distinfo @@ -1,2 +1,3 @@ -SHA256 (Flask-Cors-2.1.2.tar.gz) = f262e73adce557b2802a64054c82a0395576c88fbb944e3a9e1e2147140aa639 -SIZE (Flask-Cors-2.1.2.tar.gz) = 27712 +TIMESTAMP = 1581935011 +SHA256 (Flask-Cors-3.0.8.tar.gz) = 72170423eb4612f0847318afff8c247b38bd516b7737adfc10d1c2cdbb382d16 +SIZE (Flask-Cors-3.0.8.tar.gz) = 27651