app-misc/dasel - 2.7.0 (gentoo)

Search

Package Information

Description:
Query, update and convert data structures from the command line
Homepage:
https://github.com/TomWright/dasel
License:
MIT Apache-2.0 BSD BSD-2 ISC

Ebuild Details

Version EAPI Keywords Slot
2.7.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit go-module

DESCRIPTION="Query, update and convert data structures from the command line"
HOMEPAGE="https://github.com/TomWright/dasel"
SRC_URI="https://github.com/TomWright/dasel/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"

LICENSE="MIT Apache-2.0 BSD BSD-2 ISC"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

src_compile() {
	CGO_ENABLED=0 go build -o bin/dasel -ldflags="-X 'github.com/tomwright/dasel/internal.Version=${PV}'" ./cmd/dasel || die
}

src_install() {
	dobin bin/dasel
	dodoc CHANGELOG.md README.md
}

Manifest for 2.7.0

Type File Size Source URLs
DIST dasel-2.7.0-deps.tar.xz 1219584 bytes https://dev.gentoo.org/~zmedico/dist/dasel-2.7.0-deps.tar.xz
DIST dasel-2.7.0.tar.gz 2793422 bytes https://github.com/TomWright/dasel/archive/v2.7.0.tar.gz