commit: bb99fe48f799e640c6365e0ba2d2011e22f41337 Author: Jonas Frei <freijon <AT> pm <DOT> me> AuthorDate: Sun Feb 9 16:28:28 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> 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>
