Сравнение DBD-MariaDB-1.210.0-r1 с DBD-MariaDB-1.220.0

/usr/portage/dev-perl/DBD-MariaDB/DBD-MariaDB-1.220.0.ebuild 2023-10-09 14:52:29.840368359 +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=PALI
7
DIST_VERSION=1.21
7
DIST_VERSION=1.22
8 8
inherit perl-module
9 9

  
10 10
DESCRIPTION="MariaDB and MySQL driver for the Perl5 Database Interface (DBI)"
11

  
11 12
SLOT="0"
12 13
KEYWORDS="~amd64 ~x86"
13
IUSE="test +mariadb mysql minimal"
14
RESTRICT="!test? ( test )"
14
IUSE="+mariadb mysql minimal"
15 15
REQUIRED_USE="^^ ( mysql mariadb )"
16 16

  
17 17
RDEPEND="
18 18
	>=dev-perl/DBI-1.608.0
19 19
	virtual/perl-XSLoader
20
	mysql? ( dev-db/mysql-connector-c:0= )
21
	mariadb? ( dev-db/mariadb-connector-c:0= )
20
	mysql? ( dev-db/mysql-connector-c:= )
21
	mariadb? ( dev-db/mariadb-connector-c:= )
22 22
"
23 23
# New test-harness needed for parallel testing to work
24 24
DEPEND="${RDEPEND}
......
42 42
		virtual/perl-bignum
43 43
	)
44 44
"
45

  
45 46
PERL_RM_FILES=(
46 47
	"t/pod.t"
47 48
	"t/manifest.t"
48 49
)
49 50

  
50 51
src_configure() {
51
	local impl
52
	impl=$(usex mariadb mariadb mysql)
52
	local impl=$(usex mariadb mariadb mysql)
53

  
53 54
	if use test; then
54
		myconf="${myconf} --testdb=test \
55
			--testhost=localhost \
56
			--testuser=test \
57
			--testpassword=test"
55
		myconf=(
56
			${myconf}
57
			--testdb=test
58
			--testhost=localhost
59
			--testuser=test
60
			--testpassword=test
61
		)
58 62
	fi
59
	myconf+=" --${impl}_config=${BROOT}/usr/bin/${impl}_config"
63

  
64
	myconf+=( --${impl}_config="${BROOT}"/usr/bin/${impl}_config )
65

  
60 66
	perl-module_src_configure
61 67
}
62 68

  
63
src_compile() {
64
	mymake=(
65
		"OPTIMIZE=${CFLAGS}"
66
	)
67
	perl-module_src_compile
68
}
69 69
src_test() {
70 70
	ewarn "Comprehensive testing requires additional manual steps. For details"
71 71
	ewarn "see:"
......
79 79
	einfo "> CREATE DATABASE test;"
80 80
	einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
81 81
	einfo
82

  
82 83
	sleep 5
84

  
83 85
	# Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
84 86
	# out why 60leaks.t fails
85 87
	perl-module_src_test
Спасибо!