From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A7C251382C5 for ; Sat, 6 Feb 2021 18:33:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6580E07FE; Sat, 6 Feb 2021 18:33:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CDC6FE07FE for ; Sat, 6 Feb 2021 18:33:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8565F341035 for ; Sat, 6 Feb 2021 18:33:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0867946F for ; Sat, 6 Feb 2021 18:33:45 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1612636406.d4aa1e6014ad090ec01a5fb9e476e35070fb77eb.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/man-pages-l10n/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/man-pages-l10n/Manifest app-i18n/man-pages-l10n/man-pages-l10n-4.2.0.ebuild X-VCS-Directories: app-i18n/man-pages-l10n/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: d4aa1e6014ad090ec01a5fb9e476e35070fb77eb X-VCS-Branch: master Date: Sat, 6 Feb 2021 18:33:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b5c9ebfd-7de0-4337-b2fb-2a2c59552ebb X-Archives-Hash: fc50a5f16017b29683ee6273f869e0c6 commit: d4aa1e6014ad090ec01a5fb9e476e35070fb77eb Author: Ulrich Müller gentoo org> AuthorDate: Sat Feb 6 18:33:08 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 6 18:33:26 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4aa1e60 app-i18n/man-pages-l10n: Version bump to 4.2.0 Closes: https://bugs.gentoo.org/769002 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Ulrich Müller gentoo.org> app-i18n/man-pages-l10n/Manifest | 1 + .../man-pages-l10n/man-pages-l10n-4.2.0.ebuild | 71 ++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/app-i18n/man-pages-l10n/Manifest b/app-i18n/man-pages-l10n/Manifest index 97c19d4fbeb..3253992da59 100644 --- a/app-i18n/man-pages-l10n/Manifest +++ b/app-i18n/man-pages-l10n/Manifest @@ -1 +1,2 @@ DIST manpages-l10n-v4.0.0.tar.bz2 34796889 BLAKE2B 6413278ab2c9482ffdd2cf6ef1f4c6e05f2f1d7be8c8d556cb137ca4c5c2d6297f9547725f3afcf8023478c05e41d99d595a0b5a44da0d0188ed0287c630e5b6 SHA512 9c83363ffaa9ff9015934869623958594e64f1cbb52367dd8274425a5cb45dac06109d231fd7f165eb35248b4229f3bbf252a6a4630e7d5a47edbf41d4a646a9 +DIST manpages-l10n-v4.2.0.tar.bz2 51747352 BLAKE2B 97c3e3fdb11b47753c9c179751fb001af0a9f79324d594d297981735f82b3917bd31fc5c100462d6093e621a98773f23543548efb957113ade39e9c315cd4d72 SHA512 b2de542fdb97868b5fa96f24947c7a37216dc6a6a5ee66142023dd1036017f7128ca26ac8367b0edbd76cfa049174892749efafef9dbf4221e90dd9166b82652 diff --git a/app-i18n/man-pages-l10n/man-pages-l10n-4.2.0.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.2.0.ebuild new file mode 100644 index 00000000000..8e25070f8a7 --- /dev/null +++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.2.0.ebuild @@ -0,0 +1,71 @@ +# 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" +MY_L10N=(de es fr it 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_it? ( !app-i18n/man-pages-it ) + 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,nl,pl}/fuser.1 + {de,pl}/killall.1 + {de,fr}/pgrep.1 + {de,fr}/pmap.1 + de/peekfd.1 + de/prtstat.1 + de/pslog.1 + {de,pl}/pstree.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 + ) + printf '%s\n' "${noinst_manpages[@]}" \ + | sed 's%^\(.*\)/\(.*\)\.\(.*\)$%po/\1/man\3/\2.\3.po%' | xargs rm + assert +} + +src_configure() { + econf --enable-compression=none +}