From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D1200138353 for ; Tue, 21 Jan 2020 21:51:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3AF3BE086B; Tue, 21 Jan 2020 21:51:28 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 24FADE0866 for ; Tue, 21 Jan 2020 21:51:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE5D634E3B1 for ; Tue, 21 Jan 2020 21:51:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1FDC510A for ; Tue, 21 Jan 2020 21:51:22 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1579643457.3077091c6b1e7fe353b0b2b0b176272fe56fad91.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/texi2html/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/texi2html/texi2html-5.0-r1.ebuild X-VCS-Directories: app-text/texi2html/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 3077091c6b1e7fe353b0b2b0b176272fe56fad91 X-VCS-Branch: master Date: Tue, 21 Jan 2020 21:51:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e02296a0-cbb6-47be-b0d4-ea82947be556 X-Archives-Hash: 6eca1657c40d0129c3a167b7653e29d3 commit: 3077091c6b1e7fe353b0b2b0b176272fe56fad91 Author: David Seifert gentoo org> AuthorDate: Tue Jan 21 21:50:57 2020 +0000 Commit: David Seifert gentoo org> CommitDate: Tue Jan 21 21:50:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3077091c app-text/texi2html: Port to EAPI 7 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: David Seifert gentoo.org> app-text/texi2html/texi2html-5.0-r1.ebuild | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/app-text/texi2html/texi2html-5.0-r1.ebuild b/app-text/texi2html/texi2html-5.0-r1.ebuild index 81ea54fbe10..51e4bdab7d4 100644 --- a/app-text/texi2html/texi2html-5.0-r1.ebuild +++ b/app-text/texi2html/texi2html-5.0-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 inherit prefix @@ -13,32 +13,34 @@ LICENSE="GPL-2+ || ( GPL-2 CC-BY-SA-1.0 ) Texinfo-manual LGPL-2+ MIT" SLOT="0" KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="unicode" +RESTRICT="test" #411523 -RDEPEND=">=dev-lang/perl-5.10.1 - >=dev-perl/libintl-perl-1.200 +RDEPEND=" + dev-lang/perl + dev-perl/libintl-perl unicode? ( dev-perl/Text-Unidecode dev-perl/Unicode-EastAsianWidth - )" + )" DEPEND="${RDEPEND}" -DOCS="AUTHORS ChangeLog NEWS README TODO" - -RESTRICT="test" #411523 - src_prepare() { + default + # On FreeBSD this script is used instead of GNU install but it comes without # executable pemissions... Fix it! chmod +x install-sh || die if use prefix; then - hprefixify $(find . -name '*.pl' | xargs) + local f + while IFS="" read -d $'\0' -r f ; do + hprefixify "${f}" + done < <(find . -name '*.pl' -print0) fi } src_configure() { - local myconf - use unicode && myconf='--with-external-Unicode-EastAsianWidth' + use unicode && local myconf='--with-external-Unicode-EastAsianWidth' econf \ --with-external-libintl-perl \ @@ -48,9 +50,9 @@ src_configure() { src_install() { default - rm -f "${ED}"/usr/share/${PN}/images/{COPYING*,GPL,README} + rm "${ED}"/usr/share/${PN}/images/{COPYING*,GPL,README} || die } pkg_preinst() { - rm -f "${EROOT}"/usr/bin/${PN} + rm -f "${EROOT}"/usr/bin/${PN} || die }