Diff Algorithm-Diff-1.190.300 with a Algorithm-Diff-1.190.300-r1

/usr/portage/dev-perl/Algorithm-Diff/Algorithm-Diff-1.190.300-r1.ebuild 2020-04-23 07:39:00.000000000 +0300
1 1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=5
4
EAPI=7
5 5

  
6
MODULE_AUTHOR=TYEMQ
7
MODULE_VERSION=1.1903
6
DIST_AUTHOR=TYEMQ
7
DIST_VERSION=1.1903
8
DIST_EXAMPLES="examples/*"
8 9
inherit perl-module
9 10

  
10 11
DESCRIPTION="Compute intelligent differences between two files / lists"
11 12

  
12 13
SLOT="0"
13
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"
14
IUSE=""
14
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"
15 15

  
16
DEPEND="virtual/perl-ExtUtils-MakeMaker"
17

  
18
SRC_TEST="do"
16
src_prepare() {
17
	local file
18
	mkdir -p examples/ || die "can't make examples/"
19
	for file in cdiff diffnew diff htmldiff; do
20
		mv -f ${file}.pl examples/${file}.pl || die "Can't move ${file.pl} to examples/"
21
		sed -i "s/^${file}.pl/examples\/${file}.pl/" MANIFEST || die "Can't fix MANIFEST"
22
	done
23
	perl-module_src_prepare
24
}
25
BDEPEND="virtual/perl-ExtUtils-MakeMaker"
Thank you!