blob: a460baef0e100051ea43abee918b76ece3c9e620 (
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
54
55
56
57
|
# Copyright 2025 BaldEagleOS Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=PALI
DIST_VERSION=1.24
DIST_WIKI=tests
inherit perl-module
DESCRIPTION="MariaDB driver for the Perl5 Database Interface (DBI)"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 x86"
IUSE="minimal"
RDEPEND="
>=dev-perl/DBI-1.608.0
dev-db/mariadb-connector-c:=
dev-db/mariadb
"
DEPEND="
dev-db/mariadb-connector-c:=
"
# New test-harness needed for parallel testing to work
BDEPEND="
${RDEPEND}
>=dev-perl/Devel-CheckLib-1.120.0
test? (
!minimal? (
>=dev-perl/Net-SSLeay-1.430.0
dev-perl/Proc-ProcessTable
)
dev-perl/Test-Deep
>=virtual/perl-Test-Harness-3.310.0
>=virtual/perl-Test-Simple-0.900.0
)
"
PERL_RM_FILES=(
"t/pod.t"
"t/manifest.t"
)
src_configure() {
local impl=mariadb
# These must be set at configure time
# export DBD_MARIADB_TESTDB=test
# export DBD_MARIADB_TESTSOCKET="${T}"/mysqld.sock
# export DBD_MARIADB_TESTAUTHPLUGIN=mysql_native_password
# export DBD_MARIADB_TESTUSER=root
myconf=( --${impl}_config="${BROOT}"/usr/bin/${impl}_config )
perl-module_src_configure
}
|