Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/tagainijisho/
Date: Thu, 01 Apr 2021 19:57:16
Message-Id: 1617307007.f9c82007968970ca48019aeb60cc038ed5dd6702.floppym@gentoo
1 commit: f9c82007968970ca48019aeb60cc038ed5dd6702
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Thu Apr 1 00:00:00 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 1 19:56:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9c82007
7
8 app-i18n/tagainijisho: Update URLs.
9
10 https://github.com/Gnurou/tagainijisho/commit/35f04ac8fd71023352c2cb44019c675363e3e823
11
12 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
13 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
14
15 app-i18n/tagainijisho/tagainijisho-9999.ebuild | 10 +++++-----
16 1 file changed, 5 insertions(+), 5 deletions(-)
17
18 diff --git a/app-i18n/tagainijisho/tagainijisho-9999.ebuild b/app-i18n/tagainijisho/tagainijisho-9999.ebuild
19 index ca0b9b19513..aa59819e49b 100644
20 --- a/app-i18n/tagainijisho/tagainijisho-9999.ebuild
21 +++ b/app-i18n/tagainijisho/tagainijisho-9999.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 2014-2019 Gentoo Authors
24 +# Copyright 2014-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI="7"
28 @@ -36,9 +36,9 @@ else
29 SRC_URI="https://github.com/Gnurou/${PN}/releases/download/${PV}/${PN}-${TAGAINIJISHO_VERSION}.tar.gz"
30 fi
31 if [[ "${PV}" != 9999 ]]; then
32 - # Upstream: http://ftp.monash.edu.au/pub/nihongo/JMdict.gz
33 + # Upstream: https://www.edrdg.org/pub/Nihongo/JMdict.gz
34 SRC_URI+=" https://home.apache.org/~arfrever/distfiles/JMdict-${JMDICT_DATE}.gz"
35 - # Upstream: http://www.edrdg.org/kanjidic/kanjidic2.xml.gz
36 + # Upstream: https://www.edrdg.org/pub/Nihongo/kanjidic2.xml.gz
37 SRC_URI+=" https://home.apache.org/~arfrever/distfiles/kanjidic2-${KANJIDIC2_DATE}.xml.gz"
38 fi
39 if [[ "${PV}" == 9999 || "${PV}" == *_pre* ]]; then
40 @@ -94,7 +94,7 @@ src_unpack() {
41 JMDICT_DATE="${yesterday}"
42 else
43 # Download file from today or yesterday.
44 - wget http://ftp.monash.edu.au/pub/nihongo/JMdict.gz -O JMdict.gz || die
45 + wget https://www.edrdg.org/pub/Nihongo/JMdict.gz -O JMdict.gz || die
46 JMDICT_DATE="$(gzip -cd JMdict.gz | grep -E "^<!-- JMdict created: [[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2} -->$" | sed -e "s/.*\([[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}\).*/\1/")"
47 if [[ ${JMDICT_DATE} != ${today} && ${JMDICT_DATE} != ${yesterday} ]]; then
48 die "Unexpected date in JMdict.gz: '${JMDICT_DATE}'"
49 @@ -114,7 +114,7 @@ src_unpack() {
50 KANJIDIC2_DATE="${yesterday}"
51 else
52 # Download file from today or yesterday.
53 - wget http://www.edrdg.org/kanjidic/kanjidic2.xml.gz -O kanjidic2.xml.gz || die
54 + wget https://www.edrdg.org/pub/Nihongo/kanjidic2.xml.gz -O kanjidic2.xml.gz || die
55 KANJIDIC2_DATE="$(gzip -cd kanjidic2.xml.gz | grep -E "^<date_of_creation>[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}</date_of_creation>$" | sed -e "s/.*\([[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}\).*/\1/")"
56 if [[ ${KANJIDIC2_DATE} != ${today} && ${KANJIDIC2_DATE} != ${yesterday} ]]; then
57 die "Unexpected date in kanjidic2.xml.gz: '${KANJIDIC2_DATE}'"