mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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
This commit is contained in:
parent
ba9b3f278f
commit
ca44a51151
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533816
4 changed files with 39 additions and 0 deletions
|
@ -1417,6 +1417,7 @@
|
||||||
SUBDIR += py-WebTest
|
SUBDIR += py-WebTest
|
||||||
SUBDIR += py-aioh2
|
SUBDIR += py-aioh2
|
||||||
SUBDIR += py-aiohttp
|
SUBDIR += py-aiohttp
|
||||||
|
SUBDIR += py-aiohttp-middlewares
|
||||||
SUBDIR += py-aiohttp-wsgi
|
SUBDIR += py-aiohttp-wsgi
|
||||||
SUBDIR += py-aiohttp2
|
SUBDIR += py-aiohttp2
|
||||||
SUBDIR += py-aiohttp_cors
|
SUBDIR += py-aiohttp_cors
|
||||||
|
|
24
www/py-aiohttp-middlewares/Makefile
Normal file
24
www/py-aiohttp-middlewares/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||||
|
# $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 <bsd.port.mk>
|
3
www/py-aiohttp-middlewares/distinfo
Normal file
3
www/py-aiohttp-middlewares/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1588450790
|
||||||
|
SHA256 (aiohttp-middlewares-1.1.0.tar.gz) = 4a58c090ea50f44ae49a8ce1dc79f7366b8b6223f179f499bc97f399751efeed
|
||||||
|
SIZE (aiohttp-middlewares-1.1.0.tar.gz) = 14645
|
11
www/py-aiohttp-middlewares/pkg-descr
Normal file
11
www/py-aiohttp-middlewares/pkg-descr
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
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
|
Loading…
Add table
Reference in a new issue