View | Details | Raw Unified | Return to bug 206541
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	bash-completion
4
PORTNAME=	bash-completion
5
PORTVERSION=	2.1
5
PORTVERSION=	2.1
6
PORTREVISION=	5
6
PORTREVISION=	6
7
PORTEPOCH=	1
7
PORTEPOCH=	1
8
CATEGORIES=	shells
8
CATEGORIES=	shells
9
MASTER_SITES=	http://bash-completion.alioth.debian.org/files/
9
MASTER_SITES=	http://bash-completion.alioth.debian.org/files/
(-)files/patch-reptyr (+84 lines)
Line 0 Link Here
1
From 6a4ad49fa53cc92d3bd23b5b4db0b3318f2ef136 Mon Sep 17 00:00:00 2001
2
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi>
3
Date: Tue, 3 Feb 2015 07:55:22 +0200
4
Subject: reptyr: Rename file to _reptyr to avoid conflict with upstreamed
5
 completion
6
7
https://github.com/nelhage/reptyr/pull/53
8
---
9
 completions/Makefile.am |  2 +-
10
 completions/_reptyr     | 26 ++++++++++++++++++++++++++
11
 completions/reptyr      | 23 -----------------------
12
 3 files changed, 27 insertions(+), 24 deletions(-)
13
 create mode 100644 completions/_reptyr
14
 delete mode 100644 completions/reptyr
15
16
--- completions/Makefile.am
17
+++ completions/Makefile.am
18
@@ -303,7 +303,7 @@ bashcomp_DATA = 2to3 \
19
 		_renice \
20
 		_repomanage \
21
 		reportbug \
22
-		reptyr \
23
+		_reptyr \
24
 		resolvconf \
25
 		rfkill \
26
 		ri \
27
--- /dev/null
28
+++ completions/_reptyr
29
@@ -0,0 +1,26 @@
30
+# bash completion for reptyr(1)                            -*- shell-script -*-
31
+
32
+# Use of this file is deprecated.  Upstream completion is available in
33
+# reptyr > 0.6.2, use that instead.
34
+
35
+_reptyr()
36
+{
37
+    local cur prev words cword
38
+    _init_completion || return
39
+
40
+    case $prev in
41
+        -l)
42
+            return 0
43
+            ;;
44
+    esac
45
+
46
+    if [[ $cur == -* ]]; then
47
+        COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
48
+        return 0
49
+    fi
50
+
51
+    [[ $prev != +([0-9]) ]] && _pids
52
+} &&
53
+complete -F _reptyr reptyr
54
+
55
+# ex: ts=4 sw=4 et filetype=sh
56
--- completions/reptyr
57
+++ /dev/null
58
@@ -1,23 +0,0 @@
59
-# bash completion for reptyr(1)                            -*- shell-script -*-
60
-
61
-_reptyr()
62
-{
63
-    local cur prev words cword
64
-    _init_completion || return
65
-
66
-    case $prev in
67
-        -l)
68
-            return 0
69
-            ;;
70
-    esac
71
-
72
-    if [[ $cur == -* ]]; then
73
-        COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
74
-        return 0
75
-    fi
76
-
77
-    [[ $prev != +([0-9]) ]] && _pids
78
-} &&
79
-complete -F _reptyr reptyr
80
-
81
-# ex: ts=4 sw=4 et filetype=sh
82
-- 
83
cgit v0.11.2
84
(-)pkg-plist (-1 / +1 lines)
Lines 1-6 Link Here
1
libdata/pkgconfig/bash-completion.pc
1
libdata/pkgconfig/bash-completion.pc
2
%%DATADIR%%/bash_completion
2
%%DATADIR%%/bash_completion
3
%%DATADIR%%/bash_completion.sh
3
%%DATADIR%%/bash_completion.sh
4
%%DATADIR%%/completions/_reptyr
4
%%DATADIR%%/completions/a2x
5
%%DATADIR%%/completions/a2x
5
%%DATADIR%%/completions/abook
6
%%DATADIR%%/completions/abook
6
%%DATADIR%%/completions/aclocal
7
%%DATADIR%%/completions/aclocal
Lines 426-432 Link Here
426
%%DATADIR%%/completions/renice
427
%%DATADIR%%/completions/renice
427
%%DATADIR%%/completions/reportbug
428
%%DATADIR%%/completions/reportbug
428
%%DATADIR%%/completions/repquota
429
%%DATADIR%%/completions/repquota
429
%%DATADIR%%/completions/reptyr
430
%%DATADIR%%/completions/resolvconf
430
%%DATADIR%%/completions/resolvconf
431
%%DATADIR%%/completions/rfcomm
431
%%DATADIR%%/completions/rfcomm
432
%%DATADIR%%/completions/rfkill
432
%%DATADIR%%/completions/rfkill

Return to bug 206541