From ca44a51151a90deafd6fd3c41f339cd8dcf06b3f Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 3 May 2020 20:47:02 +0000 Subject: Add py-aiohttp-middlewares 1.1.0 aiohttp-middlewares is a collection of useful middlewares for aiohttp.web applications. By default aiohttp.web does not provide many built-in middlewares for standart web-development needs such as: handling errors, shielding view handlers, or providing CORS headers. aiohttp-middlewares tries to fix this by providing several middlewares that aims to cover most common web-development needs. WWW: https://github.com/playpauseandstop/aiohttp-middlewares --- www/py-aiohttp-middlewares/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 www/py-aiohttp-middlewares/Makefile (limited to 'www/py-aiohttp-middlewares/Makefile') diff --git a/www/py-aiohttp-middlewares/Makefile b/www/py-aiohttp-middlewares/Makefile new file mode 100644 index 000000000000..db24a8a1f03a --- /dev/null +++ b/www/py-aiohttp-middlewares/Makefile @@ -0,0 +1,24 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= aiohttp-middlewares +PORTVERSION= 1.1.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Collection of useful middlewares for aiohttp applications + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.5<4.0:www/py-aiohttp@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}async_timeout>=1.2<4:devel/py-async_timeout@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include -- cgit v1.2.3