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: sys-apps/help2man/
Date: Sat, 04 Jan 2020 12:01:18
Message-Id: 1578139269.259b05b5f3ee337f4c2619e69e621a59af365d67.polynomial-c@gentoo
1 commit: 259b05b5f3ee337f4c2619e69e621a59af365d67
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 4 12:00:58 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 4 12:01:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=259b05b5
7
8 sys-apps/help2man: Bump to version 1.47.12
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-apps/help2man/Manifest | 1 +
14 sys-apps/help2man/help2man-1.47.12.ebuild | 41 +++++++++++++++++++++++++++++++
15 2 files changed, 42 insertions(+)
16
17 diff --git a/sys-apps/help2man/Manifest b/sys-apps/help2man/Manifest
18 index 435937302c5..2d74e1e0dfb 100644
19 --- a/sys-apps/help2man/Manifest
20 +++ b/sys-apps/help2man/Manifest
21 @@ -1,2 +1,3 @@
22 DIST help2man-1.47.10.tar.xz 202176 BLAKE2B 57c19072b1fb696b8ae1fc269d4c44672e692b45f1afe91871621dbed008298154d94813711b8ab89a9ad2e9fffa5ba1e738a613e5e50681b0abea4bfcc92677 SHA512 071383f38fb5264137200439a460e70298fc23d88069a96f150bf50a4e2a08d1d5d29555053b0ea36c809eec8484c4432b55d7d0bddd68f33b07b1abb97556ff
23 DIST help2man-1.47.11.tar.xz 202312 BLAKE2B 6baba7fb28f2b28aba8a05eb5df0a8596918767cf43d730052e0bae9293a4a27f207136c22cad246ca7220fb639fabce3bb135edf4e84f866f1ea9b0af26f41d SHA512 786a6bd4336c591cfeb0b4f2dc1429f6545e36514e7b238453c91368b8f531c46db2be025f02dc52e6dd8b971d6edbb4ff1a8e1b519f9253a3957ad7157790be
24 +DIST help2man-1.47.12.tar.xz 202252 BLAKE2B 6a474d62999b2fe6750a0ec7662b9b33546d82ce72edd628f41008243cd3467cad783516d5ad06edb37f471a2aaefd837bd9957a7fd10b6e3c3b6dd33398b79b SHA512 fb71e48e4a7a0f4316148295ea539b667a131149f4467da0f3e283389c9d9f2a5f1e9124ca8d64d6c3250d332a713d4e8de204ca9e7088840e74f316fa5221be
25
26 diff --git a/sys-apps/help2man/help2man-1.47.12.ebuild b/sys-apps/help2man/help2man-1.47.12.ebuild
27 new file mode 100644
28 index 00000000000..a2e138b9d74
29 --- /dev/null
30 +++ b/sys-apps/help2man/help2man-1.47.12.ebuild
31 @@ -0,0 +1,41 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +DESCRIPTION="GNU utility to convert program --help output to a man page"
38 +HOMEPAGE="https://www.gnu.org/software/help2man/"
39 +SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
40 +
41 +LICENSE="GPL-3"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
44 +IUSE="nls"
45 +
46 +RDEPEND="dev-lang/perl
47 + nls? ( dev-perl/Locale-gettext )"
48 +DEPEND="${RDEPEND}"
49 +
50 +DOCS=( debian/changelog NEWS README THANKS ) #385753
51 +
52 +PATCHES=(
53 + "${FILESDIR}"/${PN}-1.46.1-linguas.patch
54 +)
55 +
56 +src_prepare() {
57 + if [[ ${CHOST} == *-darwin* ]] ; then
58 + sed -i \
59 + -e 's/-shared/-bundle/' \
60 + Makefile.in || die
61 + fi
62 + default
63 +}
64 +
65 +src_configure() {
66 + # Disable gettext requirement as the release includes the gmo files #555018
67 + local myeconfargs=(
68 + ac_cv_path_MSGFMT=$(type -P false)
69 + $(use_enable nls)
70 + )
71 + econf "${myeconfargs[@]}"
72 +}