commit: b84886cc4cd5aea71d227173fc0a93bc69eaea89 Author: Jonas Frei <freijon <AT> pm <DOT> me> AuthorDate: Fri Feb 21 05:20:10 2025 +0000 Commit: Jonas Frei <freijon <AT> pm <DOT> me> CommitDate: Fri Feb 21 05:25:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b84886cc
dev-db/limbo: add 0.0.15 Signed-off-by: Jonas Frei <freijon <AT> pm.me> dev-db/limbo/Manifest | 2 ++ dev-db/limbo/limbo-0.0.15.ebuild | 59 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-db/limbo/Manifest b/dev-db/limbo/Manifest index 84f37ae60..562e9b916 100644 --- a/dev-db/limbo/Manifest +++ b/dev-db/limbo/Manifest @@ -1,2 +1,4 @@ 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 +DIST limbo-0.0.15-crates.tar.xz 30014088 BLAKE2B d15364bec530eb15ededa8e298276374bc933bd8f9084d159be64c7f4b70766b9606d17b7143ad2bacdbbcf0819469d8934dc763dadda6394eba99bf430413a4 SHA512 47c69c19cd5c660d97c0dfef1bfffa3463f66032e3ae770947ef34d1cfd9b370748e493fae3502329f8fc88471a59a2bed31f10d945a5805a18b1574c41e3d9a +DIST limbo-0.0.15.tar.gz 3338589 BLAKE2B 1c19b8fde00847cecb11b07047d1083e01209726c76fdea58086e95c1208ebd4b30ba2bdf60dcc8cdf5f4a16be70965006c148b234d4ff697d9476b53ac4315c SHA512 f7b8eec689450a27f7e57953e226e9b1a30f7ec7e044d7b7ef707968e1258396f5da28fc038404be8a7f0e3664a238d577cf4205b1212c47befd0220823be57c diff --git a/dev-db/limbo/limbo-0.0.15.ebuild b/dev-db/limbo/limbo-0.0.15.ebuild new file mode 100644 index 000000000..aff7d3ead --- /dev/null +++ b/dev-db/limbo/limbo-0.0.15.ebuild @@ -0,0 +1,59 @@ +# 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}" + +S="${WORKDIR}/${PN}_cli-${PV}" + +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}_cli" --bin "${PN}" +} + +src_install() { + cargo_src_install --path cli + + local DOCS=( + CHANGELOG.md + CONTRIBUTING.md + README.md + ) + + einstalldocs +}
