Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-mysql/
Date: Tue, 18 Aug 2020 09:48:27
Message-Id: 1597743797.bed54c7437810cd654ec67b1fbcd0d1a55369865.kentnl@gentoo
1 commit: bed54c7437810cd654ec67b1fbcd0d1a55369865
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 18 09:43:17 2020 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 18 09:43:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bed54c74
7
8 dev-perl/DBD-mysql: Cleanup old 4.44.0-r2
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.22
11 Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>
12
13 dev-perl/DBD-mysql/DBD-mysql-4.44.0-r2.ebuild | 69 ---------------------------
14 1 file changed, 69 deletions(-)
15
16 diff --git a/dev-perl/DBD-mysql/DBD-mysql-4.44.0-r2.ebuild b/dev-perl/DBD-mysql/DBD-mysql-4.44.0-r2.ebuild
17 deleted file mode 100644
18 index e22c6ccf16f..00000000000
19 --- a/dev-perl/DBD-mysql/DBD-mysql-4.44.0-r2.ebuild
20 +++ /dev/null
21 @@ -1,69 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -DIST_AUTHOR=CAPTTOFU
28 -DIST_VERSION=4.044
29 -inherit eutils perl-module
30 -
31 -DESCRIPTION="MySQL driver for the Perl5 Database Interface (DBI)"
32 -
33 -SLOT="0"
34 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
35 -
36 -IUSE="mariadb +mysql test +ssl"
37 -RESTRICT="!test? ( test )"
38 -REQUIRED_USE="^^ ( mysql mariadb )"
39 -
40 -RDEPEND=">=dev-perl/DBI-1.609.0
41 - mysql? ( dev-db/mysql-connector-c:= )
42 - mariadb? ( dev-db/mariadb-connector-c:=[ssl(+)?] )
43 -"
44 -DEPEND="${RDEPEND}
45 - virtual/perl-ExtUtils-MakeMaker
46 - virtual/perl-Data-Dumper
47 - test? (
48 - dev-perl/Test-Deep
49 - >=virtual/perl-Test-Simple-0.900.0
50 - virtual/perl-Time-HiRes
51 - )
52 -"
53 -PATCHES=(
54 - "${FILESDIR}/${PN}-${DIST_VERSION}-amvis-type-conversions.patch"
55 - "${FILESDIR}/${PN}-${DIST_VERSION}-no-dot-inc.patch"
56 - "${FILESDIR}/4.041-mariadb-10.2.patch"
57 -)
58 -src_configure() {
59 - local impl
60 - impl=$(usex mariadb mariadb mysql)
61 - if use test; then
62 - myconf="${myconf} --testdb=test \
63 - --testhost=localhost \
64 - --testuser=test \
65 - --testpassword=test"
66 - fi
67 - myconf="${myconf} --$(usex ssl ssl nossl) --mysql_config=${EPREFIX}/usr/bin/${impl}_config"
68 - perl-module_src_configure
69 -}
70 -
71 -# Parallel testing is broken as 2 tests create the same table
72 -# and mysql isn't acid compliant and can't limit visibility of tables
73 -# to a transaction...
74 -DIST_TEST="do"
75 -
76 -src_test() {
77 - einfo
78 - einfo "If tests fail, you have to configure your MySQL instance to create"
79 - einfo "and grant some privileges to the test user."
80 - einfo "You can run the following commands at the MySQL prompt: "
81 - einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
82 - einfo "> CREATE DATABASE test;"
83 - einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
84 - einfo
85 - sleep 5
86 - perl_rm_files t/pod.t t/manifest.t
87 - # Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
88 - # out why 60leaks.t fails
89 - perl-module_src_test
90 -}