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