summaryrefslogtreecommitdiff
path: root/databases/py-anysqlite
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-anysqlite')
-rw-r--r--databases/py-anysqlite/Makefile23
-rw-r--r--databases/py-anysqlite/distinfo3
-rw-r--r--databases/py-anysqlite/pkg-descr2
3 files changed, 28 insertions, 0 deletions
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.