Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app-misc/yq4-bin/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ DIST yq4-bin-4.52.5-linux-arm64.tar.gz 4913786 BLAKE2B 94a76f23e4a4829fa13df1e08
DIST yq4-bin-4.53.2-linux-amd64.tar.gz 5493468 BLAKE2B 02b6f389d87e645c011f9bb5069611150ed67c93994e0ba7cb0a35a9dadf7a59d8e26bde500da0990ac2d48363cf40eced8df524cf062aa4f0b6d91a1bcdc460 SHA512 0d197c8ac4437d4be7fbf40148e02baebc624c3d1564230ef972390bb7e13da87e2ab94d0243c5e1cfedbc980526cfdf2142b09efc282219d374a196d2619297
DIST yq4-bin-4.53.2-linux-arm.tar.gz 5296416 BLAKE2B 238724cf4821b7c802032c4712d3dffc6eb28dd0d4c03dcbbf00c56adca4f7b667291ba06407958ea2bcf7d0907406cdf04a31840c5327e396cc64652e1af5c7 SHA512 10ed66d46e831d48164d55e63b06c9ef1cee474d2d05011266c1dbfc6df5e9c563847ff0013e60d7e36914e0e90a2b5659b66c7d584106d50e6e416a81585245
DIST yq4-bin-4.53.2-linux-arm64.tar.gz 4950789 BLAKE2B af41c8401b03b8948e33d8fcb1cf0f6cb32f4d8c2e1f566903f2afea357cc3b0eea0ad869efc6816604c4051bb66c07ef3671dbbb2c0c00e774441903a8bc0f9 SHA512 911a77c2e318021550054923bfe137048a9b4cff710d78ace8036f8dd3af1730f6fd4c27887620c73863b407b12ca59b18d4f904929c5543f5eb7a062bc52f85
DIST yq4-bin-4.53.3-linux-amd64.tar.gz 5501655 BLAKE2B 33e175587954379b46c7c50291f994cde330e31e5a798ded3888e4a5abb74cdd2a3475e114c42783b27cfd32588efb35f1ae91767d2f65dba0e53d277c533aa4 SHA512 e988717e8737cb22dc939a3783b2dba397df0cd93753fb604a4a8c7d09802d33e6afdc85cb6f648a2a4ff6af437d8fd9fc905bf47f3f0f7692fe9b6a15e28f4f
DIST yq4-bin-4.53.3-linux-arm.tar.gz 5304933 BLAKE2B 8837eb162d13b07279bac7bc77112f19a42702919579e53cbd3dbafd545d462ebfc6acdb9fcb517c1115f4c56177737327b0466c67f202f904b88dc727076afe SHA512 601a832badc3cdcbaf6585639189d7c722de2b6c8c18dd14b5904e5f48f808e5de8671b8ecfbc3997039ea6a09aeee7682fae13c20048fbde17fdb1314c7061a
DIST yq4-bin-4.53.3-linux-arm64.tar.gz 4958136 BLAKE2B 7ec94670b6533d0c4d8aafef08451f7f664b1e6d2af5e81caabfa76b15b29c97b58a9322328e3f56a45559e5de4fd3aec42fdabfffe804069967d54c8d9626b9 SHA512 afeefbbf5b3ab10f9dc4a3b4a02c3b77a67043b4ffa31ecdc3d629b1d324fe2128d9287a85ac93461c4d7ddac3beed5d772c0f39b29fae151e99661d407624ac
39 changes: 39 additions & 0 deletions app-misc/yq4-bin/yq4-bin-4.53.3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Distributed under the terms of the GNU General Public License v2
# Autogen by MARK Devkit

EAPI=7
QA_PREBUILT="/usr/bin/yq4"

DESCRIPTION="Portable command-line YAML, JSON, XML, CSV, TOML and properties processor"
HOMEPAGE="https://github.com/mikefarah/yq/"
SRC_URI="
amd64? ( https://github.com/mikefarah/yq/releases/download/v4.53.3/yq_linux_amd64.tar.gz -> yq4-bin-4.53.3-linux-amd64.tar.gz )
arm? ( https://github.com/mikefarah/yq/releases/download/v4.53.3/yq_linux_arm.tar.gz -> yq4-bin-4.53.3-linux-arm.tar.gz )
arm64? ( https://github.com/mikefarah/yq/releases/download/v4.53.3/yq_linux_arm64.tar.gz -> yq4-bin-4.53.3-linux-arm64.tar.gz )"
LICENSE="MIT"
SLOT="0"
KEYWORDS="*"
IUSE="amd64 arm arm64"
RDEPEND="!app-misc/yq-go

"
DEPEND="${RDEPEND}
"
S="${WORKDIR}"
src_prepare() {
default
if use amd64; then
mv yq_linux_amd64 yq4 || die
elif use arm64; then
mv yq_linux_arm64 yq4 || die
else
cp yq_linux_arm yq4 || die
fi
eapply_user
}
src_install() {
dobin yq4
}


# vim: filetype=ebuild