summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2024-08-11 10:52:04 -0700
committerZac Medico <zmedico@gentoo.org>2024-08-11 10:53:48 -0700
commitbe4cc6321e96ce9a6441f177d0d3cf422eec009c (patch)
tree946442e0f5a5bb9475bd2599f14cc1301190d50d
parentdev-java/json: Stabilize 20240303 amd64, #937746 (diff)
downloadgentoo-be4cc6321e96ce9a6441f177d0d3cf422eec009c.tar.gz
gentoo-be4cc6321e96ce9a6441f177d0d3cf422eec009c.tar.bz2
gentoo-be4cc6321e96ce9a6441f177d0d3cf422eec009c.zip
sys-cluster/zookeepercli: Bump to version 1.0.11 from kt315 upstream
Change upstream to github.com/kt315/zookeepercli who added a go module build and sent it to openark here: https://github.com/openark/zookeepercli/pull/2 Closes: https://bugs.gentoo.org/937726 Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r--sys-cluster/zookeepercli/Manifest4
-rw-r--r--sys-cluster/zookeepercli/metadata.xml2
-rw-r--r--sys-cluster/zookeepercli/zookeepercli-1.0.11.ebuild22
-rw-r--r--sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild37
4 files changed, 24 insertions, 41 deletions
diff --git a/sys-cluster/zookeepercli/Manifest b/sys-cluster/zookeepercli/Manifest
index b5d863ef49be..98e7003495a5 100644
--- a/sys-cluster/zookeepercli/Manifest
+++ b/sys-cluster/zookeepercli/Manifest
@@ -1,3 +1 @@
-DIST github.com-outbrain-golib-ab954725f502c2be1491afadbbc66da2f99a45ae.tar.gz 5892 BLAKE2B 8ac98704758e0ddf121ae088b15873234f14eba14ab86379f3212638787345e618f104608364f21e9d00106242e4942293e4706dbc1bb7e5ddbf19b2f71bd511 SHA512 dfb5758f5c26320ca5cdf502c1e3847ed35adb85d09db7df2a0784a3ec0662dc316bab6d88e6aa9e085585fe0157aa9f83a53e30d0ac38b5cc96704e12fa8194
-DIST github.com-samuel-go-zookeeper-c4fab1ac1bec58281ad0667dc3f0907a9476ac47.tar.gz 37110 BLAKE2B 4c32afe54c27ed1532a50d386217bec3b477ceba3744bb415f906c5b0301db172289455a6631659e98b4600175ad391d09f7c60532bdc5754761a177482be37f SHA512 3dab581a699336979b7be6b9792a877eee9e9fe39157b0774e38831735e1148b522617d246c7c1d146cb8c6dd3faba20cb72b94e9bd85e532f11d20f97e755d9
-DIST zookeepercli-1.0.12.tar.gz 51077 BLAKE2B 5b5c07305407882845fe339bbc75fd7a521020f588db30303855733c6263409a6c3ad08d5c0bb287cd2c4c03aeb7ff7ee3b544c0b3480fab17952f67d6cca339 SHA512 fb18d1a725fe21e98039cdd19f158a344cae008eff319abeabf349921ef9f4b92b0e251ec5e6414102fe66394d287d1aa3c675bd7454665c1a47d0e9cb4fb352
+DIST zookeepercli-1.0.11.tar.gz 39371 BLAKE2B b024ce14e893bf9bfe4e2ffe2d5da81bf980907d37f348ac7a7063878ce05fd5f521f2c9cc32d28fb541895c2f635e5b7f0c80006a942384927bdf3a73997367 SHA512 91d53e8cbd3075db5f72aeb055b2d22f31948d5c8ad2ea5d3772358866ee728db53736a2cd871242ecd2929fe45ec853329ec089bdf0a88de8e48ff4e6114764
diff --git a/sys-cluster/zookeepercli/metadata.xml b/sys-cluster/zookeepercli/metadata.xml
index d58ea8e28fe1..4747695a9df1 100644
--- a/sys-cluster/zookeepercli/metadata.xml
+++ b/sys-cluster/zookeepercli/metadata.xml
@@ -6,6 +6,6 @@
<name>Zac Medico</name>
</maintainer>
<upstream>
- <remote-id type="github">openark/zookeepercli</remote-id>
+ <remote-id type="github">kt315/zookeepercli</remote-id>
</upstream>
</pkgmetadata>
diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.11.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.11.ebuild
new file mode 100644
index 000000000000..9a656b44daab
--- /dev/null
+++ b/sys-cluster/zookeepercli/zookeepercli-1.0.11.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Simple, lightweight, dependable CLI for ZooKeeper"
+HOMEPAGE="https://github.com/kt315/zookeepercli"
+SRC_URI="https://github.com/kt315/zookeepercli/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="Apache-2.0"
+LICENSE+=" BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+ ego build -ldflags "-X main.Version=${PV}" -o ./bin/${PN}
+}
+
+src_install() {
+ dobin bin/${PN}
+ dodoc README.md
+}
diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild
deleted file mode 100644
index c33552c11fc4..000000000000
--- a/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGO_PN="github.com/outbrain/zookeepercli"
-EGO_VENDOR=(
- "github.com/outbrain/golib ab954725f502c2be1491afadbbc66da2f99a45ae"
- "github.com/samuel/go-zookeeper c4fab1ac1bec58281ad0667dc3f0907a9476ac47"
-)
-
-inherit golang-vcs-snapshot
-
-KEYWORDS="~amd64"
-EGIT_COMMIT="v${PV}"
-SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- ${EGO_VENDOR_URI}"
-S="${WORKDIR}/${P}/src/${EGO_PN}"
-DESCRIPTION="Simple, lightweight, dependable CLI for ZooKeeper"
-HOMEPAGE="https://github.com/openark/zookeepercli"
-LICENSE="Apache-2.0 BSD"
-SLOT="0"
-IUSE=""
-DEPEND=">=dev-lang/go-1.9:="
-
-src_compile() {
- export -n GOCACHE XDG_CACHE_HOME #678960
- GOPATH="${WORKDIR}/${P}" \
- go build -v -work -x ${EGO_BUILD_FLAGS} \
- -o "${S}/bin/zookeepercli" \
- ./go/cmd/zookeepercli.go || die
-}
-
-src_install() {
- dobin bin/${PN}
- dodoc README.md
-}