aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-10-27 15:09:25 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-10-27 15:09:25 +0000
commit7ed85d13a1f2f31df284053e71a8afe364e0f76e (patch)
treedc5e052ffd3fb7ec38ecce71c235298b2ed62cdd
parentf3c9996ddc6c5395cdeca42e7e5fa53f79bcde14 (diff)
databases/py-anysqlite: Add py-anysqlite 0.0.5
Anysqlite provides an async/await interface to the standard sqlite3 library and supports both trio and asyncio backends using the power of Anyio.
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-anysqlite/Makefile23
-rw-r--r--databases/py-anysqlite/distinfo3
-rw-r--r--databases/py-anysqlite/pkg-descr2
4 files changed, 29 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 856f89a0fc9c..09c38af27148 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -759,6 +759,7 @@
SUBDIR += py-aiosql
SUBDIR += py-aiosqlite
SUBDIR += py-alembic
+ SUBDIR += py-anysqlite
SUBDIR += py-apache-arrow
SUBDIR += py-apsw
SUBDIR += py-asyncmy
diff --git a/databases/py-anysqlite/Makefile b/databases/py-anysqlite/Makefile
new file mode 100644
index 000000000000..710c51b4b2c4
--- /dev/null
+++ b/databases/py-anysqlite/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= anysqlite
+PORTVERSION= 0.0.5
+CATEGORIES= databases python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= SQLite3 for asyncio and trio
+WWW= https://github.com/karpetrosyan/anysqlite
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyio>=3.4.0:devel/py-anyio@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/databases/py-anysqlite/distinfo b/databases/py-anysqlite/distinfo
new file mode 100644
index 000000000000..1aad8eb4fd33
--- /dev/null
+++ b/databases/py-anysqlite/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1761446464
+SHA256 (anysqlite-0.0.5.tar.gz) = 9dfcf87baf6b93426ad1d9118088c41dbf24ef01b445eea4a5d486bac2755cce
+SIZE (anysqlite-0.0.5.tar.gz) = 3432
diff --git a/databases/py-anysqlite/pkg-descr b/databases/py-anysqlite/pkg-descr
new file mode 100644
index 000000000000..4716fc3f4de5
--- /dev/null
+++ b/databases/py-anysqlite/pkg-descr
@@ -0,0 +1,2 @@
+Anysqlite provides an async/await interface to the standard sqlite3 library and
+supports both trio and asyncio backends using the power of Anyio.