mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
@@ -1,4 +1,2 @@
|
||||
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
|
||||
DIST limbo-0.0.19-crates.tar.xz 31577128 BLAKE2B e7b8c3e83a764523ca88a9bc0cb8b4b045c38338ee76937a025df486f2e7a31a0f0efeed475a2d5e00fdd78593a155cb82844fbde1c88524ef8d37b53efa8e94 SHA512 7790af27369b716db1e7028c858bb324d70ed9638447579858e6d0157c1f2d909586c0b07c868160235b92c4c26d9e53be941bb989e211c228857a895ad3d65b
|
||||
DIST limbo-0.0.19.tar.gz 4698440 BLAKE2B e620719d7d3986f8a81d6393556415eb828a9b516bcfd0cf468fc4bee22083189a4ae0c175a06a6c4164e8fb78ec5f511cbe858781c9ca5f9501b0e4dc832a43 SHA512 3d32971d03df0396128214b213f5c6694de753935cbe88463e057fcc9b597fd12a32ef10628a8ce9c579be94418f1ceabd490ed99d2c19aa0c1d1ca39b7a0697
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user