From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 8822C15802C for ; Thu, 19 Dec 2024 18:18:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE7E1E08AB; Thu, 19 Dec 2024 18:17:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 65A26E08AB for ; Thu, 19 Dec 2024 18:17:59 +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 B8A4B33BF29 for ; Thu, 19 Dec 2024 18:17:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 50B6CAED for ; Thu, 19 Dec 2024 18:17:55 +0000 (UTC) From: "Jonas Frei" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jonas Frei" Message-ID: <1734632223.c88e04b2cd3fd40a4ac06a9f9f75c02e58b91cb0.freijon@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev 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: freijon X-VCS-Committer-Name: Jonas Frei X-VCS-Revision: c88e04b2cd3fd40a4ac06a9f9f75c02e58b91cb0 X-VCS-Branch: dev Date: Thu, 19 Dec 2024 18:17:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ef2db7a6-5e57-4c3b-b616-f75aaef4fba4 X-Archives-Hash: f947af8885d95a24d245cf0292382f01 commit: c88e04b2cd3fd40a4ac06a9f9f75c02e58b91cb0 Author: Jonas Frei pm me> AuthorDate: Thu Dec 19 18:16:15 2024 +0000 Commit: Jonas Frei pm me> 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 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