Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-dicts/aspell-ru/
Date: Sat, 01 Apr 2017 10:45:23
Message-Id: 1491043445.4348cfb8cbc54edc35ad8e8a9c3b969ede20085f.soap@gentoo
1 commit: 4348cfb8cbc54edc35ad8e8a9c3b969ede20085f
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 1 10:41:27 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 1 10:44:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4348cfb8
7
8 app-dicts/aspell-ru: Bump to EAPI 6
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11 Closes: https://github.com/gentoo/gentoo/pull/4237
12
13 app-dicts/aspell-ru/aspell-ru-0.99.1-r1.ebuild | 24 +++++++++++++-----------
14 1 file changed, 13 insertions(+), 11 deletions(-)
15
16 diff --git a/app-dicts/aspell-ru/aspell-ru-0.99.1-r1.ebuild b/app-dicts/aspell-ru/aspell-ru-0.99.1-r1.ebuild
17 index 553c104fdf9..793e034b27b 100644
18 --- a/app-dicts/aspell-ru/aspell-ru-0.99.1-r1.ebuild
19 +++ b/app-dicts/aspell-ru/aspell-ru-0.99.1-r1.ebuild
20 @@ -1,25 +1,27 @@
21 # Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 +EAPI=6
25 +
26 ASPELL_LANG="Russian"
27 -ASPOSTFIX="6"
28 +ASPELL_VERSION=6
29
30 -inherit aspell-dict
31 +inherit aspell-dict-r1
32
33 -LICENSE="GPL-2"
34 +# very strange filename not supported by the gentoo naming scheme
35 +MY_P="aspell6-ru-0.99f7-1"
36
37 +SRC_URI="mirror://gnu/aspell/dict/ru/${MY_P}.tar.bz2"
38 +
39 +LICENSE="GPL-2"
40 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
41 IUSE=""
42
43 -# very strange filename not supported by the gentoo naming scheme
44 -FILENAME=aspell6-ru-0.99f7-1
45 +S=${WORKDIR}/${MY_P}
46
47 -SRC_URI="mirror://gnu/aspell/dict/ru/${FILENAME}.tar.bz2"
48 -S=${WORKDIR}/${FILENAME}
49 +src_prepare() {
50 + default
51
52 -src_unpack() {
53 - unpack ${A}
54 - cd "${S}"
55 - einfo "Set default dictionary to ru-yeyo."
56 + einfo "Setting default dictionary to ru-yeyo"
57 cp -v ru-yeyo.multi ru.multi || die
58 }