Skip to content

Commit

Permalink
app-dicts/aspell-de-alt: Bump to EAPI 6
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Closes: gentoo#4237
  • Loading branch information
SoapGentoo committed Apr 1, 2017
1 parent 321166d commit 627d7ab
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
19 changes: 9 additions & 10 deletions app-dicts/aspell-de-alt/aspell-de-alt-2.1.1-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

ASPELL_LANG="German (traditional orthography)"
ASPOSTFIX="6"
ASPELL_VERSION=6

inherit eutils aspell-dict
inherit aspell-dict-r1

LICENSE="GPL-2"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE=""

src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-dict-name.patch"
}
PATCHES=( "${FILESDIR}/${P}-dict-name.patch" )

src_install() {
aspell-dict_src_install
newdoc doc/README README.hk || die
dodoc doc/README.bj || die
aspell-dict-r1_src_install

newdoc doc/README README.hk
dodoc doc/README.bj
}
20 changes: 10 additions & 10 deletions app-dicts/aspell-de-alt/files/aspell-de-alt-2.1.1-dict-name.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Aspell dictionaries should be named LANGUAGE[_REGION][-VARIETY][-SIZE],
therefore this patch adds de-1901 and de_DE-1901 as such alias names.
See also: http://www.iana.org/assignments/language-subtag-registry

--- Makefile.pre
+++ Makefile.pre
--- a/Makefile.pre
+++ b/Makefile.pre
@@ -7,7 +7,8 @@
data_files = de-alt.dat de-alt_phonet.dat de-alt_affix.dat
doc_files = README COPYING Copyright
Expand All @@ -14,8 +14,8 @@ See also: http://www.iana.org/assignments/language-subtag-registry
rws_files = de-alt.rws

distdir=aspell6-${lang}-${version}
--- README
+++ README
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-GNU Aspell 0.60 German - Old Spelling (Deutsch - Alter Spelling) Dictionary Package
+GNU Aspell 0.60 German - Old Spelling (Deutsch - alte Rechtschreibung) Dictionary Package
Expand All @@ -31,16 +31,16 @@ See also: http://www.iana.org/assignments/language-subtag-registry
Whereas the names in parentheses are alternate names for the
dictionary preceding the parentheses.

--- de-1901.alias
+++ de-1901.alias
--- a/de-1901.alias
+++ b/de-1901.alias
@@ -0,0 +1 @@
+add de-alt.multi
--- de_DE-1901.alias
+++ de_DE-1901.alias
--- a/de_DE-1901.alias
+++ b/de_DE-1901.alias
@@ -0,0 +1 @@
+add de-alt.multi
--- info
+++ info
--- a/info
+++ b/info
@@ -1,5 +1,5 @@
name_english German - Old Spelling
-name_ascii Deutsch - Alter Spelling
Expand Down

0 comments on commit 627d7ab

Please sign in to comment.