Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/man-pages-de/
Date: Sat, 02 Mar 2019 11:13:16
Message-Id: 1551525184.196a50e3450c35a472d5d8552f4a7dec8e37179f.polynomial-c@gentoo
1 commit: 196a50e3450c35a472d5d8552f4a7dec8e37179f
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 2 11:12:12 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 2 11:13:04 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=196a50e3
7
8 app-i18n/man-pages-de: Bump to version 2.12
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-i18n/man-pages-de/Manifest | 1 +
14 app-i18n/man-pages-de/man-pages-de-2.12.ebuild | 80 ++++++++++++++++++++++++++
15 2 files changed, 81 insertions(+)
16
17 diff --git a/app-i18n/man-pages-de/Manifest b/app-i18n/man-pages-de/Manifest
18 index d2fe7572e1a..4c5ee978ba9 100644
19 --- a/app-i18n/man-pages-de/Manifest
20 +++ b/app-i18n/man-pages-de/Manifest
21 @@ -2,4 +2,5 @@ DIST manpages-de-1.15.tar.xz 1529576 BLAKE2B 600d9c186ffa46fd1db110c3889abc44bb6
22 DIST manpages-de-1.21.tar.xz 1585600 BLAKE2B f2364e0b5fc1ca8ce8f5eb7fa5987d1bc68b1f8f2c1a26240d5cabd03eb5bb094f0d63274c7208059a766498f5f20ca7ccab72a9d4847057aae3b7d6697018e7 SHA512 24cc36e8e9c2efb8cd2a0c374a3f5da96f6645a306082cc28aae5933081f7de24bac03652f690a2becd32a23a93c17ddd9029190c299dda95eeb25f49b327fac
23 DIST manpages-de-2.3.tar.xz 7016372 BLAKE2B 3b89049d11bfd539e9114de38198f610145972068c9cec1da1b6398fb1d3e846b112ca0336891c1782a6fb142f397ac472ad78be0596503377318bfe65ec68d2 SHA512 abc3574c4a315d86b4fcccb25d617851c1ff43844fc7b1b92d7849a098280a96ab73d4986047fe6bb18e8f11d391182370eff9db476e0dd2021d0725b4e945eb
24 DIST manpages-de-v2.10.tar.bz2 18037944 BLAKE2B 7f2ec07e4b4b13adfb93c00827ae56cb82c2158de2a59bca729e5fe5bbe1f9a60c39712c52ae8b5856eb55288b1b562fd320473ed94f443e252df80a909df08b SHA512 d74b62903061f5af939c8e5a5f48906fecd2956d9291be54cb00041f3c964c769159989fba888ddfb41e167b5342b7b71d2dcc7b58f1b1453836b24bb9121f26
25 +DIST manpages-de-v2.12.tar.bz2 10242050 BLAKE2B fa497a6fce2c2387dad2ab9443584174d8d5fab530b94e0123e71286c588cb3a2e52aa96760dbfd6545bed013c460e1bf61eb4a5af0673bb84c1c0f0c960a357 SHA512 548d3dd500ce1eadc71365119e35072b71e3fbe36eba664d992e94897f442fb93f9397053f72363f83dff2e931d93e2af995976736d8513d11d7c42bdb471862
26 DIST manpages-de-v2.5.tar.bz2 8744190 BLAKE2B 06b9f970e652892edda6079bd4b912b2272652b5060a0d7a7c3dcd074f2ac71730800a077b7aa4d5175fb44723a60642e39c1bf81ecc731dcadb0ab703461df9 SHA512 3bf5f794ec9a1036f0fdcbea6afc03fd845f42b83c928116e4f47980060b3dcedfb25cd4330a60cc3da7f573d73a50e61ccb6a681979fcc6bfb63b882de1fd20
27
28 diff --git a/app-i18n/man-pages-de/man-pages-de-2.12.ebuild b/app-i18n/man-pages-de/man-pages-de-2.12.ebuild
29 new file mode 100644
30 index 00000000000..824cbd2c4b4
31 --- /dev/null
32 +++ b/app-i18n/man-pages-de/man-pages-de-2.12.ebuild
33 @@ -0,0 +1,80 @@
34 +# Copyright 1999-2019 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit autotools
40 +
41 +MY_P="${PN/-/}-v${PV}"
42 +
43 +DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations"
44 +HOMEPAGE="https://salsa.debian.org/manpages-de-team/manpages-de"
45 +SRC_URI="https://salsa.debian.org/manpages-de-team/manpages-de/-/archive/v${PV}/${MY_P}.tar.bz2"
46 +
47 +LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
50 +IUSE=""
51 +
52 +RDEPEND="virtual/man"
53 +BDEPEND="app-text/po4a"
54 +
55 +S="${WORKDIR}/${MY_P}"
56 +
57 +src_prepare() {
58 + default
59 +
60 + sed '/gzip --best/d' -i po/Makefile.am || die
61 +
62 + # sys-apps/shadow has it's own translated man-page for this
63 + local manpage
64 + local noinst_manpages=(
65 + upstream/debian-unstable/man1/groups.1
66 + po/man1/groups.1.po
67 + po/man1/su.1.po
68 + )
69 + for manpage in ${noinst_manpages[@]} ; do
70 + rm "${manpage}" || die
71 + done
72 +
73 + # Use the same compression as every other manpage
74 + local PORTAGE_COMPRESS_LOCAL=${PORTAGE_COMPRESS-bzip2}
75 + local PORTAGE_COMPRESS_FLAGS_LOCAL=${PORTAGE_COMPRESS_FLAGS}
76 + if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
77 + case ${PORTAGE_COMPRESS_LOCAL} in
78 + bzip2|gzip)
79 + PORTAGE_COMPRESS_FLAGS_LOCAL="-9"
80 + ;;
81 + esac
82 + fi
83 +
84 + # Fix source files for symlinks
85 + local LINKSOURCE
86 + case ${PORTAGE_COMPRESS_LOCAL} in
87 + bzip2)
88 + for LINKSOURCE in upstream/*/links.txt ; do
89 + sed -i -e 's/\.gz/\.bz2/g' "${LINKSOURCE}" || die
90 + done
91 + ;;
92 + gzip)
93 + # pass
94 + ;;
95 + xz)
96 + for LINKSOURCE in upstream/*/links.txt ; do
97 + sed -i -e 's/\.gz/\.xz/g' "${LINKSOURCE}" || die
98 + done
99 + ;;
100 + *)
101 + ewarn "Unexpected compression command ${PORTAGE_COMPRESS} found, symlinks will not work."
102 + ;;
103 + esac
104 +
105 + eautoreconf
106 +}
107 +
108 +src_compile() { :; }
109 +
110 +src_install() {
111 + emake mandir="${ED}"/usr/share/man install
112 + dodoc CHANGES.md README.md
113 +}