git: 48bfbe996274 - main - databases/py-psycopg-pool: Add py-psycopg-pool 3.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 21 Nov 2021 18:27:26 UTC
The branch main has been updated by sunpoet:

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

commit 48bfbe996274ad9abab1c25a445cd04c35d1a6a2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-11-21 18:18:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-11-21 18:18:17 +0000

    databases/py-psycopg-pool: Add py-psycopg-pool 3.0.1
    
    PostgreSQL database adapter for Python - Connection Pool
    
    This distribution contains the optional connection pool package psycopg_pool.
    This package is kept separate from the main psycopg package because it is likely
    that it will follow a different release cycle.
    
    WWW: https://www.psycopg.org/
    WWW: https://github.com/psycopg/psycopg/tree/master/psycopg_pool
---
 databases/Makefile                  |  1 +
 databases/py-psycopg-pool/Makefile  | 20 ++++++++++++++++++++
 databases/py-psycopg-pool/distinfo  |  3 +++
 databases/py-psycopg-pool/pkg-descr |  8 ++++++++
 4 files changed, 32 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index 300377d10b46..704e8d8cd320 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -800,6 +800,7 @@
     SUBDIR += py-psycogreen
     SUBDIR += py-psycopg
     SUBDIR += py-psycopg-c
+    SUBDIR += py-psycopg-pool
     SUBDIR += py-psycopg2
     SUBDIR += py-psycopg2cffi
     SUBDIR += py-pum
diff --git a/databases/py-psycopg-pool/Makefile b/databases/py-psycopg-pool/Makefile
new file mode 100644
index 000000000000..75f29ac3a78b
--- /dev/null
+++ b/databases/py-psycopg-pool/Makefile
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	psycopg-pool
+PORTVERSION=	3.0.1
+CATEGORIES=	databases python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Connection Pool for Psycopg
+
+LICENSE=	LGPL3
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/databases/py-psycopg-pool/distinfo b/databases/py-psycopg-pool/distinfo
new file mode 100644
index 000000000000..312e4715c8c8
--- /dev/null
+++ b/databases/py-psycopg-pool/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1637072886
+SHA256 (psycopg-pool-3.0.1.tar.gz) = ed4f9ed86b727bb98a46d598372603621b5f7e16cfbca1fd17c6cb44761e5fc4
+SIZE (psycopg-pool-3.0.1.tar.gz) = 16953
diff --git a/databases/py-psycopg-pool/pkg-descr b/databases/py-psycopg-pool/pkg-descr
new file mode 100644
index 000000000000..8e44aa6a2090
--- /dev/null
+++ b/databases/py-psycopg-pool/pkg-descr
@@ -0,0 +1,8 @@
+PostgreSQL database adapter for Python - Connection Pool
+
+This distribution contains the optional connection pool package psycopg_pool.
+This package is kept separate from the main psycopg package because it is likely
+that it will follow a different release cycle.
+
+WWW: https://www.psycopg.org/
+WWW: https://github.com/psycopg/psycopg/tree/master/psycopg_pool