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, 28 Feb 2018 16:35:55
Message-Id: 1519835738.ac3d92f566fb140140db8e15f13cb3f78c5c8a71.polynomial-c@gentoo
1 commit: ac3d92f566fb140140db8e15f13cb3f78c5c8a71
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 28 16:08:48 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 28 16:35:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3d92f5
7
8 sys-apps/help2man: Bump to version 1.47.6
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 sys-apps/help2man/Manifest | 1 +
13 sys-apps/help2man/help2man-1.47.6.ebuild | 39 ++++++++++++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/sys-apps/help2man/Manifest b/sys-apps/help2man/Manifest
17 index 9d5251604b3..66db5d47a21 100644
18 --- a/sys-apps/help2man/Manifest
19 +++ b/sys-apps/help2man/Manifest
20 @@ -1,3 +1,4 @@
21 DIST help2man-1.46.6.tar.xz 171044 BLAKE2B 41e5edddac3d7e9683b92aef2c5b1fc57c3a3684e13e17a58707bb2f332b4290841a80bd47913f9466e9d2cb02fcacaa515b4f4bb7053993988d599baff6256d SHA512 55bea01b80baf318e4350ee505bf67da9a7e76b7a5cbd861d0fd6e3afe47b82d1de8f1079d0df2f4ea8ec176d6ca95d5c847d8b1c118cf96ab59b06567c1204c
22 DIST help2man-1.47.4.tar.xz 189456 BLAKE2B 58bccbaa5f126b369683b6e051446242750e07274cbfbd6a4aeec2e8a9b57f2d845a2ddede36cc49eb2ed141690830b90f9a86ddd7c913586ea0f573e8cc3cf8 SHA512 3320890c4068086bff7a858653fb67ac80363f26772fb0bb702233052e2bcbe647e7b20b1a2246b1a0e026ba2aa8679e6baafe302d78c747da04e29c59b9bafd
23 DIST help2man-1.47.5.tar.xz 186044 BLAKE2B 288eeaab3781293209f4a6aeab570317e5ed9e2e76acf9a1669c767b627e3896936fba775e32f6016b7881b5747a51b5020c0ab4fc77030d1e27c15acab032f1 SHA512 c94f94bbdfb9e288edff2b3181e0f2e858d309aa4fe77cae141571a06b9b5bc2a5c5a4d25ffc1f9108222d56c9040989d63770f5d804323a52d3978059d1eca7
24 +DIST help2man-1.47.6.tar.xz 192980 BLAKE2B ddf2b899e4479a45505aefaf3dabfceb1595128da35c000b81be79046aabceff58e1d605b2797880c5c652947d0fe59673eaf087de911152e79768c571037a73 SHA512 d24849b93de58b20f518c071687e7bfa653a96600382f36c4cf7fc1047656458f75f093b911b786b18b6931b2453cb60868ecbe07cc7d2984e5981a874b34942
25
26 diff --git a/sys-apps/help2man/help2man-1.47.6.ebuild b/sys-apps/help2man/help2man-1.47.6.ebuild
27 new file mode 100644
28 index 00000000000..dfceeba86d7
29 --- /dev/null
30 +++ b/sys-apps/help2man/help2man-1.47.6.ebuild
31 @@ -0,0 +1,39 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
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 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-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 + econf \
68 + ac_cv_path_MSGFMT=$(type -P false) \
69 + $(use_enable nls)
70 +}