Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/man-pages-de/
Date: Wed, 17 Oct 2018 21:38:53
Message-Id: 1539812300.7f7cdada5c919e34bd0f159592ea3f7e1d07a69a.vdupras@gentoo
1 commit: 7f7cdada5c919e34bd0f159592ea3f7e1d07a69a
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 17 21:37:37 2018 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 17 21:38:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f7cdada
7
8 app-i18n/man-pages-de: bump to 2.5
9
10 Reported-By: Markus Oehme
11 Closes: https://bugs.gentoo.org/654858
12 Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
13 Package-Manager: Portage-2.3.51, Repoman-2.3.11
14
15 app-i18n/man-pages-de/Manifest | 1 +
16 app-i18n/man-pages-de/man-pages-de-2.5.ebuild | 56 +++++++++++++++++++++++++++
17 2 files changed, 57 insertions(+)
18
19 diff --git a/app-i18n/man-pages-de/Manifest b/app-i18n/man-pages-de/Manifest
20 index 886fc7d44dc..8871e42cada 100644
21 --- a/app-i18n/man-pages-de/Manifest
22 +++ b/app-i18n/man-pages-de/Manifest
23 @@ -1,3 +1,4 @@
24 DIST manpages-de-1.15.tar.xz 1529576 BLAKE2B 600d9c186ffa46fd1db110c3889abc44bb6ccb6847ed8385c461c7fa696f5a9e8a65233d1290ae9d1e9eb26694e8769aa35983f07205a0e7e57c9b0c14c7d7bc SHA512 d1f1b9f60c4713d6be650e21b7664ff594dbd542b53148c00d1a2269413d39615dd76be4c4095eeb72e2598b94af134ca5d128b85d9520a1ac404364b8a53948
25 DIST manpages-de-1.21.tar.xz 1585600 BLAKE2B f2364e0b5fc1ca8ce8f5eb7fa5987d1bc68b1f8f2c1a26240d5cabd03eb5bb094f0d63274c7208059a766498f5f20ca7ccab72a9d4847057aae3b7d6697018e7 SHA512 24cc36e8e9c2efb8cd2a0c374a3f5da96f6645a306082cc28aae5933081f7de24bac03652f690a2becd32a23a93c17ddd9029190c299dda95eeb25f49b327fac
26 DIST manpages-de-2.3.tar.xz 7016372 BLAKE2B 3b89049d11bfd539e9114de38198f610145972068c9cec1da1b6398fb1d3e846b112ca0336891c1782a6fb142f397ac472ad78be0596503377318bfe65ec68d2 SHA512 abc3574c4a315d86b4fcccb25d617851c1ff43844fc7b1b92d7849a098280a96ab73d4986047fe6bb18e8f11d391182370eff9db476e0dd2021d0725b4e945eb
27 +DIST manpages-de-v2.5.tar.bz2 8744190 BLAKE2B 06b9f970e652892edda6079bd4b912b2272652b5060a0d7a7c3dcd074f2ac71730800a077b7aa4d5175fb44723a60642e39c1bf81ecc731dcadb0ab703461df9 SHA512 3bf5f794ec9a1036f0fdcbea6afc03fd845f42b83c928116e4f47980060b3dcedfb25cd4330a60cc3da7f573d73a50e61ccb6a681979fcc6bfb63b882de1fd20
28
29 diff --git a/app-i18n/man-pages-de/man-pages-de-2.5.ebuild b/app-i18n/man-pages-de/man-pages-de-2.5.ebuild
30 new file mode 100644
31 index 00000000000..d8f50681b5e
32 --- /dev/null
33 +++ b/app-i18n/man-pages-de/man-pages-de-2.5.ebuild
34 @@ -0,0 +1,56 @@
35 +# Copyright 1999-2018 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=6
39 +
40 +inherit autotools
41 +
42 +MY_P="${PN/-/}-v${PV}"
43 +
44 +DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations"
45 +HOMEPAGE="https://salsa.debian.org/manpages-de-team/manpages-de"
46 +SRC_URI="https://salsa.debian.org/manpages-de-team/manpages-de/-/archive/v${PV}/${MY_P}.tar.bz2"
47 +
48 +LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD"
49 +SLOT="0"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
51 +IUSE=""
52 +
53 +RDEPEND="virtual/man"
54 +DEPEND="app-text/po4a"
55 +
56 +S=${WORKDIR}/${MY_P}
57 +
58 +src_unpack() {
59 + default
60 +
61 + # sys-apps/shadow has it's own translated man-page for this
62 + rm "${S}/upstream/primary/man1/groups.1" || die
63 + rm "${S}/po/primary/man1/groups.1.po" || die
64 +}
65 +
66 +src_prepare() {
67 + default
68 +
69 + # Use the same compression as every other manpage
70 + local PORTAGE_COMPRESS_LOCAL=${PORTAGE_COMPRESS-bzip2}
71 + if [[ ${PORTAGE_COMPRESS+set} == "set" ]] ; then
72 + PORTAGE_COMPRESS_LOCAL="#"
73 + fi
74 + if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
75 + case ${PORTAGE_COMPRESS_LOCAL} in
76 + bzip2|gzip) local PORTAGE_COMPRESS_FLAGS_LOCAL="-9"
77 + ;;
78 + esac
79 + fi
80 + sed -i -e "s/gzip --best/${PORTAGE_COMPRESS_LOCAL} ${PORTAGE_COMPRESS_FLAGS_LOCAL}/"\
81 + po/Makefile.in || die
82 + eautoreconf
83 +}
84 +
85 +src_compile() { :; }
86 +
87 +src_install() {
88 + emake mandir="${ED}"/usr/share/man install
89 + dodoc CHANGES.md README.md
90 +}