Diff Date-Extract-0.60.0-r1 with a Date-Extract-0.70.0

/usr/portage/dev-perl/Date-Extract/Date-Extract-0.70.0.ebuild 2023-10-09 14:52:29.844368359 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
DIST_AUTHOR=ALEXMV
7
DIST_VERSION=0.06
6
DIST_AUTHOR=ETHER
7
DIST_VERSION=0.07
8 8
inherit perl-module
9 9

  
10 10
DESCRIPTION="Extract probable dates from strings"
......
19 19
	virtual/perl-Scalar-List-Utils
20 20
	virtual/perl-parent
21 21
"
22
BDEPEND="${RDEPEND}
22
BDEPEND="
23
	${RDEPEND}
23 24
	>=virtual/perl-ExtUtils-MakeMaker-6.360.0
24 25
	test? (
25
		dev-perl/Test-MockTime
26
		virtual/perl-File-Spec
27
		dev-perl/Test-MockTime-HiRes
26 28
		virtual/perl-Test-Simple
27 29
	)
28 30
"
29

  
30
src_prepare() {
31
	sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse inc::Module::Install;/' Makefile.PL ||
32
		die "Can't patch Makefile.PL for 5.26 dot-in-inc"
33
	perl-module_src_prepare
34
}
Thank you!