From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: duckdb-0.10.1
Date: Tue, 19 Mar 2024 08:15:52 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49367@inbox.vuxu.org> (raw)
[-- 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
next reply other threads:[~2024-03-19 7:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-19 7:15 icp1994 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49367@inbox.vuxu.org \
--to=icp1994@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).