From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5A4611395E2 for ; Sat, 12 Nov 2016 22:18:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F2D821C060; Sat, 12 Nov 2016 22:18:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 74B1421C060 for ; Sat, 12 Nov 2016 22:18:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E81F341592 for ; Sat, 12 Nov 2016 22:18:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D104303 for ; Sat, 12 Nov 2016 22:18:50 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1478989122.58420ed207dc5509aa97cc81bea75009d1e2ceae.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/zookeepercli/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/zookeepercli/zookeepercli-1.0.10.ebuild X-VCS-Directories: sys-cluster/zookeepercli/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 58420ed207dc5509aa97cc81bea75009d1e2ceae X-VCS-Branch: master Date: Sat, 12 Nov 2016 22:18:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4a5dee58-1446-4d49-927a-23d2d8a81575 X-Archives-Hash: b8e209838c80ea814460c96c5f8d49c2 commit: 58420ed207dc5509aa97cc81bea75009d1e2ceae Author: Zac Medico gentoo org> AuthorDate: Sat Nov 12 22:17:02 2016 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Nov 12 22:18:42 2016 +0000 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%/*} }