mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
app-shells/nushell: drop 0.109.1
Signed-off-by: Jonas Frei <freijon@pm.me> Closes: https://github.com/gentoo/gentoo/pull/46101 Part-of: https://github.com/gentoo/gentoo/pull/46101 Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
DIST nushell-0.109.1-crates.tar.xz 75891132 BLAKE2B 1fc61f47bdcc15ee624ecdc2e7f3d80289b160c17953bddaace898ec9856044086f123ef998be94297ffdb335cc2392bce3db24fa1af7128289cc552c53a56d9 SHA512 4b94e87db61fab2781f24e27989e8f55d47f238391ecb5be1680c00ea99488bdc884a00236d92f8b2959d3e1e6d7c5e0b3ece70e8b110afc56ac6bcfdd726c3d
|
||||
DIST nushell-0.109.1.tar.gz 3672021 BLAKE2B 59d6d58b4a472283d6cdb4cf618152abb3cae978ab501a57075e10355c2a5d89228d7288fb0a446e1745e3caf68ff98451788930c2cca3fa8f55780bcbddceb0 SHA512 f625f882bdecad448a54a9e0e63d64178723524b04b794c4c366ed824993d136855f5b93d99ac72dce37f6385322ff941e41ee1b378c885b75e3d01372de6dc2
|
||||
DIST nushell-0.110.0-crates.tar.xz 74774668 BLAKE2B c18b384fd9b5f8a88f8ac3d376ca50158a022c65597790fc8b51160191ef41a8148213e3d4f96b8d4a1d79f941671bf95da8bc1eb3c8d883aa1c04406df2b7b9 SHA512 32a8bc1e882913c9e0bcf98ccd740b9f109d30fb45c65138d305c6f2179e6e2f2c13c69baffebabab493f172b7b3180d2bc5f04a587fdb75152550c1d96cc7db
|
||||
DIST nushell-0.110.0.tar.gz 3754147 BLAKE2B 9f37f4947de870421bd85b87b52cd3cc066b88f06897c6b13b759bffe57e7e9137580b9227b2b261423b77c51b5779e91857138de30d98fb492fd38a16100b6c SHA512 c030acb3cfa5aad35e1b516028de16b9b99e0b18be6fa4c1e75ab59f98fa8e7dfa2e448f8e6f7d08b1412f3fedae615d2d42179d4d83e4c5a06aae3dc51fd467
|
||||
DIST nushell-0.111.0-crates.tar.xz 82711756 BLAKE2B 88fa3ec429cc2482468e9a09f1151af1a993d409542e5382f7d6c2df08192b4044960546d77b25c90bd2d536864ed1842c6bcf65c6a6e102e2a3414d8ab50022 SHA512 42a4704a9d671a18d229ef23ad146c5483e7f51ac76d084870a49391c4657ac872b1e1d7ae24322646e5625421b6514b25c353c73495362196c17e8a4011f2d9
|
||||
|
||||
@@ -1,96 +0,0 @@
|
||||
# Copyright 2023-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
RUST_MIN_VER="1.89.0"
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="A new type of shell, written in Rust"
|
||||
HOMEPAGE="https://www.nushell.sh"
|
||||
SRC_URI="https://github.com/nushell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://github.com/gentoo-crate-dist/nushell/releases/download/${PV}/${P}-crates.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
# Dependent crate licenses
|
||||
LICENSE+="
|
||||
0BSD Apache-2.0 BSD Boost-1.0 CC-PD CC0-1.0 ISC MIT MPL-2.0 MPL-2.0
|
||||
Unicode-DFS-2016 ZLIB
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv"
|
||||
IUSE="mcp plugins system-clipboard X"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/openssl:0=
|
||||
dev-db/sqlite:3=
|
||||
system-clipboard? (
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
)
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
RESTRICT+=" test"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/nu.*"
|
||||
|
||||
src_prepare() {
|
||||
use plugins || eapply "${FILESDIR}/${PN}-dont-build-plugins-from-106.patch"
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# high magic to allow system-libs
|
||||
export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
|
||||
export OPENSSL_NO_VENDOR=true
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
local myfeatures=(
|
||||
$(usev mcp)
|
||||
network
|
||||
plugin
|
||||
native-tls
|
||||
sqlite
|
||||
$(usev system-clipboard)
|
||||
trash-support
|
||||
)
|
||||
|
||||
cargo_src_configure --no-default-features
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cargo_src_compile --workspace
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
if use plugins ; then
|
||||
# Clear features to compile plugins
|
||||
local myfeatures=()
|
||||
cargo_src_configure
|
||||
|
||||
cargo_src_install --path crates/nu_plugin_custom_values
|
||||
cargo_src_install --path crates/nu_plugin_example
|
||||
cargo_src_install --path crates/nu_plugin_formats
|
||||
cargo_src_install --path crates/nu_plugin_gstat
|
||||
cargo_src_install --path crates/nu_plugin_inc
|
||||
cargo_src_install --path crates/nu_plugin_polars
|
||||
cargo_src_install --path crates/nu_plugin_query
|
||||
cargo_src_install --path crates/nu_plugin_stress_internals
|
||||
fi
|
||||
local DOCS=( README.md )
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use plugins ; then
|
||||
einfo "The plugins are installed alongside the main 'nu' binary."
|
||||
einfo "Visit https://www.nushell.sh/book/plugins.html#adding-a-plugin"
|
||||
einfo "for more information on how to use plugins."
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user