Install this version:
emerge -a =app-misc/go-yq-bin-4.54.3
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-misc/go-yq-bin-4.54.3
Or alternatively:
emerge --autounmask-write -a =app-misc/go-yq-bin-4.54.3
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker
DESCRIPTION="yq is a portable command-line YAML, JSON and XML processor"
HOMEPAGE="https://github.com/mikefarah/yq"
SRC_URI="
amd64? ( https://github.com/mikefarah/yq/releases/download/v${PV}/yq_linux_amd64.tar.gz -> ${P}.tar.gz )
arm64? ( https://github.com/mikefarah/yq/releases/download/v${PV}/yq_linux_arm64.tar.gz -> ${P}-arm64.tar.gz )
"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
RDEPEND="!app-misc/yq"
QA_PREBUILT="*"
src_install() {
doman yq.1
newbin yq_linux_$(usex arm64 arm64 amd64) yq
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | go-yq-bin-4.54.3-arm64.tar.gz | 5647991 bytes | https://github.com/mikefarah/yq/releases/download/v4.54.3/yq_linux_arm64.tar.gz |
| DIST | go-yq-bin-4.54.3.tar.gz | 6326527 bytes | https://github.com/mikefarah/yq/releases/download/v4.54.3/yq_linux_amd64.tar.gz |