blob: 3512a4ec02f8d993ee0742d6c2dd213c0694c1c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=ZWON
DIST_VERSION=2.57
DIST_EXAMPLES=( "eg/*" )
inherit perl-module
DESCRIPTION="Perl extension to access redis database"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="minimal"
RDEPEND="
>=virtual/perl-Encode-2.100.0
virtual/perl-IO-Socket-IP
>=dev-perl/RedisDB-Parser-2.210.0
dev-perl/Try-Tiny
dev-perl/URI
dev-perl/URI-redis
>=dev-perl/Test-TCP-1.170.0
"
DEPEND="${RDEPEND}
virtual/perl-Digest-SHA
>=virtual/perl-ExtUtils-MakeMaker-6.300.200
test? (
!minimal? (
dev-db/redis
)
>=dev-perl/Test-Differences-0.610.0
dev-perl/Test-FailWarnings
>=dev-perl/Test-Most-0.220.0
>=virtual/perl-Test-Simple-0.960.0
)
"
src_test() {
if use minimal; then
einfo "Disabling active redis-server tests (USE=minimal)"
perl_rm_files t/basic_redis.t \
t/auth.t \
t/redis_commands.t \
t/restore_subscriptions.t \
t/send_command_cb.t \
t/subscribe.t \
t/transactions.t \
t/utf8.t
fi
perl-module_src_test
}
|