Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 07 Jul 2021 19:49:53
Message-Id: 1625687246.fb4728b063f6e805dc4e0054a408efa65591c2f6.conikost@gentoo
1 commit: fb4728b063f6e805dc4e0054a408efa65591c2f6
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 4 15:46:29 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 7 19:47:26 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb4728b0
7
8 eclass/myspell-r2.eclass: add EAPI 8 support
9
10 This change adds EAPI 8 support. No further changes required.
11
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 eclass/myspell-r2.eclass | 6 +++---
15 1 file changed, 3 insertions(+), 3 deletions(-)
16
17 diff --git a/eclass/myspell-r2.eclass b/eclass/myspell-r2.eclass
18 index e4d9ae69af3..c163e467799 100644
19 --- a/eclass/myspell-r2.eclass
20 +++ b/eclass/myspell-r2.eclass
21 @@ -6,7 +6,7 @@
22 # Conrad Kostecki <conikost@g.o>
23 # @AUTHOR:
24 # Tomáš Chvátal <scarabeus@g.o>
25 -# @SUPPORTED_EAPIS: 5 6 7
26 +# @SUPPORTED_EAPIS: 5 6 7 8
27 # @BLURB: An eclass to streamline the construction of ebuilds for new Myspell dictionaries.
28 # @DESCRIPTION:
29 # The myspell-r2 eclass is designed to streamline the construction of ebuilds for
30 @@ -34,7 +34,7 @@ case ${EAPI:-0} in
31 [0-4])
32 die "${ECLASS} is banned in EAPI ${EAPI:-0}"
33 ;;
34 - [5-7])
35 + [5-8])
36 ;;
37 *)
38 die "Unknown EAPI ${EAPI:-0}"
39 @@ -46,7 +46,7 @@ EXPORT_FUNCTIONS src_unpack src_install
40 # Basically no extra deps needed.
41 # Unzip is required for .oxt libreoffice extensions
42 # which are just fancy zip files.
43 -if [[ ${EAPI:-0} == 7 ]]; then
44 +if [[ ${EAPI:-0} != [56] ]]; then
45 BDEPEND="app-arch/unzip"
46 else
47 DEPEND="app-arch/unzip"