Сравнение Conf-Libconfig-0.100.0-r2 с Conf-Libconfig-1.0.3
/usr/portage/dev-perl/Conf-Libconfig/Conf-Libconfig-1.0.3.ebuild 2023-10-09 14:52:29.832368359 +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 |
# Please test that dev-util/conf2struct builds with any bumps! See bug #908989. |
7 | 7 |
# Conf-Libconfig is only in tree for it. |
8 | 8 | |
9 | 9 |
DIST_AUTHOR=CNANGEL |
10 |
DIST_VERSION="0.100" |
|
11 | ||
12 | 10 |
inherit perl-module |
13 | 11 | |
14 | 12 |
DESCRIPTION="Perl extension for libconfig" |
... | ... | |
16 | 14 |
LICENSE="BSD" |
17 | 15 |
SLOT="0" |
18 | 16 |
KEYWORDS="~amd64 ~arm ~m68k ~mips ~s390 ~x86" |
19 |
IUSE="test" |
|
20 |
RESTRICT="!test? ( test )" |
|
21 | 17 | |
22 |
PERL_RM_FILES=( |
|
23 |
"t/boilerplate.t" |
|
24 |
"t/pod-coverage.t" |
|
25 |
"t/pod-spell.t" |
|
26 |
"t/pod.t" |
|
27 |
) |
|
28 | 18 |
RDEPEND=" |
29 | 19 |
dev-libs/libconfig:= |
30 | 20 |
virtual/perl-XSLoader |
... | ... | |
32 | 22 |
DEPEND=" |
33 | 23 |
dev-libs/libconfig:= |
34 | 24 |
" |
35 |
BDEPEND="${RDEPEND} |
|
25 |
BDEPEND=" |
|
26 |
${RDEPEND} |
|
36 | 27 |
dev-perl/ExtUtils-PkgConfig |
37 | 28 |
test? ( |
38 | 29 |
>=dev-perl/Test-Exception-0.430.0 |
... | ... | |
40 | 31 |
>=dev-perl/Test-Warn-0.320.0 |
41 | 32 |
) |
42 | 33 |
" |
43 |
src_compile() { |
|
44 |
mymake=( |
|
45 |
"OPTIMIZE=${CFLAGS}" |
|
46 |
) |
|
47 |
perl-module_src_compile |
|
34 | ||
35 |
PERL_RM_FILES=( |
|
36 |
"t/boilerplate.t" |
|
37 |
"t/pod-coverage.t" |
|
38 |
"t/pod-spell.t" |
|
39 |
"t/pod.t" |
|
40 |
) |
|
41 | ||
42 |
src_prepare() { |
|
43 |
#rm inc/Devel/CheckLib.pm || die |
|
44 |
perl-module_src_prepare |
|
48 | 45 |
} |