git: 0e751070bb9a - main - www/py-aiohttp-session: New port: Web sessions for aiohttp web

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Thu, 29 Sep 2022 04:17:02 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e751070bb9a92566539ab06190fb5308f2897c0

commit 0e751070bb9a92566539ab06190fb5308f2897c0
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-09-29 04:15:34 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-09-29 04:15:34 +0000

    www/py-aiohttp-session: New port: Web sessions for aiohttp web
    
    The library provides sessions for aiohttp.web
---
 www/Makefile                     |  1 +
 www/py-aiohttp-session/Makefile  | 27 +++++++++++++++++++++++++++
 www/py-aiohttp-session/distinfo  |  3 +++
 www/py-aiohttp-session/pkg-descr |  1 +
 4 files changed, 32 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index aa543da8da24..f2383b5b0cfd 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1410,6 +1410,7 @@
     SUBDIR += py-aioh2
     SUBDIR += py-aiohttp
     SUBDIR += py-aiohttp-middlewares
+    SUBDIR += py-aiohttp-session
     SUBDIR += py-aiohttp-wsgi
     SUBDIR += py-aiohttp_cors
     SUBDIR += py-aioquic
diff --git a/www/py-aiohttp-session/Makefile b/www/py-aiohttp-session/Makefile
new file mode 100644
index 000000000000..dcd4ac3ff1a1
--- /dev/null
+++ b/www/py-aiohttp-session/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	aiohttp-session
+DISTVERSION=	2.11.0
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	acm@FreeBSD.org
+COMMENT=	Web sessions for aiohttp web
+WWW=		https://github.com/aio-libs/aiohttp-session
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}aioredis>0:databases/py-aioredis@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}aiomcache>0:databases/py-aiomcache@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}secure>0:security/py-secure@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pynacl>0:security/py-pynacl@${PY_FLAVOR}
+
+USES=		cpe python:3.7+
+CPE_VENDOR=	${PORTNAME}_project
+USE_PYTHON=	autoplist distutils cython
+
+.include <bsd.port.mk>
diff --git a/www/py-aiohttp-session/distinfo b/www/py-aiohttp-session/distinfo
new file mode 100644
index 000000000000..1cf548e27149
--- /dev/null
+++ b/www/py-aiohttp-session/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1664422161
+SHA256 (aiohttp-session-2.11.0.tar.gz) = 0fdf39600f6a05c4943ef6c7b099071ca9854413111a26761626244be5015dc4
+SIZE (aiohttp-session-2.11.0.tar.gz) = 92630
diff --git a/www/py-aiohttp-session/pkg-descr b/www/py-aiohttp-session/pkg-descr
new file mode 100644
index 000000000000..5b074645cf93
--- /dev/null
+++ b/www/py-aiohttp-session/pkg-descr
@@ -0,0 +1 @@
+The library provides sessions for aiohttp.web