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: Sun, 22 Aug 2021 16:15:46
Message-Id: 1629648935.8a790d7865727a1ceaa83d7eeac1c85ca86cbbb3.polynomial-c@gentoo
1 commit: 8a790d7865727a1ceaa83d7eeac1c85ca86cbbb3
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 22 16:15:35 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 22 16:15:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a790d78
7
8 sys-apps/help2man: Bump to version 1.48.5
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.5.ebuild | 41 ++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/sys-apps/help2man/Manifest b/sys-apps/help2man/Manifest
17 index a0ceb60a77f..6febb956a14 100644
18 --- a/sys-apps/help2man/Manifest
19 +++ b/sys-apps/help2man/Manifest
20 @@ -1,2 +1,3 @@
21 DIST help2man-1.48.3.tar.xz 211504 BLAKE2B 407cc87b1238242c202d37c0c4cd394e0efba95759b86a88026aef7c05d6a097d1946614547ebfab45f7fe0c1ddd057724234629246d32e94862c3d633b78c31 SHA512 e000e7380604c0986b14cb64b852d55eff48595884bddd389e876056dde6ce72b37aa16d92230e6f8f6e128003b819954bae4aa90933a58b51d3665d3c0ba356
22 DIST help2man-1.48.4.tar.xz 204592 BLAKE2B 0625af5a0a65daeb459a7445ef6e5a8c9ddbac4ebad5c31134bfbbd5abdc1d05cd5e682d2d1f0d4df36de4fdbbbe22ac7bbbb2c1c5fca4d53ee0c6bfefd63dfb SHA512 fa3f3eabc6010a4a34dc108bfa3b9456b9ea66b343ff2913c32cd6da52ddcf3aa8cb9c05a8b14585f314198aa4ef6f1eebbb185b90a2fb923ab3b2ee7b5e57a9
23 +DIST help2man-1.48.5.tar.xz 204672 BLAKE2B 6d96f5f65f8c637d524e5c373f2b89f114adf544c1d3508a9cb51115279b9bf6399c8ebb0a8d831de12ef8cdaca40b6e75412a221efc5d2dd1794e9c9643196f SHA512 800eb0daa9daef8e423d52ede55eee2960122ea0269865295afada4cf4fcc1c6791da8429c3a57c0fc1bf0a14c8a77953952325413a8faa5dd07b1bc5bc0edd1
24
25 diff --git a/sys-apps/help2man/help2man-1.48.5.ebuild b/sys-apps/help2man/help2man-1.48.5.ebuild
26 new file mode 100644
27 index 00000000000..2f5c10989e9
28 --- /dev/null
29 +++ b/sys-apps/help2man/help2man-1.48.5.ebuild
30 @@ -0,0 +1,41 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +DESCRIPTION="GNU utility to convert program --help output to a man page"
37 +HOMEPAGE="https://www.gnu.org/software/help2man/"
38 +SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
39 +
40 +LICENSE="GPL-3"
41 +SLOT="0"
42 +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"
43 +IUSE="nls"
44 +
45 +RDEPEND="dev-lang/perl
46 + nls? ( dev-perl/Locale-gettext )"
47 +DEPEND="${RDEPEND}"
48 +
49 +DOCS=( debian/changelog NEWS README THANKS ) #385753
50 +
51 +PATCHES=(
52 + "${FILESDIR}"/${PN}-1.46.1-linguas.patch
53 +)
54 +
55 +src_prepare() {
56 + if [[ ${CHOST} == *-darwin* ]] ; then
57 + sed -i \
58 + -e 's/-shared/-bundle/' \
59 + Makefile.in || die
60 + fi
61 + default
62 +}
63 +
64 +src_configure() {
65 + # Disable gettext requirement as the release includes the gmo files #555018
66 + local myeconfargs=(
67 + ac_cv_path_MSGFMT=$(type -P false)
68 + $(use_enable nls)
69 + )
70 + econf "${myeconfargs[@]}"
71 +}