Diff Data-Dump-Streamer-2.400.0-r1 with a Data-Dump-Streamer-2.420.0

/usr/portage/dev-perl/Data-Dump-Streamer/Data-Dump-Streamer-2.420.0.ebuild 2023-10-09 14:52:29.840368359 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2023 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 6
DIST_AUTHOR=YVES
7
DIST_VERSION=2.40
7
DIST_VERSION=2.42
8 8
inherit perl-module
9 9

  
10 10
DESCRIPTION="Accurately serialize a data structure as Perl code"
11 11

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

  
17 15
RDEPEND="
18 16
	dev-perl/B-Utils
......
25 23
	dev-perl/PadWalker
26 24
	virtual/perl-XSLoader
27 25
"
28
DEPEND="
29
	dev-perl/Module-Build
30
"
31
BDEPEND="${RDEPEND}
26
BDEPEND="
27
	${RDEPEND}
32 28
	dev-perl/Module-Build
33 29
	virtual/perl-Carp
34 30
	virtual/perl-ExtUtils-CBuilder
35 31
	dev-perl/ExtUtils-Depends
36 32
	test? (
33
		dev-perl/Cpanel-JSON-XS
37 34
		virtual/perl-Test-Simple
38
		dev-perl/JSON-XS
39 35
	)
40 36
"
41
PATCHES=( "${FILESDIR}/${P}-perl526.patch" )
37

  
42 38
src_prepare() {
43 39
	# Add DDS.pm shortcut
44
	echo 'yes' > "${S}"/.answer
40
	echo 'yes' > "${S}"/.answer || die
45 41
	perl-module_src_prepare
46 42
}
47
src_configure() {
48
	unset LD
49
	[[ -n "${CCLD}" ]] && export LD="${CCLD}"
50
	perl-module_src_configure
51
}
43

  
52 44
src_compile() {
53 45
	./Build --config optimize="${CFLAGS}" build || die
54 46
}
Thank you!