git: 67201db51ee2 - main - databases/py-flask-pymongo: New port

From: Danilo G. Baio <dbaio_at_FreeBSD.org>
Date: Tue, 08 Oct 2024 01:12:11 UTC
The branch main has been updated by dbaio:

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

commit 67201db51ee2506b17fca19dd6569052fa1f41d3
Author:     Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2024-10-08 01:02:45 +0000
Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2024-10-08 01:08:13 +0000

    databases/py-flask-pymongo: New port
    
    PyMongo support for Flask applications
    
    Flask-PyMongo bridges Flask and PyMongo and provides some convenience helpers.
    
    https://flask-pymongo.readthedocs.io/en/latest/
    https://pypi.org/project/Flask-PyMongo/
---
 databases/Makefile                   |  1 +
 databases/py-flask-pymongo/Makefile  | 25 +++++++++++++++++++++++++
 databases/py-flask-pymongo/distinfo  |  3 +++
 databases/py-flask-pymongo/pkg-descr |  1 +
 4 files changed, 30 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index c889c4c13d97..645fa0ceff03 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -772,6 +772,7 @@
     SUBDIR += py-fastparquet
     SUBDIR += py-fdb
     SUBDIR += py-firebirdsql
+    SUBDIR += py-flask-pymongo
     SUBDIR += py-flask-sqlalchemy
     SUBDIR += py-flask-sqlalchemy30
     SUBDIR += py-gdbm
diff --git a/databases/py-flask-pymongo/Makefile b/databases/py-flask-pymongo/Makefile
new file mode 100644
index 000000000000..d2f422d7e892
--- /dev/null
+++ b/databases/py-flask-pymongo/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	flask-pymongo
+DISTVERSION=	2.3.0
+CATEGORIES=	databases python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	Flask-PyMongo-${PORTVERSION}
+
+MAINTAINER=	dbaio@FreeBSD.org
+COMMENT=	PyMongo support for Flask applications
+WWW=		https://flask-pymongo.readthedocs.io/en/latest/ \
+		https://pypi.org/project/Flask-PyMongo/
+
+LICENSE=	BSD2CLAUSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}vcversioner>0:devel/py-vcversioner@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flask>=1.0:www/py-flask@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pymongo>=3.11:databases/py-pymongo@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/databases/py-flask-pymongo/distinfo b/databases/py-flask-pymongo/distinfo
new file mode 100644
index 000000000000..dfafc65c0bb2
--- /dev/null
+++ b/databases/py-flask-pymongo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728244559
+SHA256 (Flask-PyMongo-2.3.0.tar.gz) = 620eb02dc8808a5fcb90f26cab6cba9d6bf497b15032ae3ca99df80366e33314
+SIZE (Flask-PyMongo-2.3.0.tar.gz) = 23740
diff --git a/databases/py-flask-pymongo/pkg-descr b/databases/py-flask-pymongo/pkg-descr
new file mode 100644
index 000000000000..65cd374cfe25
--- /dev/null
+++ b/databases/py-flask-pymongo/pkg-descr
@@ -0,0 +1 @@
+Flask-PyMongo bridges Flask and PyMongo and provides some convenience helpers.