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 DE568138334 for ; Wed, 26 Dec 2018 22:18:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B26F8E0932; Wed, 26 Dec 2018 22:18:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71B5EE0932 for ; Wed, 26 Dec 2018 22:18:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C2DEE335C47 for ; Wed, 26 Dec 2018 22:18:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E36C6266 for ; Wed, 26 Dec 2018 22:18:54 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1545862707.479a51e4b4a0b23b86cd8730646ba357172df6e4.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/hub/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/hub/Manifest dev-vcs/hub/hub-2.6.1.ebuild X-VCS-Directories: dev-vcs/hub/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 479a51e4b4a0b23b86cd8730646ba357172df6e4 X-VCS-Branch: master Date: Wed, 26 Dec 2018 22:18:54 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 027a14c2-4fdd-4f50-86da-f08b4b5bf991 X-Archives-Hash: 6cc94af08dadf56c61090ffd2b2f6693 commit: 479a51e4b4a0b23b86cd8730646ba357172df6e4 Author: William Hubbs gentoo org> AuthorDate: Wed Dec 26 22:17:17 2018 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Dec 26 22:18:27 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=479a51e4 dev-vcs/hub: 2.6.1 version bump Closes: https://bugs.gentoo.org/649974 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: William Hubbs gentoo.org> dev-vcs/hub/Manifest | 2 ++ dev-vcs/hub/hub-2.6.1.ebuild | 48 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-vcs/hub/Manifest b/dev-vcs/hub/Manifest index f2b9895b229..56265704d82 100644 --- a/dev-vcs/hub/Manifest +++ b/dev-vcs/hub/Manifest @@ -1 +1,3 @@ DIST hub-2.2.9.tar.gz 318275 BLAKE2B 731c3bb4cc4d92082f93bba94a5cc7ba31fc436479655fa19ffa8078416cedd814d2667589af9d6eed59a0be0c8b38963779429838d8dbaab8a628f838a5915c SHA512 69d69683eb5f1c881b15c9b3294878c35edc51f9b7d568a3e0609c3d77cebf5c1be5c7c018b0356bdd68cf3f56691a860381a53f3e016b28b9f95ab0b852d9f9 +DIST hub-2.6.1.tar.gz 994752 BLAKE2B 956f497699ecaac996fd3a92e5f7042d8e72050077e1de3b6091fe5e2481d9b8e4c46a8e34a2a95a81079b22b87bf82e2a5adf412e4dfbcbc53bf92f8b7ba2fa SHA512 a3aed611455de88a5b410887717aeb28b8837a74b437848c53903ccc809e758678643471ee7b14903ee147417754b0d443aede63e4f69a0e4b252c6a5ab619e3 +DIST hub-linux-amd64-2.6.1.tgz 4242259 BLAKE2B b68234050982999f103281da974af9c008e85920c0821ecb5582bf97b0a4889f6dd053ab3e6c7c5a0e18d1b09c7093f69d70f46b94254e51b2e6eb217fe3f479 SHA512 e27d9b8037e50b924b7ef663d9f68568f2732ed28e366aa300881eeeb6a2bdd1f50b4e597e3d36eddb07eb9c133df02ab5f889d5c6ec8632824d244148524e9b diff --git a/dev-vcs/hub/hub-2.6.1.ebuild b/dev-vcs/hub/hub-2.6.1.ebuild new file mode 100644 index 00000000000..78570a6ffc4 --- /dev/null +++ b/dev-vcs/hub/hub-2.6.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_PN=github.com/github/hub +inherit bash-completion-r1 + +DESCRIPTION="Command-line wrapper for git that makes you better at GitHub" +HOMEPAGE="https://github.com/github/hub" +SRC_URI="https://github.com/github/hub/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://${EGO_PN}/releases/download/v${PV}/${PN}-linux-amd64-${PV}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND=">=dev-lang/go-1.5.1:=" +RDEPEND=">=dev-vcs/git-1.7.3" + +QA_FLAGS_IGNORED=".*" +RESTRICT="strip" + +src_prepare() { + mkdir -p "${HOME}/go/src/${EGO_PN%/*}" || die "mkdir failed" + ln -snf "${S}" "${HOME}/go/src/${EGO_PN}" || die "ln failed" + default +} + +src_compile() { + ./script/build -o bin/${PN} || die +} + +#src_test() { +# ./script/test || die +#} + +src_install() { + dobin bin/${PN} + dodoc README.md + doman ../${PN}-linux-amd64-${PV}/share/man/man1/*.1 + + newbashcomp etc/${PN}.bash_completion.sh ${PN} + + insinto /usr/share/zsh/site-functions + newins etc/hub.zsh_completion _${PN} +}