* [gentoo-commits] repo/gentoo:master commit in: app-shells/mpv-bash-completion/files/, app-shells/mpv-bash-completion/
@ 2016-04-26 7:15 Patrice Clement
0 siblings, 0 replies; 2+ messages in thread
From: Patrice Clement @ 2016-04-26 7:15 UTC (permalink / raw
To: gentoo-commits
commit: 8b203a8a1f2fe9384c35dc60367e8be78e29f7cf
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Mon Apr 25 14:50:10 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 07:00:27 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b203a8a
app-shells/mpv-bash-completion: new package
Bash completion for the mpv video player.
Package-Manager: portage-2.2.28
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
app-shells/mpv-bash-completion/Manifest | 1 +
...etion-0.16-fix-no-flag-options-completion.patch | 30 +++++++++++++++++++
app-shells/mpv-bash-completion/metadata.xml | 15 ++++++++++
.../mpv-bash-completion-0.16.ebuild | 35 ++++++++++++++++++++++
4 files changed, 81 insertions(+)
diff --git a/app-shells/mpv-bash-completion/Manifest b/app-shells/mpv-bash-completion/Manifest
new file mode 100644
index 0000000..c7a14a3
--- /dev/null
+++ b/app-shells/mpv-bash-completion/Manifest
@@ -0,0 +1 @@
+DIST mpv-bash-completion-0.16.tar.gz 15023 SHA256 ceee842ad8498afc49c9a6ded424f2f301f681513a901d5efb6fd641ba163e10 SHA512 cdfc126a170026ac1c5654a43c6b155a648b090b4b0fed83494725c2d357d5c22dca3e43b2e6a8ea461db83c49880454d0bd8f7209b01d7c9bcdd232d532abd0 WHIRLPOOL 17b29f79435033fefb1800f28c6d1d37506d116cab49bdc06470a6ff792a4009e624a2150bdca2eeaa04756238e314e7277a9b34c6241e9845e8cdd76267df82
diff --git a/app-shells/mpv-bash-completion/files/mpv-bash-completion-0.16-fix-no-flag-options-completion.patch b/app-shells/mpv-bash-completion/files/mpv-bash-completion-0.16-fix-no-flag-options-completion.patch
new file mode 100644
index 0000000..7dd3e39
--- /dev/null
+++ b/app-shells/mpv-bash-completion/files/mpv-bash-completion-0.16-fix-no-flag-options-completion.patch
@@ -0,0 +1,30 @@
+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}="
diff --git a/app-shells/mpv-bash-completion/metadata.xml b/app-shells/mpv-bash-completion/metadata.xml
new file mode 100644
index 0000000..4d854b6
--- /dev/null
+++ b/app-shells/mpv-bash-completion/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>itumaykin+gentoo@gmail.com</email>
+ <name>Coacher</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">2ion/mpv-bash-completion</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/mpv-bash-completion/mpv-bash-completion-0.16.ebuild b/app-shells/mpv-bash-completion/mpv-bash-completion-0.16.ebuild
new file mode 100644
index 0000000..aa2471d
--- /dev/null
+++ b/app-shells/mpv-bash-completion/mpv-bash-completion-0.16.ebuild
@@ -0,0 +1,35 @@
+# 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() {
+ default
+ newbashcomp ${PN} mpv
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-shells/mpv-bash-completion/files/, app-shells/mpv-bash-completion/
@ 2016-06-23 21:44 Patrice Clement
0 siblings, 0 replies; 2+ messages in thread
From: Patrice Clement @ 2016-06-23 21:44 UTC (permalink / raw
To: gentoo-commits
commit: da7371b90ffe61aef8efdb06a37748b67b58518a
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Wed Jun 22 15:27:11 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Jun 23 21:15:47 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da7371b9
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 <AT> gentoo.org>
app-shells/mpv-bash-completion/Manifest | 1 -
...etion-0.16-fix-no-flag-options-completion.patch | 30 -------------------
.../mpv-bash-completion-0.16.ebuild | 35 ----------------------
3 files changed, 66 deletions(-)
diff --git a/app-shells/mpv-bash-completion/Manifest b/app-shells/mpv-bash-completion/Manifest
index cfe14b1..7e1ac6a 100644
--- a/app-shells/mpv-bash-completion/Manifest
+++ b/app-shells/mpv-bash-completion/Manifest
@@ -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
diff --git a/app-shells/mpv-bash-completion/files/mpv-bash-completion-0.16-fix-no-flag-options-completion.patch b/app-shells/mpv-bash-completion/files/mpv-bash-completion-0.16-fix-no-flag-options-completion.patch
deleted file mode 100644
index 7dd3e39..0000000
--- a/app-shells/mpv-bash-completion/files/mpv-bash-completion-0.16-fix-no-flag-options-completion.patch
+++ /dev/null
@@ -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}="
diff --git a/app-shells/mpv-bash-completion/mpv-bash-completion-0.16.ebuild b/app-shells/mpv-bash-completion/mpv-bash-completion-0.16.ebuild
deleted file mode 100644
index 4cf7aeb..0000000
--- a/app-shells/mpv-bash-completion/mpv-bash-completion-0.16.ebuild
+++ /dev/null
@@ -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
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-23 21:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-23 21:44 [gentoo-commits] repo/gentoo:master commit in: app-shells/mpv-bash-completion/files/, app-shells/mpv-bash-completion/ Patrice Clement
-- strict thread matches above, loose matches on Subject: below --
2016-04-26 7:15 Patrice Clement
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox