app-misc/go-yq-bin - 4.54.3 (gentoo-zh)

Search

Install

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

Package Information

Description:
yq is a portable command-line YAML, JSON and XML processor
Homepage:
https://github.com/mikefarah/yq
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
4.54.3 8 -* ~amd64 ~arm64 0
View Raw Ebuild
# 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
}

Inherited Eclasses

Dependencies

RDEPEND

!app-misc/yq

Manifest for 4.54.3

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