This commit is contained in:
Jay 2024-09-18 10:17:05 +08:00
commit e8084360cb
12 changed files with 170 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST mongosh-2.3.1_arm64.tgz 81012086 BLAKE2B bc8f830958e55eec54eb5c389283e33a0cb8c50251a2d314d802fc3c89f58f84b8c5e77c0eeca318e1a72c3cb927339e7a7c6107719df2864bf590cd2f1b564d SHA512 3f0d3b39587e441d87ffb7931e537848463a0ff8a6d39e1facd85724d7a0dcbf63a7265a62b54f0ff4e70d7039e651127d852d6e8af90e9b91f859dd2cb0cf23
DIST mongosh-2.3.1_x64.tgz 82205543 BLAKE2B 1d6e46180b8aa72f61023b833c57c2fea3469872ee1cf160df051ffe11bdea44f3a9ff35cb97cadd8f398f9e1dfd71fb58b1295a2375381bbefa05b413c831c8 SHA512 8a79afcc69d68a44925ff7154dd126d83e39aa27c364360510522d75c193c2f7f2c61f82216e77b57ed8fbfe0b36e31251dd22d52b1b17bb2a80ceaf6db671c4

View File

@ -0,0 +1,37 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="${PN%-bin}"
MY_P=${MY_PN}-${PV}
DESCRIPTION="The MongoDB Shell"
HOMEPAGE="https://github.com/mongodb-js/mongosh https://www.mongodb.com/products/shell"
SRC_URI_BASE="https://downloads.mongodb.com/compass/${MY_P}-linux"
SRC_URI="amd64? ( ${SRC_URI_BASE}-x64.tgz -> ${MY_P}_x64.tgz )
arm64? ( ${SRC_URI_BASE}-arm64.tgz -> ${MY_P}_arm64.tgz )"
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-4.0 ISC MIT WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="dev-libs/cyrus-sasl[kerberos]"
# Do not complain about CFLAGS etc since we don't use them
QA_FLAGS_IGNORED='.*'
src_unpack() {
if use amd64; then
S="${WORKDIR}/${MY_P}-linux-x64"
elif use arm64; then
S="${WORKDIR}/${MY_P}-linux-arm64"
fi
default
}
src_install() {
dobin bin/mongosh
}

3
metadata/layout.conf Normal file
View File

@ -0,0 +1,3 @@
masters = gentoo
thin-manifests = true
sign-manifests = false

View File

@ -0,0 +1,10 @@
DEFINED_PHASES=install unpack
DESCRIPTION=The MongoDB Shell
EAPI=8
HOMEPAGE=https://github.com/mongodb-js/mongosh https://www.mongodb.com/products/shell
KEYWORDS=~amd64 ~arm64
LICENSE=Apache-2.0 BSD BSD-2 CC-BY-4.0 ISC MIT WTFPL-2
RDEPEND=dev-libs/cyrus-sasl[kerberos]
SLOT=0
SRC_URI=amd64? ( https://downloads.mongodb.com/compass/mongosh-2.3.1-linux-x64.tgz -> mongosh-2.3.1_x64.tgz ) arm64? ( https://downloads.mongodb.com/compass/mongosh-2.3.1-linux-arm64.tgz -> mongosh-2.3.1_arm64.tgz )
_md5_=2db7d3599ededde2bd463d0e6e5c7e9b

View File

@ -0,0 +1,18 @@
BDEPEND=lua_single_target_luajit? ( dev-lang/luajit:= ) lua_single_target_lua5-1? ( dev-lang/lua:5.1 ) >=dev-util/gperf-3.1 >=sys-devel/gettext-0.20.1 virtual/libiconv virtual/libintl virtual/pkgconfig test? ( lua_single_target_luajit? ( dev-lua/busted[lua_targets_luajit(-)] ) lua_single_target_lua5-1? ( dev-lua/busted[lua_targets_lua5-1(-)] ) ) app-alternatives/ninja >=dev-build/cmake-3.20.5
DEFINED_PHASES=compile configure install postinst postrm preinst prepare setup test
DEPEND=lua_single_target_luajit? ( dev-lang/luajit:= ) lua_single_target_lua5-1? ( dev-lang/lua:5.1 ) >=dev-lua/luv-1.45.0[lua_single_target_luajit(-)?,lua_single_target_lua5-1(-)?] lua_single_target_luajit? ( dev-lua/lpeg[lua_targets_luajit(-)] dev-lua/mpack[lua_targets_luajit(-)] ) lua_single_target_lua5-1? ( dev-lua/lpeg[lua_targets_lua5-1(-)] dev-lua/mpack[lua_targets_lua5-1(-)] ) lua_single_target_lua5-1? ( dev-lua/LuaBitOp[lua_targets_lua5-1(-)] ) >=dev-libs/libuv-1.46.0:= >=dev-libs/libvterm-0.3.3 >=dev-libs/msgpack-3.0.0:= >=dev-libs/tree-sitter-0.20.8:= >=dev-libs/libtermkey-0.22 >=dev-libs/unibilium-2.0.0:0=
DESCRIPTION=Vim-fork focused on extensibility and agility
EAPI=8
HOMEPAGE=https://neovim.io
IDEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info
INHERIT=cmake lua-single optfeature xdg
IUSE=+nvimpager test lua_single_target_luajit lua_single_target_lua5-1
KEYWORDS=amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86 ~x64-macos
LICENSE=Apache-2.0 vim
RDEPEND=lua_single_target_luajit? ( dev-lang/luajit:= ) lua_single_target_lua5-1? ( dev-lang/lua:5.1 ) >=dev-lua/luv-1.45.0[lua_single_target_luajit(-)?,lua_single_target_lua5-1(-)?] lua_single_target_luajit? ( dev-lua/lpeg[lua_targets_luajit(-)] dev-lua/mpack[lua_targets_luajit(-)] ) lua_single_target_lua5-1? ( dev-lua/lpeg[lua_targets_lua5-1(-)] dev-lua/mpack[lua_targets_lua5-1(-)] ) lua_single_target_lua5-1? ( dev-lua/LuaBitOp[lua_targets_lua5-1(-)] ) >=dev-libs/libuv-1.46.0:= >=dev-libs/libvterm-0.3.3 >=dev-libs/msgpack-3.0.0:= >=dev-libs/tree-sitter-0.20.8:= >=dev-libs/libtermkey-0.22 >=dev-libs/unibilium-2.0.0:0= app-eselect/eselect-vi
REQUIRED_USE=^^ ( lua_single_target_luajit lua_single_target_lua5-1 ) test? ( lua_single_target_luajit )
RESTRICT=!test? ( test ) test
SLOT=0
SRC_URI=https://github.com/neovim/neovim/archive/v0.10.0.tar.gz -> neovim-0.10.0.tar.gz
_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic d309b9713dfc18e754cba88d3ba69653 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils baea6080dd821f5562d715887954c9d3 cmake c7c9a62d6232cac66d4ea32d575c3e7c lua-utils d37a16dbcc1f07f71bc48da75ed7a0cb lua-single 86d497a20c93c7ce83af442f627515c1 optfeature 222cb475c5a4f7ae7cfb0bf510a6fe54 xdg 4a14c5c24f121e7da66e5aab4a168c6e
_md5_=d7da77f4645f2a76695e645402621104

View File

@ -0,0 +1,13 @@
BDEPEND=>=dev-lang/go-1.20:= app-arch/unzip
DEFINED_PHASES=compile install prepare unpack
DESCRIPTION=terminal based UI to manage kubernetes clusters
EAPI=8
HOMEPAGE=https://k9scli.io
INHERIT=go-module
KEYWORDS=~amd64 ~arm64
LICENSE=Apache-2.0
RESTRICT=strip
SLOT=0
SRC_URI=https://github.com/derailed/k9s/archive/v0.32.4.tar.gz -> k9scli-0.32.4.tar.gz https://files.mtfos.xyz/gentoo/k9scli-0.32.4-deps.tar.xz
_eclasses_=multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic d309b9713dfc18e754cba88d3ba69653 go-env dbefaac6fd7019213514bccd65949d9a go-module 83fd3ed1657cfc316c93d6a37018290d
_md5_=fde8c19aec898b7a4e49ec7047349cc4

View File

@ -0,0 +1,13 @@
BDEPEND=>=dev-lang/go-1.20:= app-arch/unzip
DEFINED_PHASES=compile install prepare unpack
DESCRIPTION=terminal based UI to manage kubernetes clusters
EAPI=8
HOMEPAGE=https://k9scli.io
INHERIT=go-module
KEYWORDS=~amd64 ~arm64
LICENSE=Apache-2.0
RESTRICT=strip
SLOT=0
SRC_URI=https://github.com/derailed/k9s/archive/v0.32.5.tar.gz -> k9scli-0.32.5.tar.gz https://files.mtfos.xyz/gentoo/k9scli-0.32.5-deps.tar.xz
_eclasses_=multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic d309b9713dfc18e754cba88d3ba69653 go-env dbefaac6fd7019213514bccd65949d9a go-module 83fd3ed1657cfc316c93d6a37018290d
_md5_=fde8c19aec898b7a4e49ec7047349cc4

1
profiles/eapi Normal file
View File

@ -0,0 +1 @@
8

1
profiles/repo_name Normal file
View File

@ -0,0 +1 @@
local

View File

@ -0,0 +1,4 @@
DIST k9scli-0.32.4-deps.tar.xz 685450496 BLAKE2B f6f743008e27e7c2774d383d31ed9762673995608346015b230bf6fa5f8fcd422ef8173ec02e208e36fb9111d0133b3828926936b2c7ed453dcb777a49074e4b SHA512 6c5582c96b83ac9af4815b53bbbc40a7631eb96ff72b3ec077a9ab334eed9c0f5e54ff1f75d1aa6f95c6e0bb5e7c948c5769debea785e5d1b2aec69ec101360a
DIST k9scli-0.32.4.tar.gz 6748167 BLAKE2B 0f50ba147ef30e4b7176b63285a219420d61b798f9bdca771f8bf0c1c9922ab6b936d5507dfa85fedcdb0f588089e9a763cc7c321a8e4ec8ea339107c59d8847 SHA512 6b3b1b68a7b019aed81d86c263642e95da10ec637081c615abaa6b0d7c8d5434513e3dea4fab48eb37f03ee392e573474f3d7c5094e92942e3b873c742722f4e
DIST k9scli-0.32.5-deps.tar.xz 699138204 BLAKE2B 4b28700d1a9e0953c66d0878ddc96a0f839621d57dcf51b60b7af6feae5c61d43afa1ecf973ffe88d96d182937fc0c165fd68dddd3e5a9cee36ff545b6c299f6 SHA512 656e76395147963ca8c40bc2ea07fbfbe86dcd468bdac9ecf7b0edb1089267841a757b051edbead52ee9793ba1f944716efe4ca19a5e3687a438ae131a1dba10
DIST k9scli-0.32.5.tar.gz 6753976 BLAKE2B d3a3de7811e782b79a6d4882a643c18a90b9c051cadcc4cb739ce134012bfd605942f2827e3d7600f5670f57ee321dd649c2c29c9ac77b18156ec6bd63b49249 SHA512 bbf249a2feb007346ddbb3f45397884cf822712cd45561b99f514b80f3ef21a6dbe575d30ff7998c7a799e5913407b085e3f96bf27b8685bedf9e646a47deede

View File

@ -0,0 +1,34 @@
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
# update this on every bump
GIT_COMMIT=f2f4077b
DESCRIPTION="terminal based UI to manage kubernetes clusters"
HOMEPAGE="https://k9scli.io"
SRC_URI="https://github.com/derailed/k9s/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://files.mtfos.xyz/gentoo/${P}-deps.tar.xz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
S="${WORKDIR}/k9s-${PV}"
src_prepare() {
default
# I will look into opening an upstream PR to do this.
sed -i -e 's/-w -s -X/-X/' Makefile || die
}
src_compile() {
emake GIT_REV=${GIT_COMMIT} VERSION=v${PV} build
}
src_install() {
dobin execs/k9s
dodoc -r change_logs plugins skins README.md
}

View File

@ -0,0 +1,34 @@
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
# update this on every bump
GIT_COMMIT=f2f4077b
DESCRIPTION="terminal based UI to manage kubernetes clusters"
HOMEPAGE="https://k9scli.io"
SRC_URI="https://github.com/derailed/k9s/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://files.mtfos.xyz/gentoo/${P}-deps.tar.xz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
S="${WORKDIR}/k9s-${PV}"
src_prepare() {
default
# I will look into opening an upstream PR to do this.
sed -i -e 's/-w -s -X/-X/' Makefile || die
}
src_compile() {
emake GIT_REV=${GIT_COMMIT} VERSION=v${PV} build
}
src_install() {
dobin execs/k9s
dodoc -r change_logs plugins skins README.md
}