Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: duckdb-0.10.1
@ 2024-03-19  7:15 icp1994
  2024-03-19  8:13 ` [PR PATCH] [Updated] " icp1994
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: icp1994 @ 2024-03-19  7:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages duckdb
https://github.com/void-linux/void-packages/pull/49367

New package: duckdb-0.10.1
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

A patch file from https://github.com/void-linux/void-packages/pull/49367.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-duckdb-49367.patch --]
[-- Type: text/x-diff, Size: 2577 bytes --]

From 8f318d1c416d1969fc9472b28181918869f43e06 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 4 Apr 2023 21:41:12 +0530
Subject: [PATCH] New package: duckdb-0.10.1

---
 srcpkgs/duckdb-devel    |  1 +
 srcpkgs/duckdb/template | 51 +++++++++++++++++++++++++++++++++++++++++
 srcpkgs/python3-duckdb  |  1 +
 3 files changed, 53 insertions(+)
 create mode 120000 srcpkgs/duckdb-devel
 create mode 100644 srcpkgs/duckdb/template
 create mode 120000 srcpkgs/python3-duckdb

diff --git a/srcpkgs/duckdb-devel b/srcpkgs/duckdb-devel
new file mode 120000
index 00000000000000..3da59dfc722faf
--- /dev/null
+++ b/srcpkgs/duckdb-devel
@@ -0,0 +1 @@
+duckdb
\ No newline at end of file
diff --git a/srcpkgs/duckdb/template b/srcpkgs/duckdb/template
new file mode 100644
index 00000000000000..c4817b07747433
--- /dev/null
+++ b/srcpkgs/duckdb/template
@@ -0,0 +1,51 @@
+# Template file for 'duckdb'
+pkgname=duckdb
+version=0.10.1
+revision=1
+build_style=cmake
+build_helper="python3"
+configure_args="-DOVERRIDE_GIT_DESCRIBE=v${version}-0-gdeadbeeff
+ -DBUILD_EXTENSIONS='autocomplete;icu;fts;httpfs;json;parquet'"
+hostmakedepends="pkg-config python3-build python3-installer python3-setuptools_scm
+ python3-wheel python3-pybind11"
+makedepends="openssl-devel"
+short_desc="In-process SQL OLAP database management system"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://duckdb.org"
+changelog="https://github.com/duckdb/duckdb/releases"
+distfiles="https://github.com/duckdb/duckdb/archive/refs/tags/v${version}.tar.gz"
+checksum=83bd4944c070fd0bd287fbe62919fa887f35d7422ba0fa66e13d4ed098f3791a
+
+post_build() {
+	OVERRIDE_GIT_DESCRIBE="v${version}-0-gdeadbeeff" python3 -m build \
+		--no-isolation --wheel tools/pythonpkg
+}
+
+post_install() {
+	python3 -m installer --destdir "${DESTDIR}" --no-compile-bytecode \
+		tools/pythonpkg/dist/duckdb-${version}-*-*-*.whl
+
+	rm "${DESTDIR}/usr/"{includes,sources}.list
+	rm -r "${DESTDIR}/usr/duckdb_build"
+
+	vlicense LICENSE
+}
+
+duckdb-devel_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+python3-duckdb_package() {
+	short_desc+=" - python bindings"
+	pkg_install() {
+		vmove "${py3_sitelib}"
+	}
+}
diff --git a/srcpkgs/python3-duckdb b/srcpkgs/python3-duckdb
new file mode 120000
index 00000000000000..3da59dfc722faf
--- /dev/null
+++ b/srcpkgs/python3-duckdb
@@ -0,0 +1 @@
+duckdb
\ No newline at end of file

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-22 16:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-19  7:15 [PR PATCH] New package: duckdb-0.10.1 icp1994
2024-03-19  8:13 ` [PR PATCH] [Updated] " icp1994
2024-03-22 16:12 ` [PR REVIEW] " leahneukirchen
2024-03-22 16:17 ` leahneukirchen
2024-03-22 16:55 ` [PR REVIEW] " icp1994

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).