public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tim Harder" <radhermit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/zsh-completion:master commit in: /
Date: Fri, 28 Mar 2014 18:42:47 +0000 (UTC)	[thread overview]
Message-ID: <1396032151.e60675e939a9af7719f6a11ebee1223d2f79f83e.radhermit@gentoo> (raw)

commit:     e60675e939a9af7719f6a11ebee1223d2f79f83e
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 28 18:42:31 2014 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Fri Mar 28 18:42:31 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/zsh-completion.git;a=commit;h=e60675e9

_portage_utils: fix whitespace

---
 _portage_utils | 187 +++++++++++++++++++++++++++++----------------------------
 1 file changed, 94 insertions(+), 93 deletions(-)

diff --git a/_portage_utils b/_portage_utils
index 7cd05c1..ead6ca0 100644
--- a/_portage_utils
+++ b/_portage_utils
@@ -4,12 +4,13 @@
 #
 local common_args PORTDIR
 var=PORTDIR
+
 [[ -z ${(P)var} && -r /etc/portage/make.conf ]] &&
-local $var="`. /etc/portage/make.conf 2>/dev/null; echo ${(P)var}`"
+	local $var="`. /etc/portage/make.conf 2>/dev/null; echo ${(P)var}`"
 [[ -z ${(P)var} && -r /etc/make.conf ]] &&
-local $var="`. /etc/make.conf 2>/dev/null; echo ${(P)var}`"
+	local $var="`. /etc/make.conf 2>/dev/null; echo ${(P)var}`"
 [[ -z ${(P)var} && -r /usr/share/portage/config/make.globals ]] &&
-local $var="`. /usr/share/portage/config/make.globals 2>/dev/null; echo ${(P)var}`"
+	local $var="`. /usr/share/portage/config/make.globals 2>/dev/null; echo ${(P)var}`"
 
 common_args=(
 	{'(--verbose)-v','(-v)--verbose'}'[Make a lot of noise]' \
@@ -18,37 +19,38 @@ common_args=(
 	{'(--help)-h','(-h)--help'}'[Print this help and exit]' \
 	{'(--version)-V','(-V)--version'}'[Print version and exit]' \
 )
+
 case $service in
 qcheck)
 	_arguments -s $common_args \
-	{'(--all)-a','(-a)--all'}'[List all packages]' \
-	{'(--update)-u','(-u)--update'}'[Update chksum and mtimes for packages]' \
-  '*:packages:_gentoo_packages installed'
+		{'(--all)-a','(-a)--all'}'[List all packages]' \
+		{'(--update)-u','(-u)--update'}'[Update chksum and mtimes for packages]' \
+		'*:packages:_gentoo_packages installed'
 ;;
 qdepends)
 	_arguments -s $common_args \
-	{'(--depend)-d','(-d)--depend'}'[Show DEPEND info (default)]' \
-	{'(--rdepend)-r','(-r)--rdepend'}'[Show RDEPEND info]' \
-	{'(--pdepend)-p','(-p)--pdepend'}'[Show PDEPEND info]' \
-	{'(--key)-k','(-k)--key'}'[User defined vdb key]' \
-	{'(--query)-Q','(-Q)--query'}'[Query reverse deps]' \
-	{'(--name-only)-N','(-N)--name-only'}'[Only show package name]' \
-	{'(--all)-a','(-a)--all'}'[Show all DEPEND info]' \
-  '*:packages:_gentoo_packages installed'
+		{'(--depend)-d','(-d)--depend'}'[Show DEPEND info (default)]' \
+		{'(--rdepend)-r','(-r)--rdepend'}'[Show RDEPEND info]' \
+		{'(--pdepend)-p','(-p)--pdepend'}'[Show PDEPEND info]' \
+		{'(--key)-k','(-k)--key'}'[User defined vdb key]' \
+		{'(--query)-Q','(-Q)--query'}'[Query reverse deps]' \
+		{'(--name-only)-N','(-N)--name-only'}'[Only show package name]' \
+		{'(--all)-a','(-a)--all'}'[Show all DEPEND info]' \
+		'*:packages:_gentoo_packages installed'
 ;;
 qfile)
-  _arguments -s $common_args \
-	{'(--exact)-e','(-e)--exact'}'[Exact match]' \
-	'*:filename:_files'
+	_arguments -s $common_args \
+		{'(--exact)-e','(-e)--exact'}'[Exact match]' \
+		'*:filename:_files'
 ;;
 qgrep)
-  _arguments -s $common_args \
-	{'(--invert-match)-I','(-I)--invert-match'}'[Select non-matching lines]' \
-	{'(--ignore-case)-i','(-i)--ignore-case'}'[Ignore case distinctions]' \
-	{'(--with-filename)-H','(-H)--with-filename'}'[Print the filename for each match]' \
-	{'(--count)-c','(-c)--count'}'[Only print a count of matching lines per FILE]' \
-	{'(--regexp)-e','(-e)--regexp'}'[Use PATTERN as a regular expression]' \
-	'*:pattern::'
+	_arguments -s $common_args \
+		{'(--invert-match)-I','(-I)--invert-match'}'[Select non-matching lines]' \
+		{'(--ignore-case)-i','(-i)--ignore-case'}'[Ignore case distinctions]' \
+		{'(--with-filename)-H','(-H)--with-filename'}'[Print the filename for each match]' \
+		{'(--count)-c','(-c)--count'}'[Only print a count of matching lines per FILE]' \
+		{'(--regexp)-e','(-e)--regexp'}'[Use PATTERN as a regular expression]' \
+		'*:pattern::'
 ;;
 qcache)
 	local arches allarches arch
@@ -58,91 +60,90 @@ qcache)
 		for arch in $arches;do
 			allarches=($allarches $arch)
 		done
-		_describe -t available-arches "arch" allarches 
+		_describe -t available-arches "arch" allarches
 	}
-  _arguments -s $common_args \
-	'*:arch:show_archs'
+	_arguments -s $common_args \
+		'*:arch:show_archs'
 ;;
 qlist)
-  _arguments -s $common_args \
-	{'(--installed)-I','(-I)--installed'}'[Just show installed packages]' \
-	{'(--slots)-S','(-S)--slots'}'[Display installed packages with slots]' \
-	{'(--repo)-R','(-R)--repo'}'[Display installed packages with repository]' \
-	{'(--umap)-U','(-U)--umap'}'[Display installed packages with flags used]' \
-	{'(--columns)-c','(-c)--columns'}'[Display column view]' \
-	'--show-debug[Show /usr/lib/debug files]' \
-	{'(--exact)-e','(-e)--exact'}'[Exact match (only CAT/PN or PN without PV)]' \
-	{'(--all)-a','(-a)--all'}'[Show every installed package]' \
-	{'(--dir)-d','(-d)--dir'}'[Only show directories]' \
-	{'(--obj)-o','(-o)--obj'}'[Only show objects]' \
-	{'(--sym)-s','(-s)--sym'}'[Only show symlinks]' \
-	'--root[Set the ROOT env var]:root directory:_files -/' \
-	'*:packages:_gentoo_packages installed'
+	_arguments -s $common_args \
+		{'(--installed)-I','(-I)--installed'}'[Just show installed packages]' \
+		{'(--slots)-S','(-S)--slots'}'[Display installed packages with slots]' \
+		{'(--repo)-R','(-R)--repo'}'[Display installed packages with repository]' \
+		{'(--umap)-U','(-U)--umap'}'[Display installed packages with flags used]' \
+		{'(--columns)-c','(-c)--columns'}'[Display column view]' \
+		'--show-debug[Show /usr/lib/debug files]' \
+		{'(--exact)-e','(-e)--exact'}'[Exact match (only CAT/PN or PN without PV)]' \
+		{'(--all)-a','(-a)--all'}'[Show every installed package]' \
+		{'(--dir)-d','(-d)--dir'}'[Only show directories]' \
+		{'(--obj)-o','(-o)--obj'}'[Only show objects]' \
+		{'(--sym)-s','(-s)--sym'}'[Only show symlinks]' \
+		'--root[Set the ROOT env var]:root directory:_files -/' \
+		'*:packages:_gentoo_packages installed'
 ;;
 qlop)
-  _arguments -s $common_args \
-	{'(--gauge)-g','(-g)--gauge'}'[Gauge number of times a package has been merged]' \
-	{'(--time)-t','(-t)--time'}'[Calculate merge time for a specific package]' \
-	{'(--human)-H','(-H)--human'}'[Print seconds in human readable format (needs -t)]' \
-	{'(--list)-l','(-l)--list'}'[Show merge history]' \
-	{'(--unlist)-u','(-u)--unlist'}'[Show unmerge history]' \
-	{'(--sync)-s','(-s)--sync'}'[Show sync history]' \
-	{'(--current)-c','(-c)--current'}'[Show current emerging packages]' \
-	{'(--logfile)-f','(-f)--logfile'}'[Read emerge logfile instead of /var/log/emerge.log]:log:_files' \
-	'*:packages:_gentoo_packages available'
+	_arguments -s $common_args \
+		{'(--gauge)-g','(-g)--gauge'}'[Gauge number of times a package has been merged]' \
+		{'(--time)-t','(-t)--time'}'[Calculate merge time for a specific package]' \
+		{'(--human)-H','(-H)--human'}'[Print seconds in human readable format (needs -t)]' \
+		{'(--list)-l','(-l)--list'}'[Show merge history]' \
+		{'(--unlist)-u','(-u)--unlist'}'[Show unmerge history]' \
+		{'(--sync)-s','(-s)--sync'}'[Show sync history]' \
+		{'(--current)-c','(-c)--current'}'[Show current emerging packages]' \
+		{'(--logfile)-f','(-f)--logfile'}'[Read emerge logfile instead of /var/log/emerge.log]:log:_files' \
+		'*:packages:_gentoo_packages available'
 ;;
 qsearch)
-  _arguments -s $common_args \
-  {'(--all)-a','(-a)--all'}'[List the descriptions of every package in the cache]' \
-  {'(--cache)-c','(-c)--cache'}'[Use the portage cache]' \
-  {'(--search)-s','(-s)--search'}'[Regex search package basenames]' \
-  {'(--desc)-S','(-S)--desc'}'[Regex search package descriptions]' \
-  {'(--name-only)-N','(-N)--name-only'}'[Only show package name]' \
-  {'(--homepage)-H','(-H)--homepage'}'[Show homepage info]' \
-  '*:pattern::'
+	_arguments -s $common_args \
+		{'(--all)-a','(-a)--all'}'[List the descriptions of every package in the cache]' \
+		{'(--cache)-c','(-c)--cache'}'[Use the portage cache]' \
+		{'(--search)-s','(-s)--search'}'[Regex search package basenames]' \
+		{'(--desc)-S','(-S)--desc'}'[Regex search package descriptions]' \
+		{'(--name-only)-N','(-N)--name-only'}'[Only show package name]' \
+		{'(--homepage)-H','(-H)--homepage'}'[Show homepage info]' \
+		'*:pattern::'
 ;;
 qsize)
-  _arguments -s $common_args \
-	{'(--filesystem)-f','(-f)--filesystem'}'[Show size used on disk]' \
-	{'(--all)-a','(-a)--all'}'[Size all installed packages]' \
-	{'(--sum)-s','(-s)--sum'}'[Include a summary]' \
-	{'(--sum-only)-S','(-S)--sum-only'}'[Show just the summary]' \
-	{'(--megabyte)-m','(-m)--megabyte'}'[Display size in megabytes]' \
-	{'(--kilobyte)-k','(-k)--kilobyte'}'[Display size in kilobytes]' \
-	{'(--byte)-b','(-b)--byte'}'[Display size in bytes]' \
-	'*:packages:_gentoo_packages installed'
+	_arguments -s $common_args \
+		{'(--filesystem)-f','(-f)--filesystem'}'[Show size used on disk]' \
+		{'(--all)-a','(-a)--all'}'[Size all installed packages]' \
+		{'(--sum)-s','(-s)--sum'}'[Include a summary]' \
+		{'(--sum-only)-S','(-S)--sum-only'}'[Show just the summary]' \
+		{'(--megabyte)-m','(-m)--megabyte'}'[Display size in megabytes]' \
+		{'(--kilobyte)-k','(-k)--kilobyte'}'[Display size in kilobytes]' \
+		{'(--byte)-b','(-b)--byte'}'[Display size in bytes]' \
+		'*:packages:_gentoo_packages installed'
 ;;
 quse)
-  _arguments -s $common_args \
-	{'(--exact)-e','(-e)--exact'}'[Show exact non regexp matching using strcmp]' \
-	{'(--all)-a','(-a)--all'}'[Show annoying things in IUSE]' \
-	{'(--keywords)-K','(-K)--keywords'}'[Use the KEYWORDS vs IUSE]' \
-	{'(--license)-L','(-L)--license'}'[Use the LICENSE vs IUSE]' \
-	{'(--describe)-D','(-D)--describe'}'[Describe the USE flag]' \
- 	{'(--name-only)-N','(-N)--name-only'}'[Only show package name]' \
-	'*:use flag:_gentoo_packages useflag'
+	_arguments -s $common_args \
+		{'(--exact)-e','(-e)--exact'}'[Show exact non regexp matching using strcmp]' \
+		{'(--all)-a','(-a)--all'}'[Show annoying things in IUSE]' \
+		{'(--keywords)-K','(-K)--keywords'}'[Use the KEYWORDS vs IUSE]' \
+		{'(--license)-L','(-L)--license'}'[Use the LICENSE vs IUSE]' \
+		{'(--describe)-D','(-D)--describe'}'[Describe the USE flag]' \
+		{'(--name-only)-N','(-N)--name-only'}'[Only show package name]' \
+		'*:use flag:_gentoo_packages useflag'
 ;;
 qtbz2)
-  _arguments -s $common_args \
-  	{'(--join -s --split -t --tarbz2 -x --xpak)-j','(-t --tarbz2 -j -s --split -x --xpak)--join'}'[Join tar.bz2 + xpak into a tbz2]:*:tar.bz2 file and xpak file:_files -g \*.\(tar.bz2\|xpak\)' \
-	{'(--join -j --split -t --tarbz2 -x --xpak)-s','(-t --tarbz2 -j --join -s -x --xpak)--split'}'[Split a tbz2 into a tar.bz2 + xpak]:tbz2 file:_files -g \*.tbz2' \
-	{'(--join -j -s --split --tarbz2 -x --xpak)-t','(--join -j -s --split -t -x --xpak)--tarbz2'}'[Just split the tar.bz2]:tbz2 file:_files -g \*.tbz2' \
-	{'(--join -j -s --split -t --tarbz2 --xpak)-x','(--join -j -s --split -t --tarbz2 -x)--xpak'}'[Just split the xpak]:tbz2 file:_files -g \*.tbz2' \
-	{'(--stdout)-O','(-O)--stdout'}'[Write files to stdout]'
+	_arguments -s $common_args \
+		{'(--join -s --split -t --tarbz2 -x --xpak)-j','(-t --tarbz2 -j -s --split -x --xpak)--join'}'[Join tar.bz2 + xpak into a tbz2]:*:tar.bz2 file and xpak file:_files -g \*.\(tar.bz2\|xpak\)' \
+		{'(--join -j --split -t --tarbz2 -x --xpak)-s','(-t --tarbz2 -j --join -s -x --xpak)--split'}'[Split a tbz2 into a tar.bz2 + xpak]:tbz2 file:_files -g \*.tbz2' \
+		{'(--join -j -s --split --tarbz2 -x --xpak)-t','(--join -j -s --split -t -x --xpak)--tarbz2'}'[Just split the tar.bz2]:tbz2 file:_files -g \*.tbz2' \
+		{'(--join -j -s --split -t --tarbz2 --xpak)-x','(--join -j -s --split -t --tarbz2 -x)--xpak'}'[Just split the xpak]:tbz2 file:_files -g \*.tbz2' \
+		{'(--stdout)-O','(-O)--stdout'}'[Write files to stdout]'
 ;;
 qpkg)
-  _arguments -s $common_args \
-  	{'(--pretend)-p','(-p)--pretend'}'[pretend only]' \
-	{'(--pkgdir)-P','(-P)--pkgdir'}'[alternate package directory]:alternate pkgdir:_files -/' \
-	'*:Installed packages:_gentoo_packages installed_versions'
+	_arguments -s $common_args \
+		{'(--pretend)-p','(-p)--pretend'}'[pretend only]' \
+		{'(--pkgdir)-P','(-P)--pkgdir'}'[alternate package directory]:alternate pkgdir:_files -/' \
+		'*:Installed packages:_gentoo_packages installed_versions'
 ;;
 qxpak)
-  _arguments -s $common_args \
-        {'(--list --extract -x --create -c)-l','(-l --extract -x --create -c)--list'}'[List the contents of an archive]:xpak archive:_files -g \*.xpak' \
-	{'(--list -l --extract --create -c)-x','(--list -l -x --create -c)--extract'}'[Extract the contents of an archive]:xpak archive:_files -g \*.xpak' \
-	{'(--list -l --extract -x --create)-c','(--list -l --extract -x -c)--create'}'[Create an archive of a directory/files]:*:archive name and files to archive:_files' \
-	{'(--dir)-d','(-d)--dir'}'[Change to specified directory]:directory:_files -/' \
-	{'(--stdout)-O','(-O)--stdout'}'[Write files to stdout]'
-
+	_arguments -s $common_args \
+		{'(--list --extract -x --create -c)-l','(-l --extract -x --create -c)--list'}'[List the contents of an archive]:xpak archive:_files -g \*.xpak' \
+		{'(--list -l --extract --create -c)-x','(--list -l -x --create -c)--extract'}'[Extract the contents of an archive]:xpak archive:_files -g \*.xpak' \
+		{'(--list -l --extract -x --create)-c','(--list -l --extract -x -c)--create'}'[Create an archive of a directory/files]:*:archive name and files to archive:_files' \
+		{'(--dir)-d','(-d)--dir'}'[Change to specified directory]:directory:_files -/' \
+		{'(--stdout)-O','(-O)--stdout'}'[Write files to stdout]'
 ;;
 esac


             reply	other threads:[~2014-03-28 18:43 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-28 18:42 Tim Harder [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-17 14:48 [gentoo-commits] proj/zsh-completion:master commit in: / Vadim Misbakh-Soloviov
2015-04-28 12:07 Vadim A. Misbakh-Soloviov
2014-12-20 23:39 Tim Harder
2014-12-18 16:59 Tim Harder
2014-11-23 21:35 Vadim A. Misbakh-Soloviov
2014-11-15  9:03 Tim Harder
2014-11-15  8:40 Tim Harder
2014-08-30 10:19 Vadim A. Misbakh-Soloviov
2014-08-30 10:19 Vadim A. Misbakh-Soloviov
2014-08-26 18:51 Vadim A. Misbakh-Soloviov
2014-08-26  4:46 Vadim A. Misbakh-Soloviov
2014-08-25 16:13 Vadim A. Misbakh-Soloviov
2014-08-25 12:41 Vadim A. Misbakh-Soloviov
2014-08-25 12:41 Vadim A. Misbakh-Soloviov
2014-08-25 11:26 Vadim A. Misbakh-Soloviov
2014-03-30 11:00 Tim Harder
2014-03-30 11:00 Tim Harder
2014-03-30 11:00 Tim Harder
2014-03-30 11:00 Tim Harder
2014-03-30 11:00 Tim Harder
2014-03-30 11:00 Tim Harder
2014-03-30 11:00 Tim Harder
2014-03-29  8:38 Tim Harder
2014-03-29  2:35 Tim Harder
2014-03-29  1:41 Tim Harder
2014-03-29  1:41 Tim Harder
2014-03-29  1:41 Tim Harder
2014-03-28 19:46 Tim Harder
2014-03-28 18:59 Tim Harder
2014-03-28 18:59 Tim Harder
2014-03-28 18:59 Tim Harder
2014-03-28 18:36 Tim Harder
2014-03-28 18:18 Tim Harder
2014-03-28 18:18 Tim Harder
2014-01-24  1:29 Tim Harder
2014-01-24  1:05 Tim Harder
2014-01-24  1:05 Tim Harder
2014-01-24  1:05 Tim Harder
2013-02-07 20:15 Tim Harder
2013-02-07 20:15 Tim Harder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1396032151.e60675e939a9af7719f6a11ebee1223d2f79f83e.radhermit@gentoo \
    --to=radhermit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox