app-shells/mpv-bash-completion: remove old

Closes: https://github.com/gentoo/gentoo/pull/1720
Package-Manager: portage-2.3.0_rc1

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
Ilya Tumaykin
2016-06-22 18:27:11 +03:00
committed by Patrice Clement
parent d12c6d14d3
commit da7371b90f
3 changed files with 0 additions and 66 deletions

View File

@@ -1,2 +1 @@
DIST mpv-bash-completion-0.16.tar.gz 15023 SHA256 ceee842ad8498afc49c9a6ded424f2f301f681513a901d5efb6fd641ba163e10 SHA512 cdfc126a170026ac1c5654a43c6b155a648b090b4b0fed83494725c2d357d5c22dca3e43b2e6a8ea461db83c49880454d0bd8f7209b01d7c9bcdd232d532abd0 WHIRLPOOL 17b29f79435033fefb1800f28c6d1d37506d116cab49bdc06470a6ff792a4009e624a2150bdca2eeaa04756238e314e7277a9b34c6241e9845e8cdd76267df82
DIST mpv-bash-completion-0.17.tar.gz 15033 SHA256 a4c3be027ec52fef684a545a43c05f32cf512da93ae4a569d273e6e182b90ab1 SHA512 851a9f2b5e54f176fc7519a5fceace2b3281bef4062a48e108f17b83ccbd53e7b7545969be9cbccd3f093ba9ee65bd6736650f1b4d88997808a8b1df40d769eb WHIRLPOOL ba077f686d2e9ba4e819cf30f17cdca5b98b321e6c39b72a3bd7c1f5269da3d20abe7f610838a51b941fdba8c6636fc3eaae81f07fcd08f8f61f6262d2d0fab5

View File

@@ -1,30 +0,0 @@
commit 3a5d3b89ecb3a05b58ad8d160a35c0795daf0c9a
Author: Jens John <dev@2ion.de>
Date: Sun Feb 7 20:35:17 2016 +0900
Fix completion of --no-* patterned options
---
diff --git a/BUGS b/BUGS
deleted file mode 100644
index 337eb25..0000000
--- a/BUGS
+++ /dev/null
@@ -1,4 +0,0 @@
-- Options of type 'Flag' with no default and no [nocfg] marker are
- not being completed correctly (exmaple: --no-audio). The completion
- wrongly suggests to complete them in the format --no-audio=*, but
- these options do not accept a yes/no flag.
diff --git a/gen.sh b/gen.sh
index 87e7e35..596f349 100755
--- a/gen.sh
+++ b/gen.sh
@@ -149,7 +149,7 @@ for line in $(mpv --list-options \
"$(printf "$template_case" "$key" "$tail")")
;;
Flag)
- if [[ $line =~ \[nocfg\] || $line =~ \[global\] ]] ; then
+ if [[ $line =~ \[nocfg\] || $line =~ \[global\] || $key =~ --no- ]] ; then
_allkeys="$_allkeys $key"
else
_allkeys="$_allkeys ${key}="

View File

@@ -1,35 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit bash-completion-r1
DESCRIPTION="Bash completion for the mpv video player"
HOMEPAGE="https://2ion.github.io/mpv-bash-completion/"
SRC_URI="https://github.com/2ion/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
media-video/mpv[cli]
!<app-shells/bash-4
"
RDEPEND="${DEPEND}
>=app-shells/bash-completion-2.3-r1
"
PATCHES=( "${FILESDIR}/${P}-fix-no-flag-options-completion.patch" )
src_compile() {
"${S}"/gen.sh > ${PN} || die
}
src_install() {
einstalldocs
newbashcomp ${PN} mpv
}