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: Wed, 31 Mar 2021 15:03:13
Message-Id: 1617202982.8fe27aa36a27ec17043a8975e5776feee3e030f7.polynomial-c@gentoo
1 commit: 8fe27aa36a27ec17043a8975e5776feee3e030f7
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 31 15:02:33 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 31 15:03:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe27aa3
7
8 sys-apps/help2man: Bump to version 1.48.3
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 sys-apps/help2man/Manifest | 1 +
13 sys-apps/help2man/help2man-1.48.3.ebuild | 41 ++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/sys-apps/help2man/Manifest b/sys-apps/help2man/Manifest
17 index 79054124097..c4064c0dbf6 100644
18 --- a/sys-apps/help2man/Manifest
19 +++ b/sys-apps/help2man/Manifest
20 @@ -1,3 +1,4 @@
21 DIST help2man-1.47.17.tar.xz 211476 BLAKE2B 67b1ccd4b6b66510a2fff424663bc2051e49e93c37c7e2a2b4631f3781d3773a97fd1773f96ca5ca2ba644bcd79ae35338931eff857ce199a847cc312d778b0e SHA512 185cd04aa6db6d8a4c898b61ad6a0aded7775659c7f02244b45927310eb3f8cd932fe9dd725ccac3e793aa22c656338b5d16f291f3a0420ed121681d4a4bac25
22 DIST help2man-1.48.1.tar.xz 210500 BLAKE2B 9993e1f0c1102025f80fb64fa1afe31efe982ef54c9d5ff88bed9038bcfe1f4d5624737e0953abeb252df78cf92a645bbbd8f3b44939d70a2b50494c22110991 SHA512 506e7a0e6571facc570df57b875d6d6b911b281b38af1831d3a058a6de658c3656e3a5be970fa3d89c053ab6eafd4853527512b48524ceeff6da60f946f1ecef
23 DIST help2man-1.48.2.tar.xz 210304 BLAKE2B ea13932ae4d181be6f08720f402e4fdedfd0b88eb9c2f3b6201a2c0893846ea5fb777423f010551c375758deb81f564128b4ebdef04f6a54eb6ba50e1311c351 SHA512 ddd3bde5b9b0e84e21cc03dec713469562b02aac7f4b465fbf18844fc9534e8975ec41f44474fcf1b06816eb9b4e0578eb974a6c9712b6f099d7be813f6d7528
24 +DIST help2man-1.48.3.tar.xz 211504 BLAKE2B 407cc87b1238242c202d37c0c4cd394e0efba95759b86a88026aef7c05d6a097d1946614547ebfab45f7fe0c1ddd057724234629246d32e94862c3d633b78c31 SHA512 e000e7380604c0986b14cb64b852d55eff48595884bddd389e876056dde6ce72b37aa16d92230e6f8f6e128003b819954bae4aa90933a58b51d3665d3c0ba356
25
26 diff --git a/sys-apps/help2man/help2man-1.48.3.ebuild b/sys-apps/help2man/help2man-1.48.3.ebuild
27 new file mode 100644
28 index 00000000000..2f5c10989e9
29 --- /dev/null
30 +++ b/sys-apps/help2man/help2man-1.48.3.ebuild
31 @@ -0,0 +1,41 @@
32 +# Copyright 1999-2021 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 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~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 +}