* [gentoo-commits] repo/gentoo:master commit in: app-misc/gojq/
@ 2024-06-08 18:29 Zac Medico
0 siblings, 0 replies; 3+ messages in thread
From: Zac Medico @ 2024-06-08 18:29 UTC (permalink / raw
To: gentoo-commits
commit: d97dc17bf25d0a2dcd5dc4ba3cdeeda6a18f543c
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 8 18:27:25 2024 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Jun 8 18:29:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d97dc17b
app-misc/gojq: new package, add 0.12.16
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
app-misc/gojq/Manifest | 2 ++
app-misc/gojq/gojq-0.12.16.ebuild | 43 +++++++++++++++++++++++++++++++++++++++
app-misc/gojq/metadata.xml | 11 ++++++++++
3 files changed, 56 insertions(+)
diff --git a/app-misc/gojq/Manifest b/app-misc/gojq/Manifest
new file mode 100644
index 000000000000..8e9820659bd0
--- /dev/null
+++ b/app-misc/gojq/Manifest
@@ -0,0 +1,2 @@
+DIST gojq-0.12.16-deps.tar.xz 537848 BLAKE2B 11e0a6a03cb88eac6345b4cb02b0a2132b08d0d3198e8d12a7e7cd4d51c0ee4bf6fc0222de9aa1bca75a1a55fef1f60567bb7aaf52a86ea4c09b83d3210fb135 SHA512 b68c7d4401880f8ef232fe2880b9439b9198fd17dd356f95680195a30f8833a80b896e1ab27a075b2aa495657a1cb91ecd48bece5b3db6c6d9d20441af36f617
+DIST gojq-0.12.16.tar.gz 131894 BLAKE2B 094b51e9200ce9cda01b67e68be362ac111418f67e2ef9d96ede1a3da0c9469bde76bd958152b15f9231d84f8d2e6200ea10d1cad9102f2f1ef51c2623af159a SHA512 08129dac68e280b4a7c2d64ea3da4cf8a00ab0ba8431e76468cb9d4b52e052eb5f2b92d1dc8545c3a5e08e354b0d4ec60c39137a13b4df6ea9027f0278e148c5
diff --git a/app-misc/gojq/gojq-0.12.16.ebuild b/app-misc/gojq/gojq-0.12.16.ebuild
new file mode 100644
index 000000000000..4aee21687e7a
--- /dev/null
+++ b/app-misc/gojq/gojq-0.12.16.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+EGIT_COMMIT=0607aa5
+DESCRIPTION="Pure Go implementation of jq with yaml support"
+HOMEPAGE="https://github.com/itchyny/gojq"
+SRC_URI="https://github.com/itchyny/gojq/archive/refs/tags/v${PV}.tar.gz -> ${P/-go/}.tar.gz
+ https://dev.gentoo.org/~zmedico/dist/${P/-go/}-deps.tar.xz"
+
+LICENSE="MIT"
+LICENSE+=" Apache-2.0 BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+DOCS=(README.md)
+
+src_prepare() {
+ default
+ local -a sed_args=(
+ -e "s/^VERSION := .*/VERSION := ${PV}/"
+ -e "s/^CURRENT_REVISION = .*/CURRENT_REVISION = ${EGIT_COMMIT}/"
+ )
+ # -buildmode=pie not supported when -race is enabled
+ [[ ${GOFLAGS} == *buildmode=pie* ]] && sed_args+=(
+ -e 's/ -race / /'
+ )
+ sed "${sed_args[@]}" -i Makefile || die
+}
+
+src_compile() {
+ emake build
+}
+
+src_install() {
+ einstalldocs
+ dobin "${PN}"
+}
+
+src_test() {
+ emake test
+}
diff --git a/app-misc/gojq/metadata.xml b/app-misc/gojq/metadata.xml
new file mode 100644
index 000000000000..c333e701aa29
--- /dev/null
+++ b/app-misc/gojq/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ <name>Zac Medico</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">itchyny/gojq</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/gojq/
@ 2024-12-01 19:29 Zac Medico
0 siblings, 0 replies; 3+ messages in thread
From: Zac Medico @ 2024-12-01 19:29 UTC (permalink / raw
To: gentoo-commits
commit: cf123d8825d486e07fd4c5bfd7e1360f556d3f8d
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 1 19:29:00 2024 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Dec 1 19:29:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf123d88
app-misc/gojq: add 0.12.17
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
app-misc/gojq/Manifest | 2 ++
app-misc/gojq/gojq-0.12.17.ebuild | 43 +++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/app-misc/gojq/Manifest b/app-misc/gojq/Manifest
index 8e9820659bd0..fdc882c84aed 100644
--- a/app-misc/gojq/Manifest
+++ b/app-misc/gojq/Manifest
@@ -1,2 +1,4 @@
DIST gojq-0.12.16-deps.tar.xz 537848 BLAKE2B 11e0a6a03cb88eac6345b4cb02b0a2132b08d0d3198e8d12a7e7cd4d51c0ee4bf6fc0222de9aa1bca75a1a55fef1f60567bb7aaf52a86ea4c09b83d3210fb135 SHA512 b68c7d4401880f8ef232fe2880b9439b9198fd17dd356f95680195a30f8833a80b896e1ab27a075b2aa495657a1cb91ecd48bece5b3db6c6d9d20441af36f617
DIST gojq-0.12.16.tar.gz 131894 BLAKE2B 094b51e9200ce9cda01b67e68be362ac111418f67e2ef9d96ede1a3da0c9469bde76bd958152b15f9231d84f8d2e6200ea10d1cad9102f2f1ef51c2623af159a SHA512 08129dac68e280b4a7c2d64ea3da4cf8a00ab0ba8431e76468cb9d4b52e052eb5f2b92d1dc8545c3a5e08e354b0d4ec60c39137a13b4df6ea9027f0278e148c5
+DIST gojq-0.12.17-deps.tar.xz 537768 BLAKE2B 5526f97f5dce68d40255849cdfd096834183f2a2540add18bbf96ffd54b27926d1f5a9d995cf039b99f138eb7b940cfbe66bed6ab2824e2eca9c941fe1473cb5 SHA512 3fa1bdab3815d7dac71a9162de40a854fce431ae399e3375e4bd5a54c37a60ccfa0449be140e40038210388dca96602bbf461353f3ca562136d11a932b40f850
+DIST gojq-0.12.17.tar.gz 132749 BLAKE2B 9dc62ca9578f62f3d065f13d9a7fe3c1a4c90208e7cc4ff1000491276183c2b67ca86bd93e2c3b965641a3812388cfcfe4c81cec603cfc98edb78f2e25b58194 SHA512 e90fbf337c4390ac5664024fa64666f878ac509f0b844efea42169c6e19e3e90af5f22b32c15babfc4ca05ee734b23ce3ee5b7b1d179db28d6877b62ce7d0a00
diff --git a/app-misc/gojq/gojq-0.12.17.ebuild b/app-misc/gojq/gojq-0.12.17.ebuild
new file mode 100644
index 000000000000..05d4e9a472ae
--- /dev/null
+++ b/app-misc/gojq/gojq-0.12.17.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+EGIT_COMMIT=f4c2cfe
+DESCRIPTION="Pure Go implementation of jq with yaml support"
+HOMEPAGE="https://github.com/itchyny/gojq"
+SRC_URI="https://github.com/itchyny/gojq/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
+
+LICENSE="MIT"
+LICENSE+=" Apache-2.0 BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+DOCS=(README.md)
+
+src_prepare() {
+ default
+ local -a sed_args=(
+ -e "s/^VERSION := .*/VERSION := ${PV}/"
+ -e "s/^CURRENT_REVISION = .*/CURRENT_REVISION = ${EGIT_COMMIT}/"
+ )
+ # -buildmode=pie not supported when -race is enabled
+ [[ ${GOFLAGS} == *buildmode=pie* ]] && sed_args+=(
+ -e 's/ -race / /'
+ )
+ sed "${sed_args[@]}" -i Makefile || die
+}
+
+src_compile() {
+ emake build
+}
+
+src_install() {
+ einstalldocs
+ dobin "${PN}"
+}
+
+src_test() {
+ emake test
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/gojq/
@ 2025-01-05 8:42 WANG Xuerui
0 siblings, 0 replies; 3+ messages in thread
From: WANG Xuerui @ 2025-01-05 8:42 UTC (permalink / raw
To: gentoo-commits
commit: 84a2804995d2ce36c4832a3d7aa84fa90e1cf777
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 5 06:11:48 2025 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Sun Jan 5 08:42:28 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84a28049
app-misc/gojq: keyword 0.12.17 for ~loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
app-misc/gojq/gojq-0.12.17.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-misc/gojq/gojq-0.12.17.ebuild b/app-misc/gojq/gojq-0.12.17.ebuild
index 05d4e9a472ae..7176082ea805 100644
--- a/app-misc/gojq/gojq-0.12.17.ebuild
+++ b/app-misc/gojq/gojq-0.12.17.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2024 Gentoo Authors
+# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/itchyny/gojq/archive/refs/tags/v${PV}.tar.gz -> ${P}
LICENSE="MIT"
LICENSE+=" Apache-2.0 BSD"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~loong"
DOCS=(README.md)
src_prepare() {
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-05 8:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-05 8:42 [gentoo-commits] repo/gentoo:master commit in: app-misc/gojq/ WANG Xuerui
-- strict thread matches above, loose matches on Subject: below --
2024-12-01 19:29 Zac Medico
2024-06-08 18:29 Zac Medico
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox