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 B4E5D138350 for ; Fri, 20 Mar 2020 12:36:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01476E0B7D; Fri, 20 Mar 2020 12:36:00 +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 C72BAE0B7D for ; Fri, 20 Mar 2020 12:35:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 979B034F0E0 for ; Fri, 20 Mar 2020 12:35:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0A32187 for ; Fri, 20 Mar 2020 12:35:54 +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: <1584707746.f80348d830c30e27ae2facd880ca1c2e422e8643.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.0.0.ebuild app-i18n/man-pages-l10n/metadata.xml X-VCS-Directories: app-i18n/man-pages-l10n/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: f80348d830c30e27ae2facd880ca1c2e422e8643 X-VCS-Branch: master Date: Fri, 20 Mar 2020 12:35:54 +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: 226144db-33ec-4fe4-83b1-065b0031f946 X-Archives-Hash: cc38f60fced1ca63c9d5436ec3ebff86 commit: f80348d830c30e27ae2facd880ca1c2e422e8643 Author: Ulrich Müller gentoo org> AuthorDate: Fri Mar 20 10:48:07 2020 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Mar 20 12:35:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80348d8 app-i18n/man-pages-l10n: Initial import. This replaces man-pages-{de,fr,pl} which have been merged upstream, as well as man-pages-nl which is dead upstream (last release in 2001, homepage is gone). Ebuild copied from man-pages-de-2.16.ebuild and heavily modified. Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Ulrich Müller gentoo.org> app-i18n/man-pages-l10n/Manifest | 1 + .../man-pages-l10n/man-pages-l10n-4.0.0.ebuild | 66 ++++++++++++++++++++++ app-i18n/man-pages-l10n/metadata.xml | 8 +++ 3 files changed, 75 insertions(+) diff --git a/app-i18n/man-pages-l10n/Manifest b/app-i18n/man-pages-l10n/Manifest new file mode 100644 index 00000000000..97c19d4fbeb --- /dev/null +++ b/app-i18n/man-pages-l10n/Manifest @@ -0,0 +1 @@ +DIST manpages-l10n-v4.0.0.tar.bz2 34796889 BLAKE2B 6413278ab2c9482ffdd2cf6ef1f4c6e05f2f1d7be8c8d556cb137ca4c5c2d6297f9547725f3afcf8023478c05e41d99d595a0b5a44da0d0188ed0287c630e5b6 SHA512 9c83363ffaa9ff9015934869623958594e64f1cbb52367dd8274425a5cb45dac06109d231fd7f165eb35248b4229f3bbf252a6a4630e7d5a47edbf41d4a646a9 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 new file mode 100644 index 00000000000..72957af67ea --- /dev/null +++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.0.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 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 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +# omit pt-BR and ro for now, because they each install only two man pages +MY_L10N=(de fr nl pl) +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() { + echo "*** IUSE=${IUSE}" + echo "*** REQUIRED_USE=${REQUIRED_USE}" + 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/xzdiff.1 + de/xzgrep.1 + de/xzless.1 + de/xzmore.1 + # sys-apps/shadow + {de,pl}/groups.1 + de/su.1 + # sys-process/procps + {de,pl}/free.1 + {de,fr}/pgrep.1 + {de,fr}/pmap.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 +} diff --git a/app-i18n/man-pages-l10n/metadata.xml b/app-i18n/man-pages-l10n/metadata.xml new file mode 100644 index 00000000000..7fccbc10bd1 --- /dev/null +++ b/app-i18n/man-pages-l10n/metadata.xml @@ -0,0 +1,8 @@ + + + + + ulm@gentoo.org + + +