commit:     44410f9a05ca4753fce57980f9586ea71967fc68
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 15 05:32:25 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 15 05:33:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44410f9a

app-misc/figlet: EAPI=8

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 ...glet-2.2.5-r1.ebuild => figlet-2.2.5-r2.ebuild} |  8 ++--
 app-misc/figlet/files/figlet.bashcomp              | 51 ----------------------
 2 files changed, 5 insertions(+), 54 deletions(-)

diff --git a/app-misc/figlet/figlet-2.2.5-r1.ebuild 
b/app-misc/figlet/figlet-2.2.5-r2.ebuild
similarity index 90%
rename from app-misc/figlet/figlet-2.2.5-r1.ebuild
rename to app-misc/figlet/figlet-2.2.5-r2.ebuild
index 716fd19b447a..70f74074939f 100644
--- a/app-misc/figlet/figlet-2.2.5-r1.ebuild
+++ b/app-misc/figlet/figlet-2.2.5-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit bash-completion-r1 toolchain-funcs
 
@@ -13,7 +13,9 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos"
 
-PATCHES=( "${FILESDIR}"/${P}-musl.patch )
+PATCHES=(
+       "${FILESDIR}"/${P}-musl.patch
+)
 
 src_compile() {
        emake clean

diff --git a/app-misc/figlet/files/figlet.bashcomp 
b/app-misc/figlet/files/figlet.bashcomp
deleted file mode 100644
index be3762ceb7e0..000000000000
--- a/app-misc/figlet/files/figlet.bashcomp
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# bash command-line completion for figlet
-# author: Aaron Walker <[email protected]>
-
-_figlet() {
-    local cur prev opts x
-    COMPREPLY=()
-    cur="${COMP_WORDS[COMP_CWORD]}"
-    prev="${COMP_WORDS[COMP_CWORD-1]}"
-    opts="-f -d -c -l -r -x -t -w -p -n -D -E -C -N -s -S -k -W -o \
-               -m -v -I -L -R -X"
-
-    if [[ "${cur}" == -* || ${COMP_CWORD} -eq 1 ]] ; then
-           COMPREPLY=( $(compgen -W "${opts}" -- $cur) )
-       return 0
-    fi
-
-    case "${prev}" in
-       -f)
-           COMPREPLY=( $(compgen -f -- $cur) \
-                   $(compgen -W "$(\
-                   for x in /usr/share/figlet/*.flf ; do \
-                       [[ -f ${x} ]] && { local y=${x##*/} ; echo ${y%.*} ; } \
-                   done)" -- $cur) )
-           ;;
-       -d)
-           COMPREPLY=( $(compgen -d -S '/' -- $cur) )
-           ;;
-       -C)
-           COMPREPLY=( $(compgen -f -- $cur) \
-            $(compgen -W "$(\
-            for x in /usr/share/figlet/*.flc ; do \
-                [[ -f ${x} ]] && { local y=${x##*/} ; echo ${y%.*} ; } \
-            done)" -- $cur) )
-           ;;
-       -m)
-           COMPREPLY=( $(compgen -W "$(\
-                   for ((x = 1 ; x < 64 ; x++)) ; do \
-                       echo ${x} ; \
-                   done)" ) )
-           ;;
-       -I)
-           COMPREPLY=( $(compgen -W "-1 0 1 2 3 4" -- $cur) )
-           ;;
-    esac
-}
-complete -o filenames -F _figlet figlet
-
-# vim: set ft=sh tw=80 sw=4 et :

Reply via email to