diff options
-rw-r--r-- | dev-vcs/hub/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/hub/hub-2.2.3.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-vcs/hub/Manifest b/dev-vcs/hub/Manifest index 61fb1feeb24d..ac80e2b50624 100644 --- a/dev-vcs/hub/Manifest +++ b/dev-vcs/hub/Manifest @@ -1,3 +1,4 @@ DIST hub-1.12.4.tar.gz 76798 SHA256 b7fe404d7dc5f60554f088bec12de5e80229331430ea0ced46d5bf89ecae5117 SHA512 3c80592954f6f9bd9406adf8faaaf3e307a5387b623b07f06f574e6841899a7e253b67429417ba37c78b53064ddd0188b9f37e3e24130d899207c23bad389618 WHIRLPOOL 46c0870101add366c83d12ea92cfd1d434e841df58101ef8b1250e040cb0fe92590245b3e092780213b837cc2f9d9ad9bd9bff37a110bc608d63cddd7bbf4898 DIST hub-2.2.0.tar.gz 301460 SHA256 2da1351197eb5696c207f22c69a5422af052d74277b73d0b8661efb9ec1d0eb1 SHA512 ad65cfd2a81ab92ab69d31ff7a068cf2da1557ca1d2f6e1b97b7f939249e9955bb2cace42b8900ec2d5b98970fbca27435edcd503af7ee3c05a79462e7734d8a WHIRLPOOL 83ea1d3b1086d7cdcebed6cb604027763cd41dd3f101dd56827c469ec61034a9e3a7b4cbd1111b5b7820707a13679a558704d80d58fed125f07573fb983dff9a DIST hub-2.2.2.tar.gz 311726 SHA256 610572ee903aea1fa8622c16ab7ddef2bd1bfec9f4854447ab8e0fbdbe6a0cae SHA512 27eb8d3b973b30ab16fa59649af55934a2543d74d5160337be881b9d6038efaac4d19e3b2d3295191e65daedafa93d36773f05b3e3a48eae312b711db34762c0 WHIRLPOOL e4274515eac18938c42b4bf71a5ed7ec0e1c66a4ea65db68559172c039bd2b7b252d0c0ffc7209545f966d4d8b0d7b89c6e075f589ac677e16340ba5c641f778 +DIST hub-2.2.3.tar.gz 314438 SHA256 f8a43df60b2efd95c70054324e73f27c3b253ec1c4969de8ea6c514669c688ed SHA512 6f05b697ea4aa4962ac2977e2060e418a7332756c713828ec987aad6c06b6cfb9f39c2ed79797f6c2243f841cd009344482a341d11c14fd4728ba4b8cc0318d5 WHIRLPOOL 105edccf4841eafd7718b071efffbd42ce2974c646940f1ea3a6130a96a2bb0ffaf772f44f1f64666bd9d4ceae631dfc8de1c1343bd68e84fe59ccefe518214b diff --git a/dev-vcs/hub/hub-2.2.3.ebuild b/dev-vcs/hub/hub-2.2.3.ebuild new file mode 100644 index 000000000000..72d06eccb2ff --- /dev/null +++ b/dev-vcs/hub/hub-2.2.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit bash-completion-r1 readme.gentoo-r1 + +DESCRIPTION="Command-line wrapper for git that makes you better at GitHub" +HOMEPAGE="https://github.com/github/hub" +SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +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" + +DOC_CONTENTS="You may want to add 'alias git=hub' to your .{csh,bash}rc" + +src_compile() { + ./script/build || die +} + +#src_test() { +# ./script/test || die +#} + +src_install() { + readme.gentoo_create_doc + + dobin hub + + doman man/${PN}.1 + dodoc README.md + + # Broken with autoloader + # https://github.com/github/hub/issues/592 + #newbashcomp etc/${PN}.bash_completion.sh ${PN} + + insinto /usr/share/zsh/site-functions + newins etc/hub.zsh_completion _${PN} +} + +pkg_postinst() { + readme.gentoo_print_elog +} |