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

app-dicts/aspell-ru/aspell-ru-0.99.1-r1.ebuild

index 553c104fdf9a62e0cae768a6755424bf7fe2e199..793e034b27b006898af9a940de32c4457bf860fe 100644 (file)
@@ -1,25 +1,27 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+EAPI=6
+
 ASPELL_LANG="Russian"
-ASPOSTFIX="6"
+ASPELL_VERSION=6
 
-inherit aspell-dict
+inherit aspell-dict-r1
 
-LICENSE="GPL-2"
+# very strange filename not supported by the gentoo naming scheme
+MY_P="aspell6-ru-0.99f7-1"
 
+SRC_URI="mirror://gnu/aspell/dict/ru/${MY_P}.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"
 IUSE=""
 
-# very strange filename not supported by the gentoo naming scheme
-FILENAME=aspell6-ru-0.99f7-1
+S=${WORKDIR}/${MY_P}
 
-SRC_URI="mirror://gnu/aspell/dict/ru/${FILENAME}.tar.bz2"
-S=${WORKDIR}/${FILENAME}
+src_prepare() {
+       default
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       einfo "Set default dictionary to ru-yeyo."
+       einfo "Setting default dictionary to ru-yeyo"
        cp -v ru-yeyo.multi ru.multi || die
 }