summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2022-10-17 19:26:35 -0700
committerZac Medico <zmedico@gentoo.org>2022-10-17 19:26:40 -0700
commit41d6a77b57dd711e7cf3d519d50befbc86f2c357 (patch)
tree83291d53c6ab10b247d07880ecd9fadb67ddd686 /app-misc
parentapp-containers/snapd: add 2.57.4 (diff)
downloadgentoo-41d6a77b57dd711e7cf3d519d50befbc86f2c357.tar.gz
gentoo-41d6a77b57dd711e7cf3d519d50befbc86f2c357.tar.bz2
gentoo-41d6a77b57dd711e7cf3d519d50befbc86f2c357.zip
app-misc/dasel: add 1.27.1
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/dasel/Manifest1
-rw-r--r--app-misc/dasel/dasel-1.27.1.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/app-misc/dasel/Manifest b/app-misc/dasel/Manifest
index 373ce59001a0..2574704d8ab5 100644
--- a/app-misc/dasel/Manifest
+++ b/app-misc/dasel/Manifest
@@ -1,2 +1,3 @@
DIST dasel-1.24.3-deps.tar.xz 20531068 BLAKE2B 6cd947a88c54e46300432c2f87c0ef757a53739e0755af48f4596a87ba46faf12c967145a0f263e13abb8f01ffe10c51b45f641de348fc02e7af39417b709d1d SHA512 27696cd5a5c93b3e29ba12fd2730c04047dc752ef17a32db73e7cbc8e5d38d914705720da9ff0ffb0c8d3fb383b5070eb552b24a4e72e72ebad70c2e1085cab3
DIST dasel-1.26.1.tar.gz 3054446 BLAKE2B 760f03ee0feb1b6e0e0da9a92922f13bb3786b90ab01bda040d2be2cf10ed5d8a8c2db69ac146ac2ec64f6c4503eaaa87d32c73068f27ebc9ce87045052b4af3 SHA512 07efcf0bf31573decc856a8b41842af9658dc1a3b968510b8e4c642ec8cfe24e97de64b6ef2c296da7d5623ca47e92d42e3f7bb927a8a25e54f97546fac279f0
+DIST dasel-1.27.1.tar.gz 3055281 BLAKE2B fde309780c2eef80e1efb52eafe1f5c1fc9c6824f88ed5d902564f4831f6628cf03501d52b7f2605be8ee7d5eb84898d752bac1077e3c06243ffe5b1f1eb4527 SHA512 de9a68cd158262d7d216fe54bc05b7bbaed671dbdee2f3c8055957434903364491c79c00e009e357f1650f2d3f2558ccd609b15f5320026b536eb23cb74482bd
diff --git a/app-misc/dasel/dasel-1.27.1.ebuild b/app-misc/dasel/dasel-1.27.1.ebuild
new file mode 100644
index 000000000000..261c64912713
--- /dev/null
+++ b/app-misc/dasel/dasel-1.27.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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/dasel-1.24.3-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
+}