1 |
commit: 770aebb18976e818f9e002e2425ba1a7a5f2db15 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 19 10:07:13 2021 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 19 10:20:00 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=770aebb1 |
7 |
|
8 |
app-i18n/man-pages-l10n: Version bump to 4.10.0 |
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 |
app-i18n/man-pages-l10n/Manifest | 1 + |
14 |
.../man-pages-l10n/man-pages-l10n-4.10.0.ebuild | 73 ++++++++++++++++++++++ |
15 |
2 files changed, 74 insertions(+) |
16 |
|
17 |
diff --git a/app-i18n/man-pages-l10n/Manifest b/app-i18n/man-pages-l10n/Manifest |
18 |
index 892621af506..79bf0d247c4 100644 |
19 |
--- a/app-i18n/man-pages-l10n/Manifest |
20 |
+++ b/app-i18n/man-pages-l10n/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST manpages-l10n-v4.10.0.tar.bz2 64760050 BLAKE2B b70d8b0a48050538f7af90c248f3132dadd69e9eca0e3f438aeb6b8086aed8f70ee4d54af3608c602910fcfac68d1283971a9a1869b3854d1802794c56837b58 SHA512 59f5daa7acf29252af2c733d7084bfe9bccbbec19f5e8cf1855df420835fd934e072479149d679a90ae4e52330763599a20fbb5bc8459b8a44e5bcc1628ab501 |
23 |
DIST manpages-l10n-v4.2.0.tar.bz2 51747352 BLAKE2B 97c3e3fdb11b47753c9c179751fb001af0a9f79324d594d297981735f82b3917bd31fc5c100462d6093e621a98773f23543548efb957113ade39e9c315cd4d72 SHA512 b2de542fdb97868b5fa96f24947c7a37216dc6a6a5ee66142023dd1036017f7128ca26ac8367b0edbd76cfa049174892749efafef9dbf4221e90dd9166b82652 |
24 |
|
25 |
diff --git a/app-i18n/man-pages-l10n/man-pages-l10n-4.10.0.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.10.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..4cbc2c8422b |
28 |
--- /dev/null |
29 |
+++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.10.0.ebuild |
30 |
@@ -0,0 +1,73 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+MY_P="${PN/-}-v${PV}" |
37 |
+DESCRIPTION="A somewhat comprehensive collection of man page translations" |
38 |
+HOMEPAGE="https://manpages-l10n-team.pages.debian.net/manpages-l10n/" |
39 |
+SRC_URI="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/v${PV}/${MY_P}.tar.bz2" |
40 |
+S="${WORKDIR}/${MY_P}" |
41 |
+ |
42 |
+LICENSE="GPL-3+" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
45 |
+MY_L10N=(de es fr it nl pl pt-BR ro) |
46 |
+IUSE="${MY_L10N[@]/#/l10n_}" |
47 |
+REQUIRED_USE="|| ( ${MY_L10N[@]/#/l10n_} )" |
48 |
+ |
49 |
+RDEPEND="virtual/man |
50 |
+ l10n_de? ( !app-i18n/man-pages-de ) |
51 |
+ l10n_fr? ( !app-i18n/man-pages-fr ) |
52 |
+ l10n_it? ( !app-i18n/man-pages-it ) |
53 |
+ l10n_nl? ( !app-i18n/man-pages-nl ) |
54 |
+ l10n_pl? ( !app-i18n/man-pages-pl )" |
55 |
+ |
56 |
+BDEPEND="app-text/po4a |
57 |
+ dev-lang/perl" |
58 |
+ |
59 |
+DOCS=(AUTHORS.md CHANGES.md README.md) |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ sed -i -e "/^SUBDIRS/s/=.*/= ${L10N//-/_}/" po/Makefile.{am,in} || die |
64 |
+ |
65 |
+ # some packages have their own translations |
66 |
+ local noinst_manpages=( |
67 |
+ # app-arch/xz-utils |
68 |
+ de/xz.1 |
69 |
+ de/xzdec.1 |
70 |
+ de/xzdiff.1 |
71 |
+ de/xzgrep.1 |
72 |
+ de/xzless.1 |
73 |
+ de/xzmore.1 |
74 |
+ # sys-apps/shadow |
75 |
+ {de,nl,pl}/groups.1 |
76 |
+ de/su.1 |
77 |
+ # sys-process/procps |
78 |
+ {de,fr,pl}/free.1 |
79 |
+ {de,fr}/pgrep.1 |
80 |
+ {de,fr}/pmap.1 |
81 |
+ {de,fr,pl}/ps.1 |
82 |
+ {de,fr}/pwdx.1 |
83 |
+ {de,fr}/tload.1 |
84 |
+ {de,fr,pl}/uptime.1 |
85 |
+ {de,fr}/sysctl.conf.5 |
86 |
+ {de,fr}/sysctl.8 |
87 |
+ {de,fr}/vmstat.8 |
88 |
+ # sys-process/psmisc |
89 |
+ {de,nl,pl}/fuser.1 |
90 |
+ {de,pl}/killall.1 |
91 |
+ de/peekfd.1 |
92 |
+ de/prtstat.1 |
93 |
+ de/pslog.1 |
94 |
+ {de,pl}/pstree.1 |
95 |
+ ) |
96 |
+ printf '%s\n' "${noinst_manpages[@]}" \ |
97 |
+ | sed 's%^\(.*\)/\(.*\)\.\(.*\)$%po/\1/man\3/\2.\3.po%' | xargs rm |
98 |
+ assert |
99 |
+} |
100 |
+ |
101 |
+src_configure() { |
102 |
+ econf --enable-compression=none |
103 |
+} |