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 C339F138350 for ; Thu, 23 Apr 2020 04:17:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9467AE0AC6; Thu, 23 Apr 2020 04:17:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 775A0E0AC6 for ; Thu, 23 Apr 2020 04:17:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A89BA34F019 for ; Thu, 23 Apr 2020 04:16:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D1FD1E0 for ; Thu, 23 Apr 2020 04:16:56 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1587615343.29ec83a8769c3f41d1e601609deacf2884b7ad8d.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Algorithm-Diff/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Algorithm-Diff/Algorithm-Diff-1.190.300-r1.ebuild X-VCS-Directories: dev-perl/Algorithm-Diff/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 29ec83a8769c3f41d1e601609deacf2884b7ad8d X-VCS-Branch: master Date: Thu, 23 Apr 2020 04:16:56 +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: c8a50a8d-c23e-4d41-93ff-3f092e2ee509 X-Archives-Hash: 9f1bdcbe4a3ce5fc9ff1e97a38c80301 commit: 29ec83a8769c3f41d1e601609deacf2884b7ad8d Author: Kent Fredric gentoo org> AuthorDate: Thu Apr 23 04:15:43 2020 +0000 Commit: Kent Fredric gentoo org> CommitDate: Thu Apr 23 04:15:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29ec83a8 dev-perl/Algorithm-Diff: Add -r bump for EAPI7 - Also relocated various .pl files in the base dir to be installed only with USE=examples, and then, install in a more appropriate location Package-Manager: Portage-2.3.97, Repoman-2.3.22 Signed-off-by: Kent Fredric gentoo.org> .../Algorithm-Diff-1.190.300-r1.ebuild | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/dev-perl/Algorithm-Diff/Algorithm-Diff-1.190.300-r1.ebuild b/dev-perl/Algorithm-Diff/Algorithm-Diff-1.190.300-r1.ebuild new file mode 100644 index 00000000000..5e04616f74d --- /dev/null +++ b/dev-perl/Algorithm-Diff/Algorithm-Diff-1.190.300-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=TYEMQ +DIST_VERSION=1.1903 +DIST_EXAMPLES="examples/*" +inherit perl-module + +DESCRIPTION="Compute intelligent differences between two files / lists" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~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" + +src_prepare() { + local file + mkdir -p examples/ || die "can't make examples/" + for file in cdiff diffnew diff htmldiff; do + mv -f ${file}.pl examples/${file}.pl || die "Can't move ${file.pl} to examples/" + sed -i "s/^${file}.pl/examples\/${file}.pl/" MANIFEST || die "Can't fix MANIFEST" + done + perl-module_src_prepare +} +BDEPEND="virtual/perl-ExtUtils-MakeMaker"