app-dicts/aspell-be: Bump to EAPI 6
authorDavid Seifert <soap@gentoo.org>
Sat, 1 Apr 2017 10:41:23 +0000 (12:41 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 1 Apr 2017 10:42:15 +0000 (12:42 +0200)
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/4237

app-dicts/aspell-be/aspell-be-0.01-r1.ebuild

index f7fd11511c961876990cf76c028d578fa8c36ace..ade8ef097491a097985235f8204087fe6b5b9b74 100644 (file)
@@ -1,20 +1,21 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+EAPI=6
+
 ASPELL_LANG="Belarusian"
 
-inherit eutils aspell-dict
+inherit aspell-dict-r1
 
-LICENSE="GPL-2"
+SRC_URI="mirror://gnu/aspell/dict/be/aspell5-be-${PV}.tar.bz2"
 
+LICENSE="GPL-2"
 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-
-SRC_URI="mirror://gnu/aspell/dict/be/aspell5-be-${PV}.tar.bz2"
 IUSE="classic"
 
 S="${WORKDIR}/aspell5-be-${PV}"
 
-src_unpack() {
-       unpack ${A}
-       use classic || epatch "${FILESDIR}"/aspell5-be-${PV}-official.patch
+src_prepare() {
+       use classic || local PATCHES=( "${FILESDIR}"/aspell5-be-${PV}-official.patch )
+       default
 }