From a5b65c81168c90928784a1e92cda84ed5d6b9eb3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Sep 2019 19:33:39 +0100 Subject: gentoo resync : 25.09.2019 --- .../zookeepercli/zookeepercli-1.0.10.ebuild | 61 ---------------------- 1 file changed, 61 deletions(-) delete mode 100644 sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild (limited to 'sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild') 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 fe03fb04c045..000000000000 --- 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 - GOPATH="${S}" \ - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die -} - -src_install() { - dobin bin/${PN} - dodoc README.md -} -- cgit v1.2.3