commit:     e8cc36521846c072e871c18de8acd9efe94801da
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Wed May 21 19:17:35 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 21 21:26:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8cc3652

app-dicts/myspell-ca: Bump to 3.0.9

Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42192
Closes: https://github.com/gentoo/gentoo/pull/42192
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-dicts/myspell-ca/Manifest                |  1 +
 app-dicts/myspell-ca/myspell-ca-3.0.9.ebuild | 46 ++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/app-dicts/myspell-ca/Manifest b/app-dicts/myspell-ca/Manifest
index c99d8c938e94..d66f92478d4a 100644
--- a/app-dicts/myspell-ca/Manifest
+++ b/app-dicts/myspell-ca/Manifest
@@ -1 +1,2 @@
 DIST myspell-ca-3.0.8.oxt 5217894 BLAKE2B 
44b0cfa1bd2ff7aac3fae24be49426b62c77b3f2a40ad68be94859f8b7ee6c9327173346d7433ffbaa6aeba5d808113c664acf951092e5e38f16ad888c383fac
 SHA512 
2d38bd14cbe45c2324c48c87ec85cf733fc0d3c3851621af90c41107615f69ccf4e8f3a27b1e0806139b52437491dff6092ea83a5fa78cb5f0d9c0ab4c2be169
+DIST myspell-ca-3.0.9.oxt 5485184 BLAKE2B 
49e0fcdbac60db9c3a3b2ca1fb91fc4ecc9484960238a859fe62e833097e071e67e1e0200025cf384b862e6dd8a6a11c1c9c0ef6065a8000cd93108a5453d955
 SHA512 
32bf40295640fdc8d9440d704498638f4d04514f80291a41837bc3c81d152dd8f88280a602cff6ec0eb900ad3ac00136f7ff9f170f3bb867c53842f7f9dbed43

diff --git a/app-dicts/myspell-ca/myspell-ca-3.0.9.ebuild 
b/app-dicts/myspell-ca/myspell-ca-3.0.9.ebuild
new file mode 100644
index 000000000000..b84346f59023
--- /dev/null
+++ b/app-dicts/myspell-ca/myspell-ca-3.0.9.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MYSPELL_DICT=(
+       "ca_ES.aff"
+       "ca_ES.dic"
+       "ca_ES-valencia.aff"
+       "ca_ES-valencia.dic"
+)
+
+MYSPELL_HYPH=(
+       "hyph_ca_ES.dic"
+)
+
+MYSPELL_THES=(
+       "th_ca_ES.idx"
+       "th_ca_ES.dat"
+)
+
+inherit myspell-r2
+
+DESCRIPTION="Catalan dictionaries for myspell/hunspell"
+HOMEPAGE="https://www.softcatala.org/programes/corrector-ortografic-de-catala-general-per-al-libreoffice-i-lapache-openoffice/
 https://github.com/Softcatala/catalan-dict-tools/";
+
+MY_PV="${PV%_p*}"
+SRC_URI="https://github.com/Softcatala/catalan-dict-tools/releases/download/v${MY_PV}/ca.${MY_PV}.oxt
 -> ${P}.oxt"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86"
+
+src_prepare() {
+       default
+
+       # rename to conform the common naming scheme
+       mv ca.aff ca_ES.aff || die
+       mv ca.dic ca_ES.dic || die
+       mv ca-ES-valencia.aff ca_ES-valencia.aff || die
+       mv ca-ES-valencia.dic ca_ES-valencia.dic || die
+       mv hyph_ca.dic hyph_ca_ES.dic || die
+
+       # remove licenses
+       rm LICENSES-en.txt LLICENCIES-ca.txt || die
+}

Reply via email to