summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-03-12 20:40:12 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-03-12 23:27:05 +0100
commit24e07675903b1040a7b2e2f758c5e947ade36ad9 (patch)
tree7cdffa2a8892ed7db1720592e17a1a2a00f7707f /app-dicts/aspell-be
parentapp-dicts/aspell-af: take ownership (diff)
downloadgentoo-24e07675903b1040a7b2e2f758c5e947ade36ad9.tar.gz
gentoo-24e07675903b1040a7b2e2f758c5e947ade36ad9.tar.bz2
gentoo-24e07675903b1040a7b2e2f758c5e947ade36ad9.zip
app-dicts/aspell-be: take ownership
Also slightly updated ebuild to make it uniform. Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-dicts/aspell-be')
-rw-r--r--app-dicts/aspell-be/aspell-be-0.01-r1.ebuild10
-rw-r--r--app-dicts/aspell-be/files/aspell5-be-0.01-official.patch8
-rw-r--r--app-dicts/aspell-be/metadata.xml5
3 files changed, 15 insertions, 8 deletions
diff --git a/app-dicts/aspell-be/aspell-be-0.01-r1.ebuild b/app-dicts/aspell-be/aspell-be-0.01-r1.ebuild
index f7393d3d18e9..e2f9bb303f25 100644
--- a/app-dicts/aspell-be/aspell-be-0.01-r1.ebuild
+++ b/app-dicts/aspell-be/aspell-be-0.01-r1.ebuild
@@ -4,16 +4,20 @@
EAPI=7
ASPELL_LANG="Belarusian"
+ASPELL_VERSION=5
+MY_P="${PN/aspell/aspell${ASPELL_VERSION}}-${PV}"
+
inherit aspell-dict-r1
-SRC_URI="mirror://gnu/aspell/dict/be/aspell5-be-${PV}.tar.bz2"
-S="${WORKDIR}/aspell5-be-${PV}"
+SRC_URI="mirror://gnu/${PN%-*}/dict/${PN/aspell-/}/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
IUSE="classic"
src_prepare() {
- use classic || local PATCHES=( "${FILESDIR}"/aspell5-be-${PV}-official.patch )
+ ! use classic && local PATCHES=( "${FILESDIR}"/aspell5-be-${PV}-official.patch )
+
default
}
diff --git a/app-dicts/aspell-be/files/aspell5-be-0.01-official.patch b/app-dicts/aspell-be/files/aspell5-be-0.01-official.patch
index 8574baad88ca..00a18f19a658 100644
--- a/app-dicts/aspell-be/files/aspell5-be-0.01-official.patch
+++ b/app-dicts/aspell-be/files/aspell5-be-0.01-official.patch
@@ -1,11 +1,11 @@
---- aspell5-be-0.01.orig/be_BY.alias 2004-07-06 00:40:25.000000000 +0300
-+++ aspell5-be-0.01/be_BY.alias 2006-04-15 10:33:22.000000000 +0300
+--- a/be_BY.alias
++++ b/be_BY.alias
@@ -1,2 +1,2 @@
# Generated with Aspell Dicts "proc" script version 0.60.2
-add be.multi
+add be_SU.multi
---- aspell5-be-0.01.orig/belarusian.alias 2004-07-06 00:40:25.000000000 +0300
-+++ aspell5-be-0.01/belarusian.alias 2006-04-15 10:33:37.000000000 +0300
+--- a/belarusian.alias
++++ b/belarusian.alias
@@ -1,2 +1,2 @@
# Generated with Aspell Dicts "proc" script version 0.60.2
-add be.multi
diff --git a/app-dicts/aspell-be/metadata.xml b/app-dicts/aspell-be/metadata.xml
index 3ba13ec2d9f0..da30f4ed358d 100644
--- a/app-dicts/aspell-be/metadata.xml
+++ b/app-dicts/aspell-be/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
<stabilize-allarches/>
<use>
<flag name="classic">Support classic spelling by default</flag>