From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1701584-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 3FCDC15802C
	for <garchives@archives.gentoo.org>; Fri, 20 Dec 2024 00:36:37 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 869C0E08E8;
	Fri, 20 Dec 2024 00:36:32 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 70D70E08E8
	for <gentoo-commits@lists.gentoo.org>; Fri, 20 Dec 2024 00:36:32 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 3AE00340806
	for <gentoo-commits@lists.gentoo.org>; Fri, 20 Dec 2024 00:36:31 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C65F2262
	for <gentoo-commits@lists.gentoo.org>; Fri, 20 Dec 2024 00:36:28 +0000 (UTC)
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" <davidroman96@gmail.com>
Message-ID: <1734632223.c88e04b2cd3fd40a4ac06a9f9f75c02e58b91cb0.davidroman@gentoo>
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-db/limbo/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: dev-db/limbo/limbo-0.0.10.ebuild
X-VCS-Directories: dev-db/limbo/
X-VCS-Committer: davidroman
X-VCS-Committer-Name: David Roman
X-VCS-Revision: c88e04b2cd3fd40a4ac06a9f9f75c02e58b91cb0
X-VCS-Branch: master
Date: Fri, 20 Dec 2024 00:36:28 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 00d828a8-9c10-4af4-9266-6f74ba071095
X-Archives-Hash: 47611bbd1e86292a83bc8c2ec0769d59

commit:     c88e04b2cd3fd40a4ac06a9f9f75c02e58b91cb0
Author:     Jonas Frei <freijon <AT> pm <DOT> me>
AuthorDate: Thu Dec 19 18:16:15 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Dec 19 18:17:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c88e04b2

dev-db/limbo: Check for IO_URING, warn otherwise.

Bug: https://bugs.gentoo.org/946615
Signed-off-by: Jonas Frei <freijon <AT> pm.me>

 dev-db/limbo/limbo-0.0.10.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-db/limbo/limbo-0.0.10.ebuild b/dev-db/limbo/limbo-0.0.10.ebuild
index ac811ab14..02cb69be3 100644
--- a/dev-db/limbo/limbo-0.0.10.ebuild
+++ b/dev-db/limbo/limbo-0.0.10.ebuild
@@ -280,7 +280,7 @@ EAPI=8
 	zerocopy@0.7.35
 	"
 
-inherit cargo
+inherit cargo linux-info
 
 DESCRIPTION="The Limbo interactive SQL shell"
 HOMEPAGE="https://github.com/tursodatabase/limbo"
@@ -298,6 +298,14 @@ LICENSE+="
 SLOT="0"
 KEYWORDS="~amd64"
 
+pkg_setup() {
+	CONFIG_CHECK="~IO_URING"
+	WARNING_IO_URING="limbo needs IO_URING to be enabled to work properly."
+
+	linux-info_pkg_setup
+	rust_pkg_setup
+}
+
 src_install() {
 	cargo_src_install --path cli