public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jonas Frei" <freijon@pm.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-db/limbo/
Date: Sun, 09 Feb 2025 16:29:17 +0000 (UTC)	[thread overview]
Message-ID: <1739118508.bb99fe48f799e640c6365e0ba2d2011e22f41337.freijon@gentoo> (raw)

commit:     bb99fe48f799e640c6365e0ba2d2011e22f41337
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Sun Feb  9 16:28:28 2025 +0000
Commit:     Jonas Frei <freijon <AT> pm <DOT> me>
CommitDate: Sun Feb  9 16:28:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bb99fe48

dev-db/limbo: add 0.0.14, new USE flag 'uring'

Signed-off-by: Jonas Frei <freijon <AT> pm.me>

 dev-db/limbo/Manifest            |  2 ++
 dev-db/limbo/limbo-0.0.14.ebuild | 57 ++++++++++++++++++++++++++++++++++++++++
 dev-db/limbo/metadata.xml        |  3 +++
 3 files changed, 62 insertions(+)

diff --git a/dev-db/limbo/Manifest b/dev-db/limbo/Manifest
index c6b40faed..0ab47149f 100644
--- a/dev-db/limbo/Manifest
+++ b/dev-db/limbo/Manifest
@@ -1,2 +1,4 @@
 DIST limbo-0.0.13-crates.tar.xz 23580920 BLAKE2B 222a44e666d479f593e3f01b13e6c4f8b65504a83f7c7ca6b3695199b1ca8155b6823a88fefe2028667f22dabb18029fa827107161890cba51bce848bd9de8e2 SHA512 4646eaecd0840890debbb22d18bb4acb5bd65fd5ed9d5f14b226acab83c1ac9141aec4e279c114cf3650dcbebdc2ad0010024ccdd5ce282229ac381003959e82
 DIST limbo-0.0.13.tar.gz 7893773 BLAKE2B 29182090caff8d24143a7d6a205ebf00e69d3773bca52d2a2f796f16363a839fd01ca83b29e7d4e2d138952cdbb8e2a5cc369592a91dba8a497505e759c40b3a SHA512 0b50e89ecf3e00a34c0927bb151fe4e49a9fc26fc54788b93852923d634eacf2d90c791a933f98e83ffdad225183d6ab4e4621e4cb9750219a31d58de8cde259
+DIST limbo-0.0.14-crates.tar.xz 26970812 BLAKE2B ea1b05a19e482641c6b12f526f726c71068cc4d9373eba44e2442caf2d377f57a27976fdd65f3e10547582c39deed7c544d0ab8d96463b0308c29b197d467a43 SHA512 a835cd17545697d26da05d33d2a68512369e539186ae897c19ae3b1915c3111d5a0d3d421da73b8a14148cbb82938492da92ec422bd947758db5836b050cc226
+DIST limbo-0.0.14.tar.gz 8059092 BLAKE2B f86c3173588f87fb466c4ed3a5fa801e711f78df310b4f1fb62cbb2c19303d05134fcff8b2ff9d180b71cbc701aa1bef0a0bbc0593e9b79880eed39e95cd1741 SHA512 313eb95ad5764a08082730c4f52eaf4c3a85188aecc287fb0c295624a6d81d41464e2e5a62e1e2681a8a436987b995d0b41dbd6304ce108065536a4b6f03f1e5

diff --git a/dev-db/limbo/limbo-0.0.14.ebuild b/dev-db/limbo/limbo-0.0.14.ebuild
new file mode 100644
index 000000000..3503e890d
--- /dev/null
+++ b/dev-db/limbo/limbo-0.0.14.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES=""
+
+inherit cargo linux-info
+
+DESCRIPTION="The Limbo interactive SQL shell"
+HOMEPAGE="https://github.com/tursodatabase/limbo"
+SRC_URI="
+	https://github.com/tursodatabase/${PN}/releases/download/v${PV}/source.tar.gz -> ${P}.tar.gz
+"
+DEPS_URI="https://github.com/freijon/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"
+SRC_URI+=" ${DEPS_URI}"
+
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+	Apache-2.0 Apache-2.0-with-LLVM-exceptions Boost-1.0 CC0-1.0 CDDL
+	GPL-2.0-with-bison-exception MIT MPL-2.0 Unicode-DFS-2016
+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+uring"
+
+pkg_setup() {
+	CONFIG_CHECK="~IO_URING"
+	WARNING_IO_URING="The USE flag 'uring' needs the option IO_URING to be enabled."
+
+	use uring && linux-info_pkg_setup
+	rust_pkg_setup
+}
+
+src_configure() {
+	local myfeatures=(
+		$(use uring && usex "uring" "io_uring")
+	)
+	cargo_src_configure --no-default-features
+}
+
+src_compile() {
+	cargo_src_compile --package "${PN}" --bin "${PN}"
+}
+
+src_install() {
+	cargo_src_install --path cli
+
+	local DOCS=(
+		CHANGELOG.md
+		CONTRIBUTING.md
+		README.md
+	)
+
+	einstalldocs
+}

diff --git a/dev-db/limbo/metadata.xml b/dev-db/limbo/metadata.xml
index 37286c8c4..f390312da 100644
--- a/dev-db/limbo/metadata.xml
+++ b/dev-db/limbo/metadata.xml
@@ -9,4 +9,7 @@
 		<remote-id type="github">tursodatabase/limbo</remote-id>
 		<bugs-to>https://github.com/tursodatabase/limbo/issues</bugs-to>
 	</upstream>
+	<use>
+		<flag name="uring">Use uring I/O backend</flag>
+	</use>
 </pkgmetadata>


             reply	other threads:[~2025-02-09 16:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-09 16:29 Jonas Frei [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-21  5:26 [gentoo-commits] repo/proj/guru:dev commit in: dev-db/limbo/ Jonas Frei
2025-02-21  5:26 Jonas Frei
2025-02-09 16:29 Jonas Frei
2025-01-19 20:14 Jonas Frei
2025-01-19 20:14 Jonas Frei
2025-01-14 19:59 Jonas Frei
2025-01-14 19:56 Jonas Frei
2025-01-14 19:56 Jonas Frei
2024-12-19 18:17 Jonas Frei
2024-12-19  6:19 Jonas Frei
2024-12-19  6:19 Jonas Frei
2024-12-17 20:46 Jonas Frei
2024-12-14 12:52 Jonas Frei

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=1739118508.bb99fe48f799e640c6365e0ba2d2011e22f41337.freijon@gentoo \
    --to=freijon@pm.me \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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