commit:     9d1a358d2c8b0f8d1a6430c4bb5e3a9993fcc118
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  1 10:41:26 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Apr  1 10:43:55 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d1a358d

app-dicts/aspell-pt: Bump to EAPI 6

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 | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/app-dicts/aspell-pt/aspell-pt-0.50.2-r1.ebuild 
b/app-dicts/aspell-pt/aspell-pt-0.50.2-r1.ebuild
index a2a6173cb99..5be881b7dc9 100644
--- a/app-dicts/aspell-pt/aspell-pt-0.50.2-r1.ebuild
+++ b/app-dicts/aspell-pt/aspell-pt-0.50.2-r1.ebuild
@@ -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
 }

Reply via email to