Сравнение Pod-Parser-1.630.0-r1 с Pod-Parser-1.660.0
/usr/portage/dev-perl/Pod-Parser/Pod-Parser-1.660.0.ebuild 2023-10-09 14:52:29.916368361 +0300 | ||
---|---|---|
1 | 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=MAREKR |
7 |
DIST_VERSION=1.63 |
|
7 |
DIST_VERSION=1.66 |
|
8 | 8 |
inherit perl-module |
9 | 9 | |
10 | 10 |
DESCRIPTION="POD filters and translators" |
11 | 11 | |
12 | 12 |
SLOT="0" |
13 | 13 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
14 |
IUSE="test" |
|
15 |
RESTRICT="!test? ( test )" |
|
16 | 14 | |
17 | 15 |
RDEPEND=" |
18 | 16 |
virtual/perl-File-Spec |
19 | 17 |
" |
20 |
BDEPEND="${RDEPEND} |
|
18 |
BDEPEND=" |
|
19 |
${RDEPEND} |
|
21 | 20 |
virtual/perl-ExtUtils-MakeMaker |
22 | 21 |
test? ( |
23 | 22 |
virtual/perl-Test-Simple |
24 | 23 |
) |
25 | 24 |
" |
26 |
src_prepare() { |
|
27 |
# This avoids filename collision in /usr/bin on perl <5.32 |
|
28 |
# which previously had this script. But no decollisioning needed for the modules |
|
29 |
# due to that already being handled by @INC stuff |
|
30 |
# Though, it does mean that with this installed, the podselect shipped in perl <5.32 |
|
31 |
# will consume modules shipped by this ebuild, but that doesn't look very problematic |
|
32 |
# looking at the code (its just a dumb shim with arg-parsing) |
|
33 |
if has_version -r "<dev-lang/perl-5.32"; then |
|
34 |
einfo "Stripping podselect for compat with perl <5.32"; |
|
35 |
perl_rm_files "scripts/podselect.PL" \ |
|
36 |
"t/pod/podselect.t" |
|
37 |
eapply "${FILESDIR}/${PN}-1.63-no-binscript.patch" |
|
38 |
fi |
|
39 |
perl-module_src_prepare |
|
40 |
} |