summaryrefslogtreecommitdiff
path: root/eclass/myspell-r2.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-08 15:03:58 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-08 15:03:58 +0100
commit814f4cf860e299a046b649eaee5463427984c09c (patch)
tree74c45f097899310e599dad6b8df5b63e0f085bc0 /eclass/myspell-r2.eclass
parent7f0ccc917c7abe6223784c703d86cd14755691fb (diff)
gentoo resync : 08.07.2021
Diffstat (limited to 'eclass/myspell-r2.eclass')
-rw-r--r--eclass/myspell-r2.eclass11
1 files changed, 4 insertions, 7 deletions
diff --git a/eclass/myspell-r2.eclass b/eclass/myspell-r2.eclass
index e4d9ae69af3a..7ffdd3631eae 100644
--- a/eclass/myspell-r2.eclass
+++ b/eclass/myspell-r2.eclass
@@ -6,7 +6,7 @@
# Conrad Kostecki <conikost@gentoo.org>
# @AUTHOR:
# Tomáš Chvátal <scarabeus@gentoo.org>
-# @SUPPORTED_EAPIS: 5 6 7
+# @SUPPORTED_EAPIS: 5 6 7 8
# @BLURB: An eclass to streamline the construction of ebuilds for new Myspell dictionaries.
# @DESCRIPTION:
# The myspell-r2 eclass is designed to streamline the construction of ebuilds for
@@ -31,13 +31,10 @@
# MYSPELL_THES=( "file.dat" "dir/file2.idx" )
case ${EAPI:-0} in
- [0-4])
- die "${ECLASS} is banned in EAPI ${EAPI:-0}"
- ;;
- [5-7])
+ [5-8])
;;
*)
- die "Unknown EAPI ${EAPI:-0}"
+ die "${ECLASS}: EAPI ${EAPI:-0} not supported"
;;
esac
@@ -46,7 +43,7 @@ EXPORT_FUNCTIONS src_unpack src_install
# Basically no extra deps needed.
# Unzip is required for .oxt libreoffice extensions
# which are just fancy zip files.
-if [[ ${EAPI:-0} == 7 ]]; then
+if [[ ${EAPI:-0} != [56] ]]; then
BDEPEND="app-arch/unzip"
else
DEPEND="app-arch/unzip"