Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2024 09:43:32 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d918205060eb - main - www/py-flask-session: New port: Server-side session support for Flask
Message-ID:  <202406210943.45L9hWsV073284@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit d918205060ebced782b49dece207ff7184fcded7
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-21 09:21:23 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-21 09:43:07 +0000

    www/py-flask-session: New port: Server-side session support for Flask
---
 www/Makefile                   |  1 +
 www/py-flask-session/Makefile  | 23 +++++++++++++++++++++++
 www/py-flask-session/distinfo  |  3 +++
 www/py-flask-session/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 2503aba3a5ae..926c1d8fd782 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1645,6 +1645,7 @@
     SUBDIR += py-flask-restx
     SUBDIR += py-flask-script
     SUBDIR += py-flask-security
+    SUBDIR += py-flask-session
     SUBDIR += py-flask-smorest
     SUBDIR += py-flask-socketio
     SUBDIR += py-flask-sockets
diff --git a/www/py-flask-session/Makefile b/www/py-flask-session/Makefile
new file mode 100644
index 000000000000..029f15918450
--- /dev/null
+++ b/www/py-flask-session/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	flask-session
+PORTVERSION=	0.8.0
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Server-side session support for Flask
+WWW=		https://pythonhosted.org/Flask-Session/
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.rst
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cachelib>=0.10.2:www/py-cachelib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}flask>=2.2:www/py-flask@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}msgspec>=0.18.6:devel/py-msgspec@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+.include <bsd.port.mk>
diff --git a/www/py-flask-session/distinfo b/www/py-flask-session/distinfo
new file mode 100644
index 000000000000..ccc91f4ac6a1
--- /dev/null
+++ b/www/py-flask-session/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1718934610
+SHA256 (flask_session-0.8.0.tar.gz) = 20e045eb01103694e70be4a49f3a80dbb1b57296a22dc6f44bbf3f83ef0742ff
+SIZE (flask_session-0.8.0.tar.gz) = 940269
diff --git a/www/py-flask-session/pkg-descr b/www/py-flask-session/pkg-descr
new file mode 100644
index 000000000000..8cdeb88011df
--- /dev/null
+++ b/www/py-flask-session/pkg-descr
@@ -0,0 +1,2 @@
+Flask-Session adds session support to your Flask application.
+Session support allows your application to maintain session info.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406210943.45L9hWsV073284>