summaryrefslogtreecommitdiff
path: root/app-i18n/man-pages-l10n
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/man-pages-l10n')
-rw-r--r--app-i18n/man-pages-l10n/Manifest4
-rw-r--r--app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild4
-rw-r--r--app-i18n/man-pages-l10n/man-pages-l10n-4.2.0-r1.ebuild73
3 files changed, 79 insertions, 2 deletions
diff --git a/app-i18n/man-pages-l10n/Manifest b/app-i18n/man-pages-l10n/Manifest
index 9bc77f13601c..eb514fd47ed4 100644
--- a/app-i18n/man-pages-l10n/Manifest
+++ b/app-i18n/man-pages-l10n/Manifest
@@ -1,3 +1,5 @@
DIST manpages-l10n-v4.0.0.tar.bz2 34796889 BLAKE2B 6413278ab2c9482ffdd2cf6ef1f4c6e05f2f1d7be8c8d556cb137ca4c5c2d6297f9547725f3afcf8023478c05e41d99d595a0b5a44da0d0188ed0287c630e5b6 SHA512 9c83363ffaa9ff9015934869623958594e64f1cbb52367dd8274425a5cb45dac06109d231fd7f165eb35248b4229f3bbf252a6a4630e7d5a47edbf41d4a646a9
-EBUILD man-pages-l10n-4.0.0.ebuild 1641 BLAKE2B 8648fd70e0d3a0c7e6209ca91842750e226a2fbf916e5974372c2579aacd5412c1c6d576e03d7b1431776db4b6ffe25d3e5382edef798f1d2200536a248e38ea SHA512 77afd3a909e277496ce48c45586489655f383b06ae4b4f709ec26f83c50874e30f9979d007a56c6fc1448ded76913fd5f1e01eb09e1ab6e17fac54bf5ff497d3
+DIST manpages-l10n-v4.2.0.tar.bz2 51747352 BLAKE2B 97c3e3fdb11b47753c9c179751fb001af0a9f79324d594d297981735f82b3917bd31fc5c100462d6093e621a98773f23543548efb957113ade39e9c315cd4d72 SHA512 b2de542fdb97868b5fa96f24947c7a37216dc6a6a5ee66142023dd1036017f7128ca26ac8367b0edbd76cfa049174892749efafef9dbf4221e90dd9166b82652
+EBUILD man-pages-l10n-4.0.0.ebuild 1699 BLAKE2B b1b3d8eb90703a0e00939d7d967590794754a9fdf6fd2cbdc4555ea817f977723eac373aab3071c7360f7a319620b7e8ea1368d3a8a9d95345bbd4d3cf9da7b8 SHA512 8237b93e639111a3dd2767230240bebd3535c8c89cdbf5aab8b49efe2f253dcc4ec952c6aac7cb4f8b038a3da7570146e0d72011e1c7ce7d2cc223cb40c77b79
+EBUILD man-pages-l10n-4.2.0-r1.ebuild 1807 BLAKE2B 17a3ad712a4793a83ea42b33c9c6d5cdee519f4440d222ca9ad389a8ae754321dbaa1130f482b1a79436f0778b5388a663047bd85d69c2f36294ce4ad751207a SHA512 1c3d24bed8169290d533ef3c8e249d3f71fb342fbf24159521668b9ffe2de2c8944b54fe8779fb127042f451655438e21bc5b66cbf8aa1c1ceb45d57fc6d4654
MISC metadata.xml 235 BLAKE2B a6e10699959bdc64d99b8c0b00f46388bdf0c1e125a9351c63e61aae65c6bd9f70ab55a9497f6a6dcf10b161022abdd23c50443193563ba83744c09d1d4cd9c6 SHA512 fdebae10dcd9eddfe7d9546337826902e38d3d0e7b7e6e140038bcb293c98ca81b096d203b5709f42948bfa8868fe2d68d1385fae6664505e14d9ac1541898f9
diff --git a/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild
index 8155d590847c..3cd9f132e0b1 100644
--- a/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild
+++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,6 +18,8 @@ IUSE="${MY_L10N[@]/#/l10n_}"
REQUIRED_USE="|| ( ${MY_L10N[@]/#/l10n_} )"
RDEPEND="virtual/man
+ !>=sys-process/procps-3.3.17
+ !>=sys-process/psmisc-23.4
l10n_de? ( !app-i18n/man-pages-de )
l10n_fr? ( !app-i18n/man-pages-fr )
l10n_nl? ( !app-i18n/man-pages-nl )
diff --git a/app-i18n/man-pages-l10n/man-pages-l10n-4.2.0-r1.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.2.0-r1.ebuild
new file mode 100644
index 000000000000..bf105e588ccb
--- /dev/null
+++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.2.0-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="${PN/-}-v${PV}"
+DESCRIPTION="A somewhat comprehensive collection of man page translations"
+HOMEPAGE="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
+SRC_URI="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/v${PV}/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+# build failure for es and it, so omit them for now #769314
+MY_L10N=(de fr nl pl pt-BR ro)
+IUSE="${MY_L10N[@]/#/l10n_}"
+REQUIRED_USE="|| ( ${MY_L10N[@]/#/l10n_} )"
+
+RDEPEND="virtual/man
+ l10n_de? ( !app-i18n/man-pages-de )
+ l10n_fr? ( !app-i18n/man-pages-fr )
+ l10n_nl? ( !app-i18n/man-pages-nl )
+ l10n_pl? ( !app-i18n/man-pages-pl )"
+
+BDEPEND="app-text/po4a
+ dev-lang/perl"
+
+DOCS=(AUTHORS.md CHANGES.md README.md)
+
+src_prepare() {
+ default
+ sed -i -e "/^SUBDIRS/s/=.*/= ${L10N//-/_}/" po/Makefile.{am,in} || die
+
+ # some packages have their own translations
+ local noinst_manpages=(
+ # app-arch/xz-utils
+ de/xz.1
+ de/xzdec.1
+ de/xzdiff.1
+ de/xzgrep.1
+ de/xzless.1
+ de/xzmore.1
+ # sys-apps/shadow
+ {de,nl,pl}/groups.1
+ de/su.1
+ # sys-process/procps
+ {de,fr,pl}/free.1
+ {de,fr}/pgrep.1
+ {de,fr}/pmap.1
+ {de,fr,pl}/ps.1
+ {de,fr}/pwdx.1
+ {de,fr}/tload.1
+ {de,fr,pl}/uptime.1
+ {de,fr}/sysctl.conf.5
+ {de,fr}/sysctl.8
+ {de,fr}/vmstat.8
+ # sys-process/psmisc
+ {de,nl,pl}/fuser.1
+ {de,pl}/killall.1
+ de/peekfd.1
+ de/prtstat.1
+ de/pslog.1
+ {de,pl}/pstree.1
+ )
+ printf '%s\n' "${noinst_manpages[@]}" \
+ | sed 's%^\(.*\)/\(.*\)\.\(.*\)$%po/\1/man\3/\2.\3.po%' | xargs rm
+ assert
+}
+
+src_configure() {
+ econf --enable-compression=none
+}