Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2024 20:20:35 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2c9ec04156e3 - main - databases/py-duckdb_engine: new port
Message-ID:  <202409162020.48GKKZXW064968@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

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

commit 2c9ec04156e3a4ddd18468fa89673709e4f579aa
Author:     Pat Maddox <pat@patmaddox.com>
AuthorDate: 2024-04-03 01:09:17 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-09-16 20:14:23 +0000

    databases/py-duckdb_engine: new port
    
    Basic SQLAlchemy driver for DuckDB
    
    Once you've installed this package, you should be able to just use it,
    as SQLAlchemy does a python path search
    
    WWW: https://github.com/Mause/duckdb_engine
    
    PR:             278138
---
 databases/Makefile                   |  1 +
 databases/py-duckdb_engine/Makefile  | 21 +++++++++++++++++++++
 databases/py-duckdb_engine/distinfo  |  3 +++
 databases/py-duckdb_engine/pkg-descr |  6 ++++++
 4 files changed, 31 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index e067c66ee941..6e4c091e149f 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -768,6 +768,7 @@
     SUBDIR += py-dbt-snowflake
     SUBDIR += py-dbutils
     SUBDIR += py-duckdb
+    SUBDIR += py-duckdb_engine
     SUBDIR += py-fakeredis
     SUBDIR += py-fastapi-users-db-ormar
     SUBDIR += py-fastparquet
diff --git a/databases/py-duckdb_engine/Makefile b/databases/py-duckdb_engine/Makefile
new file mode 100644
index 000000000000..554e464284c1
--- /dev/null
+++ b/databases/py-duckdb_engine/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	duckdb_engine
+DISTVERSION=	0.11.2
+CATEGORIES=	databases python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	pat@patmaddox.com
+COMMENT=	SQLAlchemy driver for DuckDB
+WWW=		https://github.com/Mause/duckdb_engine
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}duckdb>=0.4.0:databases/py-duckdb@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sqlalchemy20>0:databases/py-sqlalchemy20@${PY_FLAVOR}
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry>0:devel/py-poetry@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+.include <bsd.port.mk>
diff --git a/databases/py-duckdb_engine/distinfo b/databases/py-duckdb_engine/distinfo
new file mode 100644
index 000000000000..1ed126389989
--- /dev/null
+++ b/databases/py-duckdb_engine/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1712105647
+SHA256 (duckdb_engine-0.11.2.tar.gz) = 40644334a0af02bdb50bbd8c57e4bd29441e7bf9bd21b565848645bae318e533
+SIZE (duckdb_engine-0.11.2.tar.gz) = 46006
diff --git a/databases/py-duckdb_engine/pkg-descr b/databases/py-duckdb_engine/pkg-descr
new file mode 100644
index 000000000000..100c3eb48dc0
--- /dev/null
+++ b/databases/py-duckdb_engine/pkg-descr
@@ -0,0 +1,6 @@
+duckdb_engine
+
+Basic SQLAlchemy driver for DuckDB
+
+Once you've installed this package, you should be able to just use it,
+as SQLAlchemy does a python path search



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409162020.48GKKZXW064968>