summaryrefslogtreecommitdiff
path: root/app-shells
diff options
context:
space:
mode:
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/lxd-zsh-completions/Manifest2
-rw-r--r--app-shells/lxd-zsh-completions/files/lxd-zsh-completions-20190522-fix-awk-syntax-error.patch34
-rw-r--r--app-shells/lxd-zsh-completions/lxd-zsh-completions-20200823-r1.ebuild (renamed from app-shells/lxd-zsh-completions/lxd-zsh-completions-20190522-r1.ebuild)6
3 files changed, 2 insertions, 40 deletions
diff --git a/app-shells/lxd-zsh-completions/Manifest b/app-shells/lxd-zsh-completions/Manifest
index 173ac21..6ec710b 100644
--- a/app-shells/lxd-zsh-completions/Manifest
+++ b/app-shells/lxd-zsh-completions/Manifest
@@ -1 +1 @@
-DIST lxd-zsh-completions-20190522.tar.gz 7339 BLAKE2B 13984b973ddbf1d17c9e038fdba1829644aa87e91548488aec16539d35db91c145489f8bd8f37beaaddff95c27b551162d3e8f6f943608d8adca0b9e133b1757 SHA512 7da379dd6025663e986c1c25b41c84bbc5d9dbb018526d95d5cd4e536f03537505fa7ad0d49549050e659826c428bdee4081f381837baf06ff9cb5f8ad8af3d3
+DIST lxd-zsh-completions-20200823.tar.gz 9123 BLAKE2B 51bf6af9d2c8fc1423c50c707b3e3d18a19eb24325be8fc6168000fa4bf1fe8d2a6b73476ba3194f5a5c923985fccfbbe46eccf8477d46b8f338b4195624cd35 SHA512 ce0ec1306ef1c5eec951874a3d460ccccf2e76c24adbc4c27ef57e5b6f5b18c56378a72a9be91fded385c3b682dbb6be16a89c461939003bbdc1ecc3cbf7eb36
diff --git a/app-shells/lxd-zsh-completions/files/lxd-zsh-completions-20190522-fix-awk-syntax-error.patch b/app-shells/lxd-zsh-completions/files/lxd-zsh-completions-20190522-fix-awk-syntax-error.patch
deleted file mode 100644
index 1884e68..0000000
--- a/app-shells/lxd-zsh-completions/files/lxd-zsh-completions-20190522-fix-awk-syntax-error.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From d33f60339259e5e8a345b8b1091e3e4158758b27 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <karel.koci@nic.cz>
-Date: Wed, 18 Sep 2019 09:53:10 +0200
-Subject: [PATCH] Fix awk script syntax error
-
-Space does not have to be escaped and awk is annoyingly producing
-warning about it to terminal.
-This just removes unnecessary escape of spaces in regexp.
----
- _lxc | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/_lxc b/_lxc
-index e9ef9f1..420be6d 100644
---- a/_lxc
-+++ b/_lxc
-@@ -837,12 +837,12 @@ __lxc_containers_all () {
-
- __lxc_images_as_fingerprint () {
- local -a _l
-- _l=(${(@f)"$(_call_program images lxc image list | tail -n +4 | egrep -e '^\|' | awk '{split($0,a,"|"); for(i in a){ sub(/^[\ \t]+/,"",a[i]);sub(/[\ \t]+$/,"",a[i]);}; (a[2]=="") ? b=" (not aliased)" : b=" (aliased as " a[2] ")" ; print a[3] ":" a[5] b }' )"})
-+ _l=(${(@f)"$(_call_program images lxc image list | tail -n +4 | egrep -e '^\|' | awk '{split($0,a,"|"); for(i in a){ sub(/^[ \t]+/,"",a[i]);sub(/[ \t]+$/,"",a[i]);}; (a[2]=="") ? b=" (not aliased)" : b=" (aliased as " a[2] ")" ; print a[3] ":" a[5] b }' )"})
- _describe -t images_as_fingerprint 'Images as fingerprint' _l
- }
-
- __lxc_images_as_alias () {
-- _l=(${(@f)"$(_call_program images lxc image alias list | tail -n +4 | egrep -e '^\|' | awk '{split($0,a,"|"); for(i in a){ sub(/^[\ \t]+/,"",a[i]);sub(/[\ \t]+$/,"",a[i]);}; (a[4]=="") ? b="" : b=" - " a[4] ;print a[2] ":" a[3] b }' )"})
-+ _l=(${(@f)"$(_call_program images lxc image alias list | tail -n +4 | egrep -e '^\|' | awk '{split($0,a,"|"); for(i in a){ sub(/^[ \t]+/,"",a[i]);sub(/[ \t]+$/,"",a[i]);}; (a[4]=="") ? b="" : b=" - " a[4] ;print a[2] ":" a[3] b }' )"})
- _describe -t images_as_alias 'Images as alias' _l
- }
-
---
-2.27.0
-
diff --git a/app-shells/lxd-zsh-completions/lxd-zsh-completions-20190522-r1.ebuild b/app-shells/lxd-zsh-completions/lxd-zsh-completions-20200823-r1.ebuild
index d3a485a..13e7ec0 100644
--- a/app-shells/lxd-zsh-completions/lxd-zsh-completions-20190522-r1.ebuild
+++ b/app-shells/lxd-zsh-completions/lxd-zsh-completions-20200823-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
DESCRIPTION="A Zsh completion for lxc command of LXD"
HOMEPAGE="https://github.com/endaaman/lxd-completion-zsh"
-SRC_HASH="87d20cb0c5d5261cdc469a2d16a679f577038204"
+SRC_HASH="eaf92077179ec52a56c088cf4462967f190eabfc"
SRC_URI="https://github.com/endaaman/lxd-completion-zsh/archive/${SRC_HASH}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/lxd-completion-zsh-${SRC_HASH}"
@@ -17,10 +17,6 @@ IUSE=""
DEPEND="app-shells/zsh"
RDEPEND="${DEPEND}"
-PATCHES=(
- "${FILESDIR}/${P}-fix-awk-syntax-error.patch"
-)
-
src_install() {
insinto /usr/share/zsh/site-functions
doins _lxc