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, 06 Feb 2021 15:32:58
Message-Id: 1612624957.9d52801f94537fcb7fbbf9b6b2c8575df13ad5e2.polynomial-c@gentoo
1 commit: 9d52801f94537fcb7fbbf9b6b2c8575df13ad5e2
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 6 15:22:37 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 6 15:22:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d52801f
7
8 sys-apps/help2man: Bump to version 1.48.1
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-apps/help2man/Manifest | 1 +
14 sys-apps/help2man/help2man-1.48.1.ebuild | 41 ++++++++++++++++++++++++++++++++
15 2 files changed, 42 insertions(+)
16
17 diff --git a/sys-apps/help2man/Manifest b/sys-apps/help2man/Manifest
18 index 694b96ff58e..e53f9d5c40a 100644
19 --- a/sys-apps/help2man/Manifest
20 +++ b/sys-apps/help2man/Manifest
21 @@ -1,2 +1,3 @@
22 DIST help2man-1.47.16.tar.xz 203036 BLAKE2B 8e06c2c2e90adfc2ab8345908516b15ae50b02a7a9554d5d9beee4373b71c131aeaa0c148b9a988c531bbfe2149c25069af56a79101a4248b6c1adfeb734a132 SHA512 b427e60a9e3d2e805caf1ae84c337b09c7ca6f92b7ff14771f946c4a1bf7adf177df99b9c1c223ad76df99756005ababf5b548ff8e08d4746702ff7f8150b544
23 DIST help2man-1.47.17.tar.xz 211476 BLAKE2B 67b1ccd4b6b66510a2fff424663bc2051e49e93c37c7e2a2b4631f3781d3773a97fd1773f96ca5ca2ba644bcd79ae35338931eff857ce199a847cc312d778b0e SHA512 185cd04aa6db6d8a4c898b61ad6a0aded7775659c7f02244b45927310eb3f8cd932fe9dd725ccac3e793aa22c656338b5d16f291f3a0420ed121681d4a4bac25
24 +DIST help2man-1.48.1.tar.xz 210500 BLAKE2B 9993e1f0c1102025f80fb64fa1afe31efe982ef54c9d5ff88bed9038bcfe1f4d5624737e0953abeb252df78cf92a645bbbd8f3b44939d70a2b50494c22110991 SHA512 506e7a0e6571facc570df57b875d6d6b911b281b38af1831d3a058a6de658c3656e3a5be970fa3d89c053ab6eafd4853527512b48524ceeff6da60f946f1ecef
25
26 diff --git a/sys-apps/help2man/help2man-1.48.1.ebuild b/sys-apps/help2man/help2man-1.48.1.ebuild
27 new file mode 100644
28 index 00000000000..2f5c10989e9
29 --- /dev/null
30 +++ b/sys-apps/help2man/help2man-1.48.1.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 +}