summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-07-04 17:46:29 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-07-07 21:47:26 +0200
commitfb4728b063f6e805dc4e0054a408efa65591c2f6 (patch)
treecfdeb86e2f1c38d370109d61daf4536d795680f8 /eclass
parenteclass/aspell-dict-r1.eclass: standardise error message (diff)
downloadgentoo-fb4728b063f6e805dc4e0054a408efa65591c2f6.tar.gz
gentoo-fb4728b063f6e805dc4e0054a408efa65591c2f6.tar.bz2
gentoo-fb4728b063f6e805dc4e0054a408efa65591c2f6.zip
eclass/myspell-r2.eclass: add EAPI 8 support
This change adds EAPI 8 support. No further changes required. Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/myspell-r2.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/myspell-r2.eclass b/eclass/myspell-r2.eclass
index e4d9ae69af3a..c163e4677991 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
@@ -34,7 +34,7 @@ case ${EAPI:-0} in
[0-4])
die "${ECLASS} is banned in EAPI ${EAPI:-0}"
;;
- [5-7])
+ [5-8])
;;
*)
die "Unknown EAPI ${EAPI:-0}"
@@ -46,7 +46,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"