1 |
This change adds EAPI 8 support. |
2 |
No further changed required. |
3 |
|
4 |
Signed-off-by: Conrad Kostecki <conikost@g.o> |
5 |
--- |
6 |
eclass/myspell-r2.eclass | 7 ++++--- |
7 |
1 file changed, 4 insertions(+), 3 deletions(-) |
8 |
|
9 |
diff --git a/eclass/myspell-r2.eclass b/eclass/myspell-r2.eclass |
10 |
index e4d9ae69af3..6141be8d66a 100644 |
11 |
--- a/eclass/myspell-r2.eclass |
12 |
+++ b/eclass/myspell-r2.eclass |
13 |
@@ -6,7 +6,7 @@ |
14 |
# Conrad Kostecki <conikost@g.o> |
15 |
# @AUTHOR: |
16 |
# Tomáš Chvátal <scarabeus@g.o> |
17 |
-# @SUPPORTED_EAPIS: 5 6 7 |
18 |
+# @SUPPORTED_EAPIS: 5 6 7 8 |
19 |
# @BLURB: An eclass to streamline the construction of ebuilds for new Myspell dictionaries. |
20 |
# @DESCRIPTION: |
21 |
# The myspell-r2 eclass is designed to streamline the construction of ebuilds for |
22 |
@@ -34,7 +34,7 @@ case ${EAPI:-0} in |
23 |
[0-4]) |
24 |
die "${ECLASS} is banned in EAPI ${EAPI:-0}" |
25 |
;; |
26 |
- [5-7]) |
27 |
+ [5-8]) |
28 |
;; |
29 |
*) |
30 |
die "Unknown EAPI ${EAPI:-0}" |
31 |
@@ -46,7 +46,7 @@ EXPORT_FUNCTIONS src_unpack src_install |
32 |
# Basically no extra deps needed. |
33 |
# Unzip is required for .oxt libreoffice extensions |
34 |
# which are just fancy zip files. |
35 |
-if [[ ${EAPI:-0} == 7 ]]; then |
36 |
+if [[ ${EAPI:-0} -ge 7 ]]; then |
37 |
BDEPEND="app-arch/unzip" |
38 |
else |
39 |
DEPEND="app-arch/unzip" |
40 |
@@ -128,6 +128,7 @@ myspell-r2_src_install() { |
41 |
rm -rf LICENCE* |
42 |
rm -rf license* |
43 |
rm -rf licence* |
44 |
+ |
45 |
# Readme and so on |
46 |
for x in *.txt README*; do |
47 |
if [[ -f ${x} ]]; then |
48 |
-- |
49 |
2.31.1 |