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

app-dicts/aspell-pt/aspell-pt-0.50.2-r1.ebuild

index a2a6173cb99760d35ec828f9cca65f215227a96d..5be881b7dc98d154ebb08382c0690a9c5d573923 100644 (file)
@@ -1,9 +1,11 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+EAPI=6
+
 ASPELL_LANG="Portuguese"
 
-inherit multilib aspell-dict
+inherit aspell-dict-r1
 
 LICENSE="GPL-2"
 
@@ -11,7 +13,8 @@ KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x8
 IUSE=""
 
 src_install() {
-       aspell-dict_src_install
-       rm "${D}"/usr/$(get_libdir)/aspell-0.60/pt_BR*
-       rm "${D}"/usr/$(get_libdir)/aspell-0.60/brazilian.alias
+       aspell-dict-r1_src_install
+
+       rm "${ED%/}"/usr/$(get_libdir)/aspell-0.60/pt_BR* || die
+       rm "${ED%/}"/usr/$(get_libdir)/aspell-0.60/brazilian.alias || die
 }