git: 7ee65fd71e8e - main - databases/py-duckdb: New port: In-process SQL OLAP database management system
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 07:08:30 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7ee65fd71e8e47c18768db9038a8dc5a7d73282b
commit 7ee65fd71e8e47c18768db9038a8dc5a7d73282b
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-21 07:07:33 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-21 07:08:26 +0000
databases/py-duckdb: New port: In-process SQL OLAP database management system
---
databases/Makefile | 1 +
databases/py-duckdb/Makefile | 25 +++++++++++++++++++++++++
databases/py-duckdb/distinfo | 3 +++
databases/py-duckdb/pkg-descr | 7 +++++++
4 files changed, 36 insertions(+)
diff --git a/databases/Makefile b/databases/Makefile
index 4512008b7328..c7a7e448b8c9 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -774,6 +774,7 @@
SUBDIR += py-databases
SUBDIR += py-dbf
SUBDIR += py-dbutils
+ SUBDIR += py-duckdb
SUBDIR += py-fakeredis
SUBDIR += py-fastapi-users-db-ormar
SUBDIR += py-fdb
diff --git a/databases/py-duckdb/Makefile b/databases/py-duckdb/Makefile
new file mode 100644
index 000000000000..4ae90e07824d
--- /dev/null
+++ b/databases/py-duckdb/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= duckdb
+DISTVERSION= 0.4.0
+CATEGORIES= databases python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= In-process SQL OLAP database management system
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pybind11>=2.6.0:devel/py-pybind11@${PY_FLAVOR} \
+ ${PYNUMPY}
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy>0:devel/py-mypy@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist pytest # tests fail, see https://github.com/duckdb/duckdb/issues/3924
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/duckdb.cpython-${PYTHON_SUFFIX}.so
+
+.include <bsd.port.mk>
diff --git a/databases/py-duckdb/distinfo b/databases/py-duckdb/distinfo
new file mode 100644
index 000000000000..91ccee16d340
--- /dev/null
+++ b/databases/py-duckdb/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1655792541
+SHA256 (duckdb-0.4.0.tar.gz) = 569e5d618de871e21dd676925349a7a5e701b87ebda3433e0c1d57627a465c1c
+SIZE (duckdb-0.4.0.tar.gz) = 13177437
diff --git a/databases/py-duckdb/pkg-descr b/databases/py-duckdb/pkg-descr
new file mode 100644
index 000000000000..caafc8e230c7
--- /dev/null
+++ b/databases/py-duckdb/pkg-descr
@@ -0,0 +1,7 @@
+DuckDB is a high-performance analytical database system. It is
+designed to be fast, reliable and easy to use. DuckDB provides a rich
+SQL dialect, with support far beyond basic SQL. DuckDB supports
+arbitrary and nested correlated subqueries, window functions,
+collations, complex types (arrays, structs), and more.
+
+WWW: https://duckdb.org/