Diff Feed-Find-0.70.0-r3 with a Feed-Find-0.120.0

/usr/portage/dev-perl/Feed-Find/Feed-Find-0.120.0.ebuild 2023-10-09 14:52:29.860368359 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
DIST_AUTHOR=BTROTT
7
DIST_VERSION=0.07
6
DIST_AUTHOR=DAVECROSS
7
DIST_VERSION=0.12
8 8
inherit perl-module
9 9

  
10 10
DESCRIPTION="Syndication feed auto-discovery"
11 11

  
12 12
SLOT="0"
13
KEYWORDS="amd64 ~x86"
14
IUSE="test"
15
RESTRICT="!test? ( test )"
13
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
16 14

  
17 15
RDEPEND="
18 16
	dev-perl/Class-ErrorHandler
......
21 19
	dev-perl/URI
22 20
"
23 21
BDEPEND="${RDEPEND}
22
	>=virtual/perl-ExtUtils-MakeMaker-6.590.0
24 23
	test? (
25
		dev-perl/Test-Base
26
		dev-perl/CGI-Application-Server
27
		dev-perl/Test-HTTP-Server-Simple
24
		dev-perl/Test-LWP-UserAgent
28 25
	)
29 26
"
27

  
30 28
PATCHES=(
31 29
	"${FILESDIR}/${PN}-0.07-no-dot-inc.patch"
32
	"${FILESDIR}/${PN}-0.07-local-network.patch"
33
)
34
PERL_RM_FILES=(
35
	inc/Spiffy.pm
36
	inc/Test/Base.pm
37
	inc/Test/Base/Filter.pm
38
	inc/Test/Builder.pm
39
	inc/Test/Builder/Module.pm
40
	inc/Test/More.pm
41 30
)
42
src_test() {
43
	local MODULES=(
44
		"Feed::Find ${DIST_VERSION}"
45
	)
46
	local failed=()
47
	for dep in "${MODULES[@]}"; do
48
		ebegin "Compile testing ${dep}"
49
			perl -Mblib="${S}" -M"${dep} ()" -e1
50
		eend $? || failed+=( "$dep" )
51
	done
52
	if [[ ${failed[@]} ]]; then
53
		echo
54
		eerror "One or more modules failed compile:";
55
		for dep in "${failed[@]}"; do
56
			eerror "  ${dep}"
57
		done
58
		die "Failing due to module compilation errors";
59
	fi
60
	perl-module_src_test
61
}
Thank you!