git: 73cd7f145858 - main - databases/py-sqlite-anyio: Add py-sqlite-anyio 0.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 19 May 2024 17:23:17 UTC
The branch main has been updated by sunpoet:

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

commit 73cd7f1458580377e83d329ae6ea13e857bd60f3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-19 15:45:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-19 17:14:59 +0000

    databases/py-sqlite-anyio: Add py-sqlite-anyio 0.2.0
    
    sqlite-anyio provides asynchronous client for SQLite using AnyIO.
---
 databases/Makefile                  |  1 +
 databases/py-sqlite-anyio/Makefile  | 24 ++++++++++++++++++++++++
 databases/py-sqlite-anyio/distinfo  |  3 +++
 databases/py-sqlite-anyio/pkg-descr |  1 +
 4 files changed, 29 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index fe261485e714..d7df0525a0a0 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -821,6 +821,7 @@
     SUBDIR += py-sqlalchemy20
     SUBDIR += py-sqlcipher3
     SUBDIR += py-sqlglot
+    SUBDIR += py-sqlite-anyio
     SUBDIR += py-sqlite-fts4
     SUBDIR += py-sqlite-utils
     SUBDIR += py-sqlite3
diff --git a/databases/py-sqlite-anyio/Makefile b/databases/py-sqlite-anyio/Makefile
new file mode 100644
index 000000000000..ac20fe78242b
--- /dev/null
+++ b/databases/py-sqlite-anyio/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	sqlite-anyio
+PORTVERSION=	0.2.0
+CATEGORIES=	databases python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	sqlite_anyio-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Asynchronous client for SQLite using AnyIO
+WWW=		https://github.com/davidbrochart/sqlite-anyio
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}anyio>=4.0<5.0:devel/py-anyio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/databases/py-sqlite-anyio/distinfo b/databases/py-sqlite-anyio/distinfo
new file mode 100644
index 000000000000..0382c15bb0d0
--- /dev/null
+++ b/databases/py-sqlite-anyio/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1715842484
+SHA256 (sqlite_anyio-0.2.0.tar.gz) = 9ecbcddf105e5862f7975a9827b684a19a987aad46f10699eadb22ea33bbd060
+SIZE (sqlite_anyio-0.2.0.tar.gz) = 9849
diff --git a/databases/py-sqlite-anyio/pkg-descr b/databases/py-sqlite-anyio/pkg-descr
new file mode 100644
index 000000000000..ccd2c81b1805
--- /dev/null
+++ b/databases/py-sqlite-anyio/pkg-descr
@@ -0,0 +1 @@
+sqlite-anyio provides asynchronous client for SQLite using AnyIO.