svn commit: r533816 - in head/www: . py-aiohttp-middlewares

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun May 3 20:47:04 UTC 2020


Author: sunpoet
Date: Sun May  3 20:47:02 2020
New Revision: 533816
URL: https://svnweb.freebsd.org/changeset/ports/533816

Log:
  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

Added:
  head/www/py-aiohttp-middlewares/
  head/www/py-aiohttp-middlewares/Makefile   (contents, props changed)
  head/www/py-aiohttp-middlewares/distinfo   (contents, props changed)
  head/www/py-aiohttp-middlewares/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sun May  3 20:46:56 2020	(r533815)
+++ head/www/Makefile	Sun May  3 20:47:02 2020	(r533816)
@@ -1417,6 +1417,7 @@
     SUBDIR += py-WebTest
     SUBDIR += py-aioh2
     SUBDIR += py-aiohttp
+    SUBDIR += py-aiohttp-middlewares
     SUBDIR += py-aiohttp-wsgi
     SUBDIR += py-aiohttp2
     SUBDIR += py-aiohttp_cors

Added: head/www/py-aiohttp-middlewares/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-aiohttp-middlewares/Makefile	Sun May  3 20:47:02 2020	(r533816)
@@ -0,0 +1,24 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	aiohttp-middlewares
+PORTVERSION=	1.1.0
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at 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>

Added: head/www/py-aiohttp-middlewares/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-aiohttp-middlewares/distinfo	Sun May  3 20:47:02 2020	(r533816)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1588450790
+SHA256 (aiohttp-middlewares-1.1.0.tar.gz) = 4a58c090ea50f44ae49a8ce1dc79f7366b8b6223f179f499bc97f399751efeed
+SIZE (aiohttp-middlewares-1.1.0.tar.gz) = 14645

Added: head/www/py-aiohttp-middlewares/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-aiohttp-middlewares/pkg-descr	Sun May  3 20:47:02 2020	(r533816)
@@ -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


More information about the svn-ports-head mailing list