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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D94E158041 for ; Fri, 12 Apr 2024 15:26:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC4AEE29EE; Fri, 12 Apr 2024 15:26:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BA1B7E29EE for ; Fri, 12 Apr 2024 15:26:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 00546343328 for ; Fri, 12 Apr 2024 15:26:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68358B27 for ; Fri, 12 Apr 2024 15:26:37 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1712935585.f139d0355f2b84996a35563fdc54f7b378a9515b.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/man-pages-ja/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-i18n/man-pages-ja/man-pages-ja-20180315-r1.ebuild app-i18n/man-pages-ja/man-pages-ja-20180315-r2.ebuild X-VCS-Directories: app-i18n/man-pages-ja/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: f139d0355f2b84996a35563fdc54f7b378a9515b X-VCS-Branch: master Date: Fri, 12 Apr 2024 15:26:37 +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: 3952116f-b1ed-4fe2-a547-fb24f6a73d0f X-Archives-Hash: c979e0b8c64db8ccd13ca703593d426a commit: f139d0355f2b84996a35563fdc54f7b378a9515b Author: Arthur Zamarin gentoo org> AuthorDate: Fri Apr 12 15:23:02 2024 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Apr 12 15:26:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f139d035 app-i18n/man-pages-ja: EAPI8 Signed-off-by: Arthur Zamarin gentoo.org> ...5-r1.ebuild => man-pages-ja-20180315-r2.ebuild} | 35 +++++++++------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/app-i18n/man-pages-ja/man-pages-ja-20180315-r1.ebuild b/app-i18n/man-pages-ja/man-pages-ja-20180315-r2.ebuild similarity index 78% rename from app-i18n/man-pages-ja/man-pages-ja-20180315-r1.ebuild rename to app-i18n/man-pages-ja/man-pages-ja-20180315-r2.ebuild index a61c9490411a..ba2f16849e9e 100644 --- a/app-i18n/man-pages-ja/man-pages-ja-20180315-r1.ebuild +++ b/app-i18n/man-pages-ja/man-pages-ja-20180315-r2.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 + GENTOO_MAN_P="portage-${PN}-20060415" -DESCRIPTION="A collection of manual pages translated into Japanese" +DESCRIPTION="Collection of manual pages translated into Japanese" HOMEPAGE="http://linuxjm.osdn.jp/ https://github.com/hattya/portage-man-pages-ja" SRC_URI="http://linuxjm.osdn.jp/${P}.tar.gz https://dev.gentoo.org/~hattya/distfiles/${GENTOO_MAN_P}.tar.gz" @@ -12,12 +13,10 @@ SRC_URI="http://linuxjm.osdn.jp/${P}.tar.gz LICENSE="GPL-2+ GPL-2 LGPL-2+ LGPL-2 BSD MIT ISC HPND FDL-1.1+ LDP-1 LDP-1a man-pages Texinfo-manual" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="" RDEPEND="virtual/man" src_prepare() { - sed -i -e "/^\(man\|shadow\)/s:Y:N:" script/pkgs.list || die # remove man pages that are provided by other packages. @@ -41,24 +40,21 @@ src_compile() { } src_install() { - local x y z pkg - for x in $(tac script/pkgs.list | grep -v '^[#].*'); do - if [[ -z "$pkg" ]]; then - pkg=$x + if [[ -z ${pkg} ]]; then + pkg=${x} continue fi - if [[ "$x" == "N" ]]; then + if [[ ${x} == "N" ]]; then pkg= continue fi - einfo "install $pkg" - - for y in $(ls -d manual/$pkg/man* 2>/dev/null); do - doman -i18n=ja $y/* + einfo "install ${pkg}" + for y in $(ls -d manual/${pkg}/man* 2>/dev/null); do + doman -i18n=ja ${y}/* done pkg= @@ -69,21 +65,19 @@ src_install() { cd "${WORKDIR}"/${GENTOO_MAN_P} for x in *; do - if [ -d "$x" ]; then - einfo "install $x" + if [[ -d ${x} ]]; then + einfo "install ${x}" - for z in $(for y in $x/*.[1-9]; do echo ${y##*.}; done | sort | uniq); do - doman -i18n=ja $x/*.$z + for z in $(for y in ${x}/*.[1-9]; do echo ${y##*.}; done | sort -u); do + doman -i18n=ja ${x}/*.${z} done fi done newdoc ChangeLog ChangeLog.GentooJP - } pkg_postinst() { - echo elog "JM (Japanese Manual) project has used utf8 encoding" elog "since 2012/04." @@ -93,5 +87,4 @@ pkg_postinst() { elog "\tLANG=\"ja_JP.utf8\"" elog "\texport LANG" echo - }