Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/man-pages-ja/
Date: Wed, 14 Feb 2018 22:59:42
Message-Id: 1518649166.4b4be0f320c864c690136b727abd94ebeadf85a3.dilfridge@gentoo
1 commit: 4b4be0f320c864c690136b727abd94ebeadf85a3
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 14 22:55:05 2018 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 14 22:59:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b4be0f3
7
8 app-i18n/man-pages-ja: Remove old
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 app-i18n/man-pages-ja/Manifest | 1 -
13 app-i18n/man-pages-ja/man-pages-ja-20130215.ebuild | 92 ----------------------
14 2 files changed, 93 deletions(-)
15
16 diff --git a/app-i18n/man-pages-ja/Manifest b/app-i18n/man-pages-ja/Manifest
17 index a704276659e..07dc6126659 100644
18 --- a/app-i18n/man-pages-ja/Manifest
19 +++ b/app-i18n/man-pages-ja/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST man-pages-ja-20130215.tar.gz 4384182 BLAKE2B eb6a4be0a53763776b629369028eeae96f472a8dcb0752559d124cbffc7b18a5d939fe6e37d05c1162aeec79701c63fe1602754f260edbb281cd543144d98c77 SHA512 655e9481dfdfc619013f8cae2928d7ccd70bba31631f7b10b894b1d96ab64bae4846be68d8a633791f1c169faed6d42466bd60ee4d7f92031f596d8f23cb6138
22 DIST man-pages-ja-20171215.tar.gz 4802604 BLAKE2B 24ded9e82f20df322fa7e96a05806f37f26796475f64e2b075a60b60762e4b331c96e82e0582896da323a643070779204fb50eb8e68156ba2e74a1a41649f10e SHA512 8cef4489e3210c2e30fd880c1639aaf314005c7f3987001677cd869924275cbf9df27fdc855cba9d887e5a185da72779167227a68a080d370b233bcd4eca4d30
23 DIST portage-man-pages-ja-20060415.tar.gz 67347 BLAKE2B 77be89a79be1d4fc3c09cd7c74cd8ccfd18649cdf0121daec008b21114c5a77618a88f4abed266599b944aa5bf11fe55c5b6e89fbba51ebe2a548eb85d9a2c6d SHA512 37364cdcb27b460663bdae31fea1ac653317ba4d928a5325c51814eb1677d7d9fb9bcc55cf64d63a8e6daaefa34d8604e0efe3582308957397cad31325a6eaad
24
25 diff --git a/app-i18n/man-pages-ja/man-pages-ja-20130215.ebuild b/app-i18n/man-pages-ja/man-pages-ja-20130215.ebuild
26 deleted file mode 100644
27 index 18dd7e540c6..00000000000
28 --- a/app-i18n/man-pages-ja/man-pages-ja-20130215.ebuild
29 +++ /dev/null
30 @@ -1,92 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI="3"
35 -GENTOO_MAN_P="portage-${PN}-20060415"
36 -
37 -DESCRIPTION="A collection of manual pages translated into Japanese"
38 -HOMEPAGE="http://linuxjm.sourceforge.jp/ http://www.gentoo.gr.jp/jpmain/translation.xml"
39 -SRC_URI="http://linuxjm.sourceforge.jp/${P}.tar.gz
40 - https://dev.gentoo.org/~hattya/distfiles/${GENTOO_MAN_P}.tar.gz"
41 -
42 -LICENSE="GPL-2+ GPL-2 LGPL-2+ LGPL-2 BSD MIT ISC HPND FDL-1.1+ LDP-1 LDP-1a man-pages Texinfo-manual"
43 -SLOT="0"
44 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86"
45 -IUSE=""
46 -
47 -RDEPEND="virtual/man"
48 -
49 -src_prepare() {
50 -
51 - sed -i -e "/^\(man\|shadow\)/s:Y:N:" script/pkgs.list || die
52 -
53 - # remove man pages that are provided by other packages.
54 - # - sys-apps/shadow +nls
55 - rm -f manual/*/man1/{chfn,chsh,newgrp,su,passwd,groups}.1 || die
56 - rm -f manual/*/man8/{vigr,vipw}.8 || die
57 - # - app-arch/rpm +nls
58 - rm -f manual/rpm/man8/rpm*.8 || die
59 -
60 - for f in manual/*/man8/ld{,-linux}.so.8 ; do
61 - mv ${f} ${f/.so.8/.so.ja.8} || die
62 - done
63 - mv "${WORKDIR}"/${GENTOO_MAN_P}/portage/g-cpan.pl{,.ja}.1 || die
64 -}
65 -
66 -src_compile() {
67 - :
68 -}
69 -
70 -src_install() {
71 -
72 - local x y z pkg
73 -
74 - for x in $(tac script/pkgs.list | grep -v '^[#].*'); do
75 - if [[ -z "$pkg" ]]; then
76 - pkg=$x
77 - continue
78 - fi
79 -
80 - if [[ "$x" == "N" ]]; then
81 - pkg=
82 - continue
83 - fi
84 -
85 - einfo "install $pkg"
86 -
87 - for y in $(ls -d manual/$pkg/man* 2>/dev/null); do
88 - doman -i18n=ja $y/*
89 - done
90 -
91 - pkg=
92 - done
93 -
94 - dodoc README || die
95 -
96 - cd "${WORKDIR}"/${GENTOO_MAN_P}
97 -
98 - for x in *; do
99 - if [ -d "$x" ]; then
100 - einfo "install $x"
101 -
102 - for z in $(for y in $x/*.[1-9]; do echo ${y##*.}; done | sort | uniq); do
103 - doman -i18n=ja $x/*.$z
104 - done
105 - fi
106 - done
107 -
108 - newdoc ChangeLog ChangeLog.GentooJP || die
109 -
110 -}
111 -
112 -pkg_postinst() {
113 -
114 - echo
115 - elog "You need to set appropriate LANG variables to use"
116 - elog "Japanese manpages."
117 - elog "e.g."
118 - elog "\tLANG=\"ja_JP.eucJP\""
119 - elog "\texport LANG"
120 - echo
121 -
122 -}