commit:     7e064a4b5fc8b661883849d71b850042100932ff
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  7 23:02:21 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec  7 23:02:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=7e064a4b

sys-apps/help2man: sync with ::gentoo (bump to 1.47.16)

Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
RepoMan-Options: --force
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/help2man/Manifest                |  2 ++
 sys-apps/help2man/help2man-1.47.16.ebuild | 50 +++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/sys-apps/help2man/Manifest b/sys-apps/help2man/Manifest
index 2fc8570c78..6a284f99aa 100644
--- a/sys-apps/help2man/Manifest
+++ b/sys-apps/help2man/Manifest
@@ -1,4 +1,6 @@
 DIST help2man-1.40.4-cygwin-nls.patch 5371 BLAKE2B 
998988ee4c66d3e029d2279b4acd3c02d68df9fbd0d780670d03a5246e8308d1ba7c0c98e810d9527ed27ac11331a26c2b74dedcd0e722e7d78dd1cf8c95c851
 SHA512 
f21e82a5d96b886c7859205937f04ad8e83408ffa1a223106dd055a7a722dccf2d1e428b9e354cd49f0e38059e92fcc72da7aeb39984463492f801bd54b5d5c6
+DIST help2man-1.40.4-cygwin-nls.patch-2 5394 BLAKE2B 
16381050e40f05659846ce769cd60198af4731a24b1a36e14455a58318e6850a15a560adb25469a53e3b59e83a79110c5d5b616e65224a0bd8b70b23af4564eb
 SHA512 
3129eabaeecb2cf70e031f2473f723bd5cd09e861e30914273fd8c08b5b2fb48a78ee7830d605b009847c9fd7c4a8c51cc3964d2a6d426167fb5d37be49600a0
+DIST help2man-1.47.16.tar.xz 203036 BLAKE2B 
8e06c2c2e90adfc2ab8345908516b15ae50b02a7a9554d5d9beee4373b71c131aeaa0c148b9a988c531bbfe2149c25069af56a79101a4248b6c1adfeb734a132
 SHA512 
b427e60a9e3d2e805caf1ae84c337b09c7ca6f92b7ff14771f946c4a1bf7adf177df99b9c1c223ad76df99756005ababf5b548ff8e08d4746702ff7f8150b544
 DIST help2man-1.47.6.tar.xz 192980 BLAKE2B 
ddf2b899e4479a45505aefaf3dabfceb1595128da35c000b81be79046aabceff58e1d605b2797880c5c652947d0fe59673eaf087de911152e79768c571037a73
 SHA512 
d24849b93de58b20f518c071687e7bfa653a96600382f36c4cf7fc1047656458f75f093b911b786b18b6931b2453cb60868ecbe07cc7d2984e5981a874b34942
 DIST help2man-1.47.7.tar.xz 200128 BLAKE2B 
bdac9d1db29b03bbb8e41caecfdf3a7273b69d9b9fa2e206b2e6c28d1144c3104b8d4b7d4a43aab1b405bffd6e097db63a2f4e97a76dfcd980ee5d8a9ffc2114
 SHA512 
e6ec25d973df68edde87d3314b1bef2e679d57d4c9e024bca17362b9da058c80314050e1ae61d73179b8c2662c8692caa1f223fc48b8d02f2d4f040d16e51d14
 DIST help2man-1.47.8.tar.xz 200264 BLAKE2B 
2650909986649a471cfa13db96fda34e864312aab96ffa2692c2d38cbb9b36149d90a398b3ea9568992b9da01ab7aeeab8022ee74edebf2e7c83cac48c951e7c
 SHA512 
05e420560b143042418db2e992beaef45cc5a568cdbf640c7b285ba2dc322290d14e0df978ff4c412a99f4346e38f6fb9796ebda695ddc002a3d0e74e85725d6

diff --git a/sys-apps/help2man/help2man-1.47.16.ebuild 
b/sys-apps/help2man/help2man-1.47.16.ebuild
new file mode 100644
index 0000000000..34cf70532e
--- /dev/null
+++ b/sys-apps/help2man/help2man-1.47.16.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="GNU utility to convert program --help output to a man page"
+HOMEPAGE="https://www.gnu.org/software/help2man/";
+SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
+
+# Was: 
https://raw.githubusercontent.com/cygwinports/help2man/${CYGWIN_PATCHREV}/${CYGWIN_PATCH}
 -> ${PN}-${CYGWIN_PATCH}
+CYGWIN_PATCHREV="adf3e6f73a4857e55594f140d6282d9ff5362f5a"
+CYGWIN_PATCH="1.40.4-cygwin-nls.patch"
+CYGWIN_REV="-2"
+SRC_URI+=" elibc_Cygwin? (
+       
https://raw.githubusercontent.com/msys2/MSYS2-packages/master/help2man/${CYGWIN_PATCH}
 -> ${PN}-${CYGWIN_PATCH}${CYGWIN_REV}
+)"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="nls"
+
+RDEPEND="dev-lang/perl
+       nls? ( dev-perl/Locale-gettext )"
+DEPEND="${RDEPEND}"
+
+DOCS=( debian/changelog NEWS README THANKS ) #385753
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.46.1-linguas.patch
+)
+
+src_prepare() {
+       if [[ ${CHOST} == *-darwin* ]] ; then
+               sed -i \
+                       -e 's/-shared/-bundle/' \
+                       Makefile.in || die
+       fi
+       default
+       use elibc_Cygwin && eapply -p2 
"${DISTDIR}/${PN}-${CYGWIN_PATCH}${CYGWIN_REV}"
+}
+
+src_configure() {
+       # Disable gettext requirement as the release includes the gmo files 
#555018
+       local myeconfargs=(
+               ac_cv_path_MSGFMT=$(type -P false)
+               $(use_enable nls)
+       )
+       econf "${myeconfargs[@]}"
+}

Reply via email to