git: f6885d55d3bf - main - databases/py-psycopg-pool: Update to 3.1.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 10 Sep 2022 16:09:15 UTC
The branch main has been updated by sunpoet:

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

commit f6885d55d3bf61274fa1660874428c246aa33946
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-09-10 16:06:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-09-10 16:06:10 +0000

    databases/py-psycopg-pool: Update to 3.1.2
    
    Changes:        https://github.com/psycopg/psycopg/blob/master/docs/news_pool.rst
---
 databases/py-psycopg-pool/Makefile | 10 ++++++++--
 databases/py-psycopg-pool/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/databases/py-psycopg-pool/Makefile b/databases/py-psycopg-pool/Makefile
index c1df94fabddd..f68aba9ced1c 100644
--- a/databases/py-psycopg-pool/Makefile
+++ b/databases/py-psycopg-pool/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	psycopg-pool
-PORTVERSION=	3.1.1
+PORTVERSION=	3.1.2
 CATEGORIES=	databases python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,4 +16,10 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/py-psycopg-pool/distinfo b/databases/py-psycopg-pool/distinfo
index 621446a77191..2bb0a1a322ec 100644
--- a/databases/py-psycopg-pool/distinfo
+++ b/databases/py-psycopg-pool/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1651316611
-SHA256 (psycopg-pool-3.1.1.tar.gz) = bc579078dc8209f1ce280228460f96770756f24babb5d8ab2418800e9082a973
-SIZE (psycopg-pool-3.1.1.tar.gz) = 19258
+TIMESTAMP = 1662820054
+SHA256 (psycopg-pool-3.1.2.tar.gz) = c72fb0b619da86c75eadb1284ffa9f93d5a76d2f4e762b30ed10b159563acfb8
+SIZE (psycopg-pool-3.1.2.tar.gz) = 19477