From 448319ee61bd33d759d7f13c47ed262b1b4b9ae7 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 27 Oct 2012 07:39:31 -0400 Subject: [PATCH] dev-util/be: update bash-competion support and add zsh-competion to IUSE Add zsh-completion option and {bash,zsh}-completion dependencies. Use newbashcomp from bash-completion-r1 to install the Bash completion script in a standard location. --- dev-util/be/ChangeLog | 7 +++++++ dev-util/be/Manifest | 4 ++-- dev-util/be/be-9999.ebuild | 15 ++++++++++----- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/dev-util/be/ChangeLog b/dev-util/be/ChangeLog index 5b0cae1..749d212 100644 --- a/dev-util/be/ChangeLog +++ b/dev-util/be/ChangeLog @@ -2,6 +2,13 @@ # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*be-9999 (27 Oct 2012) + + 27 Oct 2012; W. Trevor King be-9999. + Add zsh-completion option and {bash,zsh}-completion dependencies. + Use newbashcomp from bash-completion-r1 to install the Bash + completion script in a standard location. + *be-9999 (26 Oct 2012) 26 Oct 2012; W. Trevor King be-9999. diff --git a/dev-util/be/Manifest b/dev-util/be/Manifest index c40cbd1..0db72a1 100644 --- a/dev-util/be/Manifest +++ b/dev-util/be/Manifest @@ -1,3 +1,3 @@ -EBUILD be-9999.ebuild 1639 SHA256 b25d6e1de4fbda1f8299026335532b9ceadb42ea90661fee109d71326bd38612 SHA512 4b07753d7a5e99b486b3f649f0f1faef5a5ededcbd030868f42f2788692a1414a048271f1fd7aa0d5e2c9287b34edb7e781065db4d705fe07309b46693a23fd2 WHIRLPOOL 24981182dc36346ab4f314c0ffc70f86678c12d17f7e9c6596395daacd273c5fd7d19a3f5d5aecf7b54fc3b3a86a292448a6319a8476dccc2c791f07074163fd -MISC ChangeLog 3320 SHA256 eb6d66cdacf6f3bcbfd5ed15a1840dff5ea31e37d716417e37c2bc97c635f166 SHA512 a931ed34a66365238ff70655ec316af4287ccda0f3d9ac860eb0e1f5f800734849a3adfb1f552c1c456e1095958f3f8504585cc774535587ecad7313884a2040 WHIRLPOOL d45c8cffb6bd0c9cb6ce7bd9660a89bf23b4c664355a0d647305716bbdd0e94358b8e2741e4c00caa834d12ec0c631a036b4276148f90631d265f5bc5804a774 +EBUILD be-9999.ebuild 1851 SHA256 01342bbdf53ccec49765063c6ad522c9f41622e48b27001f5c7e6eb7198c85fc SHA512 dbc527c68bfdb8be39156fee73790cff4c053ab95ea5e4b6ee0e98a2f7b9e961e000089eab0262e33ad47e884926acdd5388d964184e237a73e571b5b9733a81 WHIRLPOOL e95a5a330f69cf49fa566a0312971c49ce49e01adf02d0dfcea08b3507c7ee1fa9295b9bcdb91a6dd9c982ec9d51d9384953d44c8a4592edc948739debc133bf +MISC ChangeLog 3577 SHA256 2325d77b0d8b8729c07a11def00f2238070c722f7b745bc13e85ad75cb7791ab SHA512 648a08ec40aa7c4db712480c71d75c9f66e32dcb1850a0f9fd01fb06c2940dcb932dd7d05a4b77821f3038cc4e45ab4bfaf89ce84d5af2f2b7e6b5ac18bc0211 WHIRLPOOL 7e074b9dbc443ce218870ef55b3748ba3f9b2bb90a1e786c1d57c72a8646f7f6bf2a34f491c49eafe2884c1bf511af189290dcc247e1f1b73caf4510306b539a MISC metadata.xml 322 SHA256 bc083439509c7a341977a4e315182e0efd9a0d8eb3989835bf18d3eeb16f94e5 SHA512 85f033f8812ba7c33fcdb773aeb7d546d57e415e3559d1c81227ea7f16c244da8dcb6f8da72aa02fb5c69e5a94da6bbe922d9bfe82cae3f041002d53b3caa108 WHIRLPOOL 625dad1fb1253f4c9235a41486cc2f95ecf5bc43c2722545c9ad556e663b5683caa5f87d1246316bf205678b9b857da40c7bd861d8ce679319971685d98aeaa9 diff --git a/dev-util/be/be-9999.ebuild b/dev-util/be/be-9999.ebuild index 44c362b..76994f3 100644 --- a/dev-util/be/be-9999.ebuild +++ b/dev-util/be/be-9999.ebuild @@ -8,7 +8,7 @@ PYTHON_MODNAME="libbe" SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="2.4 3.*" -inherit eutils distutils +inherit eutils distutils bash-completion-r1 if [[ "${PV}" == "9999" ]] ; then inherit git-2 @@ -25,12 +25,14 @@ HOMEPAGE="http://bugseverywhere.org/" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="bash-completion doc" +IUSE="bash-completion doc zsh-completion" RDEPEND="dev-lang/python dev-python/cherrypy dev-python/jinja - dev-python/pyyaml" + dev-python/pyyaml + bash-completion? ( app-shells/bash-completion ) + zsh-completion? ( app-shells/zsh-completion )" DEPEND="${RDEPEND} dev-vcs/git dev-python/docutils @@ -74,7 +76,10 @@ src_install() { dohtml -r doc/.build/html/* fi if use bash-completion ; then - insinto /etc/bash_completion.d/ - newins misc/completion/be.bash be + newbashcomp misc/completion/be.bash be + fi + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions/ + newins misc/completion/be.zsh _be fi } -- 2.26.2