From: William Hubbs Date: Mon, 21 Jan 2019 22:43:58 +0000 (-0600) Subject: dev-vcs/hub: 2.7.1 bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ada897b59fb9783f181452b270d1d0c535dab85f;p=gentoo.git dev-vcs/hub: 2.7.1 bump Package-Manager: Portage-2.3.57, Repoman-2.3.12 Signed-off-by: William Hubbs --- diff --git a/dev-vcs/hub/Manifest b/dev-vcs/hub/Manifest index ebc8908ea7b7..35ca67911f17 100644 --- a/dev-vcs/hub/Manifest +++ b/dev-vcs/hub/Manifest @@ -1,5 +1,7 @@ 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-2.7.0.tar.gz 997861 BLAKE2B b3ab44f8107d2613af230dc9e26cef2c87c9a8f114a044bbf4d62803fb31328a53425387bc865affbb95302ec0d6364f5c3e6823dae46ef2b322812916426534 SHA512 77223b0860bac42195dfc43e9164f5da446e414e32d0d3caa931f30e5b06d6f65cd69caa2f5097285a91d2ddb48265dfedec9dd8b361417556ff38782fa1a17c +DIST hub-2.7.1.tar.gz 998391 BLAKE2B 520f6f4edcae983bb65f56ddb44ef731a21a32e759df72311c77d87c103adaf83a8570b068767bbe49d65b614efbba9f6e5c9180794321dfc5f07c0ee925f3b2 SHA512 71232e443821dadc961d16f428cac01c0cc2adcd476e94727a5de430716826478803b8e6a881e2387103330122dd603180b546c99823c3c36942674185141714 DIST hub-linux-amd64-2.6.1.tgz 4242259 BLAKE2B b68234050982999f103281da974af9c008e85920c0821ecb5582bf97b0a4889f6dd053ab3e6c7c5a0e18d1b09c7093f69d70f46b94254e51b2e6eb217fe3f479 SHA512 e27d9b8037e50b924b7ef663d9f68568f2732ed28e366aa300881eeeb6a2bdd1f50b4e597e3d36eddb07eb9c133df02ab5f889d5c6ec8632824d244148524e9b DIST hub-linux-amd64-2.7.0.tgz 4263315 BLAKE2B e157acb727c8e4a118cc29ff5a433a820aeba5f92b10446440611056e8d8dc3bd534823983cf37aba818f224d36bfba3109d236b409e68592ed04f6b22aa450b SHA512 dd48991dfbb48e6759805707ed34804a77b64e55fd56f17484c13ddc6b2a867c283305308991e462f338a4bab687cb89da42d5059193fad5825ef681b89eeb97 +DIST hub-linux-amd64-2.7.1.tgz 4263689 BLAKE2B bf30e98455d6afe98cb32e9253cbf99fadc39a821d44844ae6b35f909c5ce2b760d04a0cc3eba5743443c7014109f02805779277ce43fffddd1e7697904b6f49 SHA512 ae12658460aa2752cd245712a4c1035d738fd7e47a096999515b6fe381ab4741fb80bad75b8d9b0070a8cc83a5a2d4c90dc4a4f18019b9dae9817fe2c08703ca diff --git a/dev-vcs/hub/hub-2.7.1.ebuild b/dev-vcs/hub/hub-2.7.1.ebuild new file mode 100644 index 000000000000..0e7673d187a5 --- /dev/null +++ b/dev-vcs/hub/hub-2.7.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 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() { + unset GOPATH + ./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} +}