diff options
author | 2013-01-29 00:59:35 +0100 | |
---|---|---|
committer | 2015-10-11 10:48:35 +0200 | |
commit | 19db9ef5f9aae5903eec5bfcd568d23e27dc56e6 (patch) | |
tree | a9001bb2652e65c5a5d44d2782a9d27e4a8b7aeb /app-shells | |
parent | eix: add IUSE=strong-security (diff) | |
download | mv-19db9ef5f9aae5903eec5bfcd568d23e27dc56e6.tar.gz mv-19db9ef5f9aae5903eec5bfcd568d23e27dc56e6.tar.bz2 mv-19db9ef5f9aae5903eec5bfcd568d23e27dc56e6.zip |
Add zsh-completion. Fix dates. Bump tools to fix zsh-completion scripts
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/command-not-found/ChangeLog | 2 | ||||
-rw-r--r-- | app-shells/command-not-found/command-not-found-0.4.4.ebuild | 2 | ||||
-rw-r--r-- | app-shells/heirloom-sh/ChangeLog | 2 | ||||
-rw-r--r-- | app-shells/heirloom-sh/heirloom-sh-050706.ebuild | 2 | ||||
-rw-r--r-- | app-shells/oh-my-zsh/ChangeLog | 2 | ||||
-rw-r--r-- | app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild | 2 | ||||
-rw-r--r-- | app-shells/runtitle/ChangeLog | 2 | ||||
-rw-r--r-- | app-shells/runtitle/runtitle-2.3.ebuild | 2 | ||||
-rw-r--r-- | app-shells/set_prompt/ChangeLog | 2 | ||||
-rw-r--r-- | app-shells/set_prompt/set_prompt-1.13.ebuild | 2 | ||||
-rw-r--r-- | app-shells/zsh-completion/ChangeLog | 8 | ||||
-rw-r--r-- | app-shells/zsh-completion/Manifest | 1 | ||||
-rw-r--r-- | app-shells/zsh-completion/metadata.xml | 40 | ||||
l--------- | app-shells/zsh-completion/zsh-completion-20130127.ebuild | 1 | ||||
-rw-r--r-- | app-shells/zsh-completion/zsh-completion-99999999.ebuild | 93 |
15 files changed, 153 insertions, 10 deletions
diff --git a/app-shells/command-not-found/ChangeLog b/app-shells/command-not-found/ChangeLog index 16eaf5ba..0d4f3269 100644 --- a/app-shells/command-not-found/ChangeLog +++ b/app-shells/command-not-found/ChangeLog @@ -1,5 +1,5 @@ # ChangeLog for app-shells/command-not-found -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ *command-not-found-0.4.4 (30 Sep 2012) diff --git a/app-shells/command-not-found/command-not-found-0.4.4.ebuild b/app-shells/command-not-found/command-not-found-0.4.4.ebuild index 86a477b3..3f66f3ff 100644 --- a/app-shells/command-not-found/command-not-found-0.4.4.ebuild +++ b/app-shells/command-not-found/command-not-found-0.4.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ diff --git a/app-shells/heirloom-sh/ChangeLog b/app-shells/heirloom-sh/ChangeLog index 6736fa2b..4502bf48 100644 --- a/app-shells/heirloom-sh/ChangeLog +++ b/app-shells/heirloom-sh/ChangeLog @@ -1,5 +1,5 @@ # ChangeLog for app-shells/heirloom-sh -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ 21 Sep 2012; Martin Väth <martin@mvath.de> diff --git a/app-shells/heirloom-sh/heirloom-sh-050706.ebuild b/app-shells/heirloom-sh/heirloom-sh-050706.ebuild index 17bc25c6..ad1cd9ad 100644 --- a/app-shells/heirloom-sh/heirloom-sh-050706.ebuild +++ b/app-shells/heirloom-sh/heirloom-sh-050706.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ diff --git a/app-shells/oh-my-zsh/ChangeLog b/app-shells/oh-my-zsh/ChangeLog index 2d9249a3..cda7a83b 100644 --- a/app-shells/oh-my-zsh/ChangeLog +++ b/app-shells/oh-my-zsh/ChangeLog @@ -1,5 +1,5 @@ # ChangeLog for app-shells/oh-my-zsh -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ 21 Sep 2012; Martin Väth <martin@mvath.de> diff --git a/app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild b/app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild index 85baf9c2..f642db27 100644 --- a/app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild +++ b/app-shells/oh-my-zsh/oh-my-zsh-99999999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ diff --git a/app-shells/runtitle/ChangeLog b/app-shells/runtitle/ChangeLog index cdf268e1..c0112eed 100644 --- a/app-shells/runtitle/ChangeLog +++ b/app-shells/runtitle/ChangeLog @@ -1,5 +1,5 @@ # ChangeLog for app-shells/runtitle -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ *runtitle-2.3 (17 Nov 2012) diff --git a/app-shells/runtitle/runtitle-2.3.ebuild b/app-shells/runtitle/runtitle-2.3.ebuild index fe99b520..9cb1d061 100644 --- a/app-shells/runtitle/runtitle-2.3.ebuild +++ b/app-shells/runtitle/runtitle-2.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ diff --git a/app-shells/set_prompt/ChangeLog b/app-shells/set_prompt/ChangeLog index 47e2b063..ec31aa40 100644 --- a/app-shells/set_prompt/ChangeLog +++ b/app-shells/set_prompt/ChangeLog @@ -1,5 +1,5 @@ # ChangeLog for app-shells/set_prompt -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ *set_prompt-1.13 (02 Jun 2012) diff --git a/app-shells/set_prompt/set_prompt-1.13.ebuild b/app-shells/set_prompt/set_prompt-1.13.ebuild index e58cb4a3..0736dad2 100644 --- a/app-shells/set_prompt/set_prompt-1.13.ebuild +++ b/app-shells/set_prompt/set_prompt-1.13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ diff --git a/app-shells/zsh-completion/ChangeLog b/app-shells/zsh-completion/ChangeLog new file mode 100644 index 00000000..b7441c3a --- /dev/null +++ b/app-shells/zsh-completion/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-shells/zsh-completion +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*zshrc-0.8.0, zshrc-99999999 (28 Jan 2013) + + 28 Jan 2013; Martin Väth <martin@mvath.de> + New ebuild from scratch. diff --git a/app-shells/zsh-completion/Manifest b/app-shells/zsh-completion/Manifest new file mode 100644 index 00000000..05e69daa --- /dev/null +++ b/app-shells/zsh-completion/Manifest @@ -0,0 +1 @@ +DIST zsh-completion-20130127.tar.gz 122752 SHA256 70119622ae68ddc8e788474d454f40e735a1294c9a5e3bb63ed6d039f0b5ac84 SHA512 8f19fc402e645893c51f14fd4917afd0474d24b0c95234273c5dd16331a2168264040111b4be2b0b7c9ae681ac1514293efdebd7a369d96fb961f42daa5aa1a3 WHIRLPOOL 326a5b8be0d20c40cc5846ba81dc1d44da2cb597cc83b1e09de38ec00f704b9f47feae522d5ad1bbf2da621dbc7db4ad7c018e10767fc799898b3f41ab12cd0e diff --git a/app-shells/zsh-completion/metadata.xml b/app-shells/zsh-completion/metadata.xml new file mode 100644 index 00000000..aa631f8a --- /dev/null +++ b/app-shells/zsh-completion/metadata.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>martin@mvath.de</email> + <name>Martin Väth</name> + </maintainer> + <upstream> + <maintainer> + <email></email> + <name>zsh-users</name> + </maintainer> + <remote-id type="github">zsh-users/zsh-completions</remote-id> + </upstream> + <use> + <flag name="completion_ack">zsh completion for sys-apps/ack</flag> + <flag name="completion_android">Android-related zsh completions</flag> + <flag name="completion_bumblebee">zsh completion for x11-misc/bumblebee</flag> + <flag name="completion_database">database-related zsh completions</flag> + <flag name="completion_dev">zsh completions for development (build systems, editors, web)</flag> + <flag name="completion_disk">zsh completions for disk tools</flag> + <flag name="completion_distribute">zsh completions for tools for distributing tasks to various machines</flag> + <flag name="completion_gentoo">Gentoo-related zsh completions</flag> + <flag name="completion_git">zsh completions for special git tools</flag> + <flag name="completion_google">zsh completions for googlecl</flag> + <flag name="completion_haskell">zsh completions for Haskell tools</flag> + <flag name="completion_managers">zsh completions for various filemanagers (not portage)</flag> + <flag name="completion_net">zsh completions for various net-related tools</flag> + <flag name="completion_perf">zsh completion for linux kernel's perf tool</flag> + <flag name="completion_perl">zsh completion for perl-related tools</flag> + <flag name="completion_pip">zsh completion for app-misc/pip</flag> + <flag name="completion_python">zsh completion for python development tools</flag> + <flag name="completion_ruby">zsh completion for ruby tools and tools in ruby</flag> + <flag name="completion_session">zsh completion for session-handling frontends</flag> + <flag name="completion_showoff">zsh completion for showoff</flag> + <flag name="completion_subtitles">zsh completion for subtitle tools</flag> + <flag name="completion_virtualbox">zsh completion for virtualbox</flag> + <flag name="completion_web">zsh completion for web-related tools incl. java/javascript/scala</flag> + </use> +</pkgmetadata> diff --git a/app-shells/zsh-completion/zsh-completion-20130127.ebuild b/app-shells/zsh-completion/zsh-completion-20130127.ebuild new file mode 120000 index 00000000..f0fc128f --- /dev/null +++ b/app-shells/zsh-completion/zsh-completion-20130127.ebuild @@ -0,0 +1 @@ +zsh-completion-99999999.ebuild
\ No newline at end of file diff --git a/app-shells/zsh-completion/zsh-completion-99999999.ebuild b/app-shells/zsh-completion/zsh-completion-99999999.ebuild new file mode 100644 index 00000000..d7df428c --- /dev/null +++ b/app-shells/zsh-completion/zsh-completion-99999999.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +inherit eutils + +PNn="${PN}s" +case ${PV} in +99999999*) + EGIT_REPO_URI="git://github.com/zsh-users/${PNn}.git" + EGIT_PROJECT="${PN}.git" + [ -n "${EVCS_OFFLINE}" ] || EGIT_REPACK=true + inherit git-2 + PROPERTIES="live" + SRC_URI="" + KEYWORDS="";; +*) + RESTRICT="mirror" + inherit vcs-snapshot + SRC_URI="http://github.com/zsh-users/${PNn}/archive/0.8.0.tar.gz -> ${PN}-${PV}.tar.gz" + KEYWORDS="~amd64 ~x86";; +esac + +DESCRIPTION="Programmable Completion for zsh (includes emerge and ebuild commands)" +HOMEPAGE="http://gentoo.org/zsh-users/zsh-completions/" +LICENSE="ZSH" +SLOT="0" +DEPEND="" + +IUSE="" +declare -a COMPLETIONS FILES +COMPLETIONS=() +FILES=() +for completion in \ + 'ack _ack' \ + 'android _adb _android _emulator' \ + 'bumblebee _optirun' \ + 'database _redis-cli _pgsql_utils' \ + 'dev _choc _gradle _geany _manage.py _mvn _pear _play _symfony _thor _vagrant' \ + 'disk _sdd _smartmontools _srm' \ + 'distribute _cap _fab _knife _mussh' \ + '+gentoo _baselayout _eselect _gcc-config _genlop _gentoo_packages _gentoolkit _layman _portage _portage_utils' \ + 'git _git-flow _git-pulls' \ + 'google _google' \ + 'haskell _cabal' \ + 'managers _brew _debuild _lein _packagekit _pactree _pkcon _port _yaourt' \ + 'net _dhcpcd _mosh _ssh-copy-id _vpnc _vnstat' \ + 'perf _perf' \ + 'perl _cpanm' \ + 'pip _pip' \ + 'python _bpython _pygmentize _setup.py' \ + 'ruby _bundle _ditz _gas _gem _github _git-wtf _lunchy _rvm' \ + 'session _attach _teamocil _tmuxinator' \ + 'showoff _showoff' \ + 'subtitles _language_codes _periscope _subliminal' \ + 'virtualbox _virtualbox' \ + 'web _coffee _docpad _gradle _heroku _jonas _jmeter _jmeter-plugins _lunar _node _nvm _sbt _scala' +do curr=${completion%% *} + case ${curr} in + '+'*) + curr="+completion_${curr#'+'}";; + *) + curr="completion_${curr}";; + esac + IUSE=${IUSE}${IUSE:+ }${curr} + COMPLETIONS+=("${curr#'+'}") + FILES+=("${completion#* }") +done + +src_prepare() { + epatch_user +} + +src_install() { + insinto /usr/share/zsh/site-functions + local i j ok + for i in src/* + do ok=false + for (( j=0; j<${#FILES[@]}; ++j )) + do case " ${FILES[${j}]} " in + *" ${i#src/} "*) + ok=: + use "${COMPLETIONS[$j]}" && doins "${i}" && break;; + esac + done + ${ok} || { + elog "installing unknown completion ${i#*/}" + doins "${i}" + } + done + dodoc README.md +} |