Сравнение Redis-1.998.0 с Redis-2.0.0
/usr/portage/dev-perl/Redis/Redis-2.0.0.ebuild 2023-10-09 14:52:29.916368361 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 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=DAMS |
7 |
DIST_VERSION=1.998 |
|
7 |
DIST_TEST="do" |
|
8 |
DIST_VERSION=2.000 |
|
8 | 9 |
inherit perl-module |
9 | 10 | |
10 |
DESCRIPTION="Perl binding for Redis database" |
|
11 |
DESCRIPTION="Perl bindings for Redis database" |
|
11 | 12 | |
12 | 13 |
LICENSE="Artistic-2" |
13 | 14 |
SLOT="0" |
14 | 15 |
KEYWORDS="amd64 x86" |
15 |
IUSE="test minimal" |
|
16 |
RESTRICT="!test? ( test )" |
|
16 |
IUSE="minimal" |
|
17 | 17 | |
18 | 18 |
RDEPEND=" |
19 | 19 |
>=dev-perl/IO-Socket-Timeout-0.290.0 |
20 | 20 |
dev-perl/Try-Tiny |
21 | 21 |
" |
22 |
BDEPEND="${RDEPEND} |
|
22 |
BDEPEND=" |
|
23 |
${RDEPEND} |
|
23 | 24 |
>=dev-perl/Module-Build-Tiny-0.34.0 |
24 | 25 |
test? ( |
25 | 26 |
!minimal? ( |
... | ... | |
38 | 39 |
) |
39 | 40 |
" |
40 | 41 | |
41 |
DIST_TEST="do" |
|
42 | ||
43 | 42 |
src_test() { |
44 | 43 |
local badfiles=( |
45 | 44 |
"t/release-distmeta.t" |
46 | 45 |
"t/release-pod-coverage.t" |
47 | 46 |
) |
47 | ||
48 | 48 |
if use minimal; then |
49 | 49 |
einfo "Disabling Redis Server spawning tests (USE=minimal)" |
50 | 50 |
badfiles+=( |
... | ... | |
65 | 65 |
t/50-fork_safe.t |
66 | 66 |
) |
67 | 67 |
fi |
68 | ||
68 | 69 |
perl_rm_files "${badfiles[@]}" |
70 | ||
69 | 71 |
# https://github.com/PerlRedis/perl-redis/issues/127#issuecomment-354670681 |
70 | 72 |
export REDIS_DEBUG=1 |
73 | ||
71 | 74 |
perl-module_src_test |
72 | 75 |
} |