[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeepercli/
commit: be4cc6321e96ce9a6441f177d0d3cf422eec009c Author: Zac Medico gentoo org> AuthorDate: Sun Aug 11 17:52:04 2024 + Commit: Zac Medico gentoo org> CommitDate: Sun Aug 11 17:53:48 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be4cc632 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 gentoo.org> sys-cluster/zookeepercli/Manifest | 4 +-- sys-cluster/zookeepercli/metadata.xml | 2 +- .../zookeepercli/zookeepercli-1.0.11.ebuild| 22 + .../zookeepercli/zookeepercli-1.0.12.ebuild| 37 -- 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 @@ Zac Medico - openark/zookeepercli + kt315/zookeepercli 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 ..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.. --- 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
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeepercli/
commit: 01b87c394ee799308f6ec02190367f46de82c47a Author: Daniel M. Weeks danweeks net> AuthorDate: Tue Dec 27 02:13:03 2022 + Commit: Sam James gentoo org> CommitDate: Tue Dec 27 10:20:19 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01b87c39 sys-cluster/zookeepercli: Update HOMEPAGE/upstream Signed-off-by: Daniel M. Weeks danweeks.net> Closes: https://github.com/gentoo/gentoo/pull/28836 Signed-off-by: Sam James gentoo.org> sys-cluster/zookeepercli/metadata.xml | 2 +- sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/zookeepercli/metadata.xml b/sys-cluster/zookeepercli/metadata.xml index 74217f01a06d..d58ea8e28fe1 100644 --- a/sys-cluster/zookeepercli/metadata.xml +++ b/sys-cluster/zookeepercli/metadata.xml @@ -6,6 +6,6 @@ Zac Medico - outbrain/zookeepercli + openark/zookeepercli diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild index 8591b84d3523..c33552c11fc4 100644 --- a/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild +++ b/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild @@ -17,7 +17,7 @@ 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/outbrain/zookeepercli"; +HOMEPAGE="https://github.com/openark/zookeepercli"; LICENSE="Apache-2.0 BSD" SLOT="0" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeepercli/
commit: e4b04b54ba660b9a1600b95a6f84c842c4f3aaa7 Author: Zac Medico gentoo org> AuthorDate: Sun Sep 22 20:37:22 2019 + Commit: Zac Medico gentoo org> CommitDate: Sun Sep 22 20:40:58 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b04b54 sys-cluster/zookeepercli: LICENSE: account for vendored software Reported-by: Michał Górny gentoo.org> Closes: https://bugs.gentoo.org/695306 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Zac Medico gentoo.org> sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild index 13a626b00c2..8591b84d352 100644 --- a/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild +++ b/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz S="${WORKDIR}/${P}/src/${EGO_PN}" DESCRIPTION="Simple, lightweight, dependable CLI for ZooKeeper" HOMEPAGE="https://github.com/outbrain/zookeepercli"; -LICENSE="Apache-2.0" +LICENSE="Apache-2.0 BSD" SLOT="0" IUSE="" DEPEND=">=dev-lang/go-1.9:="
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeepercli/
commit: ecb9444c44e972015e46d422f668119389642511 Author: Zac Medico gentoo org> AuthorDate: Sun Sep 22 20:17:53 2019 + Commit: Zac Medico gentoo org> CommitDate: Sun Sep 22 20:20:44 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecb9444c sys-cluster/zookeepercli: Remove old version 1.0.10 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Zac Medico gentoo.org> sys-cluster/zookeepercli/Manifest | 3 -- .../zookeepercli/zookeepercli-1.0.10.ebuild| 61 -- 2 files changed, 64 deletions(-) diff --git a/sys-cluster/zookeepercli/Manifest b/sys-cluster/zookeepercli/Manifest index b643b51bf01..b5d863ef49b 100644 --- a/sys-cluster/zookeepercli/Manifest +++ b/sys-cluster/zookeepercli/Manifest @@ -1,6 +1,3 @@ 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 go-zookeeper-218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f.tar.gz 29301 BLAKE2B db6f18d03187ae502a9755709de0100e01521fb9077d4240c72a7c99e2cf16a1fe96fcd582723d503fbaa53158c9a5feb43c787a98fec1f61f84f50fb69410c8 SHA512 0fda62feaa668b43bdc7866270780b30069d7dace5c25c69d27d5df17bc3331885c9a7d3575b822c4da712e8a4af0465c6370cd3e89f6c39e73d70aed346d599 -DIST golib-2418949ac30d9933e7412ccce41f1aa2ae8d5ae8.tar.gz 5892 BLAKE2B 5fa26796cd008d79f5df32aeb0398d627c958bd07d27b5a10b1d1f8ae1cd77688b0e114b8022099e98ae06884d3b5e830d9a554fe780f58b4f64866cb2ee0f45 SHA512 924b9e296f5d0051f321115b542603653d8868d3bc8cb933b16eaa511c34bb9869fc763ea2f2261a71e8dbe06c5e1963ff202986f496d7d889a55ae7694704ec -DIST zookeepercli-1.0.10.tar.gz 11942 BLAKE2B d9683dc441642641e9f72b244a75a76194e4fe9cc80e8f85be007dfd88d4e92703da8b66d264b732a08ab3b66ab3d2ff83e7654c3b97a74f827f85bd9cc9ee8f SHA512 793de5eb2b62265a97c6e82f14c7ba1f9d32dacb86a02375a18ca6cbf472d5b7649e94107e3c497e81d4b81f7131b85032ba100c2d8f14a47fd8fc972c6be47d DIST zookeepercli-1.0.12.tar.gz 51077 BLAKE2B 5b5c07305407882845fe339bbc75fd7a521020f588db30303855733c6263409a6c3ad08d5c0bb287cd2c4c03aeb7ff7ee3b544c0b3480fab17952f67d6cca339 SHA512 fb18d1a725fe21e98039cdd19f158a344cae008eff319abeabf349921ef9f4b92b0e251ec5e6414102fe66394d287d1aa3c675bd7454665c1a47d0e9cb4fb352 diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild deleted file mode 100644 index fe03fb04c04..000 --- a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -KEYWORDS="~amd64" -EGO_PN="github.com/outbrain/zookeepercli/..." -EGIT_COMMIT="v${PV}" -SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz -https://github.com/outbrain/golib/archive/2418949ac30d9933e7412ccce41f1aa2ae8d5ae8.tar.gz -> golib-2418949ac30d9933e7412ccce41f1aa2ae8d5ae8.tar.gz -https://github.com/samuel/go-zookeeper/archive/218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f.tar.gz -> go-zookeeper-218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f.tar.gz" -DESCRIPTION="Simple, lightweight, dependable CLI for ZooKeeper" -HOMEPAGE="https://github.com/outbrain/zookeepercli"; -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" -DEPEND=">=dev-lang/go-1.4.2:=" - -get_archive_go_package() { - local archive=${1} uri x - for x in ${SRC_URI}; do - if [[ ${x} == http* ]]; then - uri=${x} - elif [[ ${x} == ${archive} ]]; then - break - fi - done - uri=${uri#https://} - echo ${uri%/archive/*} -} - -unpack_go_packages() { - local go_package x - # Unpack packages to appropriate locations for GOPATH - for x in ${A}; do - unpack ${x} - if [[ ${x} == *.tar.gz ]]; then - go_package=$(get_archive_go_package ${x}) - mkdir -p "${S}/src/${go_package%/*}" - for x in ${go_package##*/}-*; do - [[ ${x} -ef ${S} ]] && continue - mv "${x}" "${S}/src/${go_package}" || die - done - fi - done -} - -src_unpack() { - unpack_go_packages -} - -src_compile() { - export -n GOCACHE XDG_CACHE_HOME #678960 -
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeepercli/
commit: 151cf1700aed0d50619073ba4821f9aaf4a13600 Author: Zac Medico gentoo org> AuthorDate: Thu Jun 13 18:32:22 2019 + Commit: Zac Medico gentoo org> CommitDate: Thu Jun 13 18:33:43 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=151cf170 sys-cluster/zookeepercli: Bump to version 1.0.12 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Zac Medico gentoo.org> sys-cluster/zookeepercli/Manifest | 3 ++ .../zookeepercli/zookeepercli-1.0.12.ebuild| 37 ++ 2 files changed, 40 insertions(+) diff --git a/sys-cluster/zookeepercli/Manifest b/sys-cluster/zookeepercli/Manifest index 0a44e31a0c1..b643b51bf01 100644 --- a/sys-cluster/zookeepercli/Manifest +++ b/sys-cluster/zookeepercli/Manifest @@ -1,3 +1,6 @@ +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 go-zookeeper-218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f.tar.gz 29301 BLAKE2B db6f18d03187ae502a9755709de0100e01521fb9077d4240c72a7c99e2cf16a1fe96fcd582723d503fbaa53158c9a5feb43c787a98fec1f61f84f50fb69410c8 SHA512 0fda62feaa668b43bdc7866270780b30069d7dace5c25c69d27d5df17bc3331885c9a7d3575b822c4da712e8a4af0465c6370cd3e89f6c39e73d70aed346d599 DIST golib-2418949ac30d9933e7412ccce41f1aa2ae8d5ae8.tar.gz 5892 BLAKE2B 5fa26796cd008d79f5df32aeb0398d627c958bd07d27b5a10b1d1f8ae1cd77688b0e114b8022099e98ae06884d3b5e830d9a554fe780f58b4f64866cb2ee0f45 SHA512 924b9e296f5d0051f321115b542603653d8868d3bc8cb933b16eaa511c34bb9869fc763ea2f2261a71e8dbe06c5e1963ff202986f496d7d889a55ae7694704ec DIST zookeepercli-1.0.10.tar.gz 11942 BLAKE2B d9683dc441642641e9f72b244a75a76194e4fe9cc80e8f85be007dfd88d4e92703da8b66d264b732a08ab3b66ab3d2ff83e7654c3b97a74f827f85bd9cc9ee8f SHA512 793de5eb2b62265a97c6e82f14c7ba1f9d32dacb86a02375a18ca6cbf472d5b7649e94107e3c497e81d4b81f7131b85032ba100c2d8f14a47fd8fc972c6be47d +DIST zookeepercli-1.0.12.tar.gz 51077 BLAKE2B 5b5c07305407882845fe339bbc75fd7a521020f588db30303855733c6263409a6c3ad08d5c0bb287cd2c4c03aeb7ff7ee3b544c0b3480fab17952f67d6cca339 SHA512 fb18d1a725fe21e98039cdd19f158a344cae008eff319abeabf349921ef9f4b92b0e251ec5e6414102fe66394d287d1aa3c675bd7454665c1a47d0e9cb4fb352 diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild new file mode 100644 index 000..13a626b00c2 --- /dev/null +++ b/sys-cluster/zookeepercli/zookeepercli-1.0.12.ebuild @@ -0,0 +1,37 @@ +# 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/outbrain/zookeepercli"; +LICENSE="Apache-2.0" +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 +}
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeepercli/
commit: 842b713beb4edfd8ab3725607f70ac26d1ff7bbb Author: Zac Medico gentoo org> AuthorDate: Sat Mar 16 22:29:20 2019 + Commit: Zac Medico gentoo org> CommitDate: Sat Mar 16 22:30:01 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=842b713b sys-cluster/zookeepercli: filter GOCACHE vars (bug 678960) Reported-by: Toralf Förster gentoo.org> Closes: https://bugs.gentoo.org/678960 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Zac Medico gentoo.org> sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild index 7013d4a1a82..fe03fb04c04 100644 --- a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild +++ b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -50,6 +50,7 @@ src_unpack() { } src_compile() { + export -n GOCACHE XDG_CACHE_HOME #678960 GOPATH="${S}" \ go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die }
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeepercli/
commit: 7886ae5fc4e20672ab589b14fa95c7ee885519fe Author: Marty E. Plummer startmail com> AuthorDate: Fri Apr 13 08:29:53 2018 + Commit: Zac Medico gentoo org> CommitDate: Fri Apr 13 09:52:15 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7886ae5f sys-cluster/zookeepercli: remove variables from HOMEPAGE Package-Manager: Portage-2.3.28, Repoman-2.3.9 sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild index 690ea9db1f1..7013d4a1a82 100644 --- a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild +++ b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,7 +10,7 @@ SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz https://github.com/outbrain/golib/archive/2418949ac30d9933e7412ccce41f1aa2ae8d5ae8.tar.gz -> golib-2418949ac30d9933e7412ccce41f1aa2ae8d5ae8.tar.gz https://github.com/samuel/go-zookeeper/archive/218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f.tar.gz -> go-zookeeper-218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f.tar.gz" DESCRIPTION="Simple, lightweight, dependable CLI for ZooKeeper" -HOMEPAGE="https://${EGO_PN%/*}"; +HOMEPAGE="https://github.com/outbrain/zookeepercli"; LICENSE="Apache-2.0" SLOT="0" IUSE=""
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeepercli/
commit: 1ef7af633fa78d96aa3e5bf75b9b0b9bf3a52333 Author: Zac Medico gentoo org> AuthorDate: Sat Jan 28 06:55:44 2017 + Commit: Zac Medico gentoo org> CommitDate: Sat Jan 28 07:05:19 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ef7af63 sys-cluster/zookeepercli: add dev-lang/go to DEPEND Package-Manager: Portage-2.3.3, Repoman-2.3.1 sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild index 82a8775..0ad3a99 100644 --- a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild +++ b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -15,6 +15,7 @@ HOMEPAGE="https://${EGO_PN%/*}"; LICENSE="Apache-2.0" SLOT="0" IUSE="" +DEPEND=">=dev-lang/go-1.4.2:=" get_archive_go_package() { local archive=${1} uri x
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeepercli/
commit: 58420ed207dc5509aa97cc81bea75009d1e2ceae Author: Zac Medico gentoo org> AuthorDate: Sat Nov 12 22:17:02 2016 + Commit: Zac Medico gentoo org> CommitDate: Sat Nov 12 22:18:42 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58420ed2 sys-cluster/zookeepercli: skip useless files /usr/lib/go-gentoo Nothing used the files in /usr/lib/go-gentoo anyway. Package-Manager: portage-2.3.2 sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild index eacef9f..82a8775 100644 --- a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild +++ b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild @@ -2,8 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 -inherit golang-build +EAPI=6 KEYWORDS="~amd64" EGO_PN="github.com/outbrain/zookeepercli/..." @@ -14,7 +13,7 @@ https://github.com/samuel/go-zookeeper/archive/218e9c81c0dd8b3b18172b2bbfad92cc7 DESCRIPTION="Simple, lightweight, dependable CLI for ZooKeeper" HOMEPAGE="https://${EGO_PN%/*}"; LICENSE="Apache-2.0" -SLOT="0/${PVR}" +SLOT="0" IUSE="" get_archive_go_package() { @@ -51,20 +50,11 @@ src_unpack() { } src_compile() { - GOPATH="${WORKDIR}/${P}" \ + GOPATH="${S}" \ go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die } src_install() { + dobin bin/${PN} dodoc README.md - golang_install_pkgs -} - -golang_install_pkgs() { - insopts -m0644 -p # preserve timestamps for bug 551486 - dobin "${S}/bin/zookeepercli" - insinto "$(dirname "${EPREFIX}$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}")" - doins -r "${S}"/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*} - insinto "$(dirname "${EPREFIX}$(get_golibdir)/src/${EGO_PN%/*}")" - doins -r "${S}"/src/${EGO_PN%/*} }
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeepercli/
commit: 5315adfdd1fc67bbea2296e33d707f83fe6adffd Author: Zac Medico gentoo org> AuthorDate: Fri Mar 18 10:27:49 2016 + Commit: Zac Medico gentoo org> CommitDate: Fri Mar 18 10:29:37 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5315adfd sys-cluster/zookeepercli: new package Package-Manager: portage-2.2.28 sys-cluster/zookeepercli/Manifest | 3 + sys-cluster/zookeepercli/metadata.xml | 11 .../zookeepercli/zookeepercli-1.0.10.ebuild| 65 ++ 3 files changed, 79 insertions(+) diff --git a/sys-cluster/zookeepercli/Manifest b/sys-cluster/zookeepercli/Manifest new file mode 100644 index 000..a596804 --- /dev/null +++ b/sys-cluster/zookeepercli/Manifest @@ -0,0 +1,3 @@ +DIST go-zookeeper-218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f.tar.gz 29301 SHA256 f90c7f318c92b9ad6fee417af842d9b9fc5b6635121e3f8035e236272ad41f28 SHA512 0fda62feaa668b43bdc7866270780b30069d7dace5c25c69d27d5df17bc3331885c9a7d3575b822c4da712e8a4af0465c6370cd3e89f6c39e73d70aed346d599 WHIRLPOOL f02c8c9edbf464111bc3302e23c986a73f7bc6684fb0e37136822cb910fc92136e0e2ca65420bcf98dce02245b42951acce17b0a062c4a0eb01df5b2b103e61f +DIST golib-2418949ac30d9933e7412ccce41f1aa2ae8d5ae8.tar.gz 5892 SHA256 cf524e0dcb1dfd664b668950bf459288f98f92630ef943af8670cd6e3c78e39c SHA512 924b9e296f5d0051f321115b542603653d8868d3bc8cb933b16eaa511c34bb9869fc763ea2f2261a71e8dbe06c5e1963ff202986f496d7d889a55ae7694704ec WHIRLPOOL a099036eabe3bb62b7cc0dedb34c960531b0c3fa0a197f49a86d4c3d6ab80a95bb8b4ec8359b4d2f6c72ac7843184f9b4b182ff4d1d89e8f18aae76fdd1689dd +DIST zookeepercli-1.0.10.tar.gz 11942 SHA256 2a32f1c1706e1df20f6229c163d42e2b0c3e4c2793e0a2ae71cb7add25cb28c5 SHA512 793de5eb2b62265a97c6e82f14c7ba1f9d32dacb86a02375a18ca6cbf472d5b7649e94107e3c497e81d4b81f7131b85032ba100c2d8f14a47fd8fc972c6be47d WHIRLPOOL 60a0cb4f9b3dc512d3dfef1440e4ae677d54601df3877013fa00d8ffe205d66c3d74c71b9956f55eebece56ef4421ae1d01d0fec0b8a2ee053bd6ec2bc814ad9 diff --git a/sys-cluster/zookeepercli/metadata.xml b/sys-cluster/zookeepercli/metadata.xml new file mode 100644 index 000..81b3c8f --- /dev/null +++ b/sys-cluster/zookeepercli/metadata.xml @@ -0,0 +1,11 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + zmed...@gentoo.org + Zac Medico + + + outbrain/zookeepercli + + diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild new file mode 100644 index 000..d86f03b --- /dev/null +++ b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit golang-build + +KEYWORDS="~amd64" +EGO_PN="github.com/outbrain/zookeepercli/..." +EGIT_COMMIT="v${PV}" +SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz +https://github.com/outbrain/golib/archive/2418949ac30d9933e7412ccce41f1aa2ae8d5ae8.tar.gz -> golib-2418949ac30d9933e7412ccce41f1aa2ae8d5ae8.tar.gz +https://github.com/samuel/go-zookeeper/archive/218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f.tar.gz -> go-zookeeper-218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f.tar.gz" +DESCRIPTION="Simple, lightweight, dependable CLI for ZooKeeper" +HOMEPAGE="https://${EGO_PN%/*}"; +LICENSE="Apache-2.0" +SLOT="0/${PVR}" +IUSE="" + +get_archive_go_package() { + local archive=${1} uri x + for x in ${SRC_URI}; do + if [[ ${x} == http* ]]; then + uri=${x} + elif [[ ${x} == ${archive} ]]; then + break + fi + done + uri=${uri#https://} + echo ${uri%/archive/*} +} + +unpack_go_packages() { + local go_package x + # Unpack packages to appropriate locations for GOPATH + for x in ${A}; do + unpack ${x} + if [[ ${x} == *.tar.gz ]]; then + go_package=$(get_archive_go_package ${x}) + mkdir -p "${S}/src/${go_package%/*}" + for x in ${go_package##*/}-*; do + [[ ${x} -ef ${S} ]] && continue + mv "${x}" "${S}/src/${go_package}" || die + done + fi + done +} + +src_unpack() { + unpack_go_packages +} + +src_compile() { + GOPATH="${WORKDIR}/${P}" \ + go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die +} + +golang_install_pkgs() { + insopts -m0644 -p # preserve timestamps for bug 551486 + dobin "${S}/bin/zookeepercli" + insinto "$(dirname "${EPREFIX}$(get_golibdir)/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*}")" + doins -r "${S}"/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_PN%/*} + insinto "$(dirname "${EPREFIX}$(get_golibdir)/src/${EGO_PN%/*}")" + doins -r "${S}"/src/${EGO_
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeepercli/
commit: 707e7925c4c42175f7a9a463d508bab6279b6ba6 Author: Patrick Lauer gentoo org> AuthorDate: Fri Mar 18 14:08:55 2016 + Commit: Patrick Lauer gentoo org> CommitDate: Fri Mar 18 14:08:55 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=707e7925 sys-cluster/zookeepercli: Whitespace Package-Manager: portage-2.2.28 sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild index 5c7035d..eacef9f 100644 --- a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild +++ b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild @@ -55,7 +55,6 @@ src_compile() { go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die } - src_install() { dodoc README.md golang_install_pkgs
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeepercli/
commit: 41738a2d087a3d0fcbee56b2707a0ff91412b760 Author: Zac Medico gentoo org> AuthorDate: Fri Mar 18 10:38:52 2016 + Commit: Zac Medico gentoo org> CommitDate: Fri Mar 18 10:38:52 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41738a2d sys-cluster/zookeepercli: install README.md Package-Manager: portage-2.2.28 sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild | 6 ++ 1 file changed, 6 insertions(+) diff --git a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild index d86f03b..5c7035d 100644 --- a/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild +++ b/sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild @@ -55,6 +55,12 @@ src_compile() { go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die } + +src_install() { + dodoc README.md + golang_install_pkgs +} + golang_install_pkgs() { insopts -m0644 -p # preserve timestamps for bug 551486 dobin "${S}/bin/zookeepercli"