Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gpxsee/
Date: Sun, 04 Jul 2021 14:03:12
Message-Id: 1625407326.1dff44c07b3d31f7be679d58bfe610931af214d1.ulm@gentoo
1 commit: 1dff44c07b3d31f7be679d58bfe610931af214d1
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 3 15:46:55 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 4 14:02:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dff44c0
7
8 sci-geosciences/gpxsee: Update from l10n.eclass to plocale.eclass
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 sci-geosciences/gpxsee/gpxsee-9.0.ebuild | 6 +++---
14 sci-geosciences/gpxsee/gpxsee-9.1.ebuild | 6 +++---
15 2 files changed, 6 insertions(+), 6 deletions(-)
16
17 diff --git a/sci-geosciences/gpxsee/gpxsee-9.0.ebuild b/sci-geosciences/gpxsee/gpxsee-9.0.ebuild
18 index 911d42be020..7afc1386fce 100644
19 --- a/sci-geosciences/gpxsee/gpxsee-9.0.ebuild
20 +++ b/sci-geosciences/gpxsee/gpxsee-9.0.ebuild
21 @@ -4,7 +4,7 @@
22 EAPI=7
23
24 PLOCALES="cs da de en eo es fi fr hu it nb pl pt_BR ru sv tr uk zh"
25 -inherit desktop qmake-utils l10n xdg
26 +inherit desktop plocale qmake-utils xdg
27
28 MY_PN="GPXSee"
29 MY_P="${MY_PN}-${PV}"
30 @@ -34,13 +34,13 @@ PATCHES=( "${FILESDIR}"/${PN}-7.33.patch )
31 src_prepare() {
32 default
33
34 - l10n_find_plocales_changes lang "${PN}_" '.ts'
35 + plocale_find_changes lang "${PN}_" '.ts'
36
37 rm_ts() {
38 sed -e "s|lang/gpxsee_${1}.ts||" -i gpxsee.pro
39 }
40
41 - l10n_for_each_disabled_locale_do rm_ts
42 + plocale_for_each_disabled_locale rm_ts
43 }
44
45 src_compile() {
46
47 diff --git a/sci-geosciences/gpxsee/gpxsee-9.1.ebuild b/sci-geosciences/gpxsee/gpxsee-9.1.ebuild
48 index 950a8b5cfcf..af40115090c 100644
49 --- a/sci-geosciences/gpxsee/gpxsee-9.1.ebuild
50 +++ b/sci-geosciences/gpxsee/gpxsee-9.1.ebuild
51 @@ -4,7 +4,7 @@
52 EAPI=7
53
54 PLOCALES="cs da de en eo es fi fr hu it nb pl pt_BR ru sv tr uk"
55 -inherit desktop qmake-utils l10n xdg
56 +inherit desktop plocale qmake-utils xdg
57
58 MY_PN="GPXSee"
59 MY_P="${MY_PN}-${PV}"
60 @@ -34,13 +34,13 @@ PATCHES=( "${FILESDIR}"/${PN}-7.33.patch )
61 src_prepare() {
62 default
63
64 - l10n_find_plocales_changes lang "${PN}_" '.ts'
65 + plocale_find_changes lang "${PN}_" '.ts'
66
67 rm_ts() {
68 sed -e "s|lang/gpxsee_${1}.ts||" -i gpxsee.pro
69 }
70
71 - l10n_for_each_disabled_locale_do rm_ts
72 + plocale_for_each_disabled_locale rm_ts
73 }
74
75 src_compile() {