summaryrefslogtreecommitdiff
path: root/dev-perl
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/DBD-MariaDB/DBD-MariaDB-1.220.0.ebuild92
-rw-r--r--dev-perl/DBD-MariaDB/Manifest4
-rw-r--r--dev-perl/DBD-MariaDB/metadata.xml1
-rw-r--r--dev-perl/Manifest.gzbin281745 -> 281747 bytes
4 files changed, 96 insertions, 1 deletions
diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.220.0.ebuild b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.220.0.ebuild
new file mode 100644
index 000000000000..9909368c41e1
--- /dev/null
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.220.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=PALI
+DIST_VERSION=1.22
+inherit perl-module
+
+DESCRIPTION="MariaDB and MySQL driver for the Perl5 Database Interface (DBI)"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+mariadb mysql minimal"
+REQUIRED_USE="^^ ( mysql mariadb )"
+
+RDEPEND="
+ >=dev-perl/DBI-1.608.0
+ virtual/perl-XSLoader
+ mysql? ( dev-db/mysql-connector-c:= )
+ mariadb? ( dev-db/mariadb-connector-c:= )
+"
+DEPEND="
+ mysql? ( dev-db/mysql-connector-c:= )
+ mariadb? ( dev-db/mariadb-connector-c:= )
+"
+# New test-harness needed for parallel testing to work
+DEPEND="${RDEPEND}
+ virtual/perl-Data-Dumper
+ >=dev-perl/Devel-CheckLib-1.120.0
+ virtual/perl-ExtUtils-MakeMaker
+ virtual/perl-File-Spec
+ virtual/perl-Getopt-Long
+ test? (
+ !minimal? (
+ >=dev-perl/Net-SSLeay-1.430.0
+ dev-perl/Proc-ProcessTable
+ virtual/perl-Storable
+ )
+ virtual/perl-Encode
+ virtual/perl-File-Temp
+ dev-perl/Test-Deep
+ >=virtual/perl-Test-Harness-3.310.0
+ >=virtual/perl-Test-Simple-0.900.0
+ virtual/perl-Time-HiRes
+ virtual/perl-bignum
+ )
+"
+
+PERL_RM_FILES=(
+ "t/pod.t"
+ "t/manifest.t"
+)
+
+src_configure() {
+ local impl=$(usex mariadb mariadb mysql)
+
+ if use test; then
+ myconf=(
+ ${myconf}
+ --testdb=test
+ --testhost=localhost
+ --testuser=test
+ --testpassword=test
+ )
+ fi
+
+ myconf+=( --${impl}_config="${BROOT}"/usr/bin/${impl}_config )
+
+ perl-module_src_configure
+}
+
+src_test() {
+ ewarn "Comprehensive testing requires additional manual steps. For details"
+ ewarn "see:"
+ ewarn " https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}#Testing"
+
+ einfo
+ einfo "If tests fail, you have to configure your MariaDB/MySQL instance"
+ einfo "to create and grant some privileges to the test user."
+ einfo "You can run the following commands at the MariaDB/MySQL prompt: "
+ einfo "> CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';"
+ einfo "> CREATE DATABASE test;"
+ einfo "> GRANT ALL PRIVILEGES ON test.* TO 'test'@'localhost';"
+ einfo
+
+ sleep 5
+
+ # Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
+ # out why 60leaks.t fails
+ perl-module_src_test
+}
diff --git a/dev-perl/DBD-MariaDB/Manifest b/dev-perl/DBD-MariaDB/Manifest
index f4b8383f8cce..8dfb4ade1235 100644
--- a/dev-perl/DBD-MariaDB/Manifest
+++ b/dev-perl/DBD-MariaDB/Manifest
@@ -1,3 +1,5 @@
DIST DBD-MariaDB-1.21.tar.gz 179911 BLAKE2B dac1a868d64e792dc86ab46cea1fe2578ae691b9d6713cd83971c9ba0a3e2a0d8031c7be10dc66e4269c142aec1c54859e0e285faf9a29dc3cec7e3d8ad82a0e SHA512 0378b33e9cd31ced6f2331967c7ea63a233340bb4a60ef2bbece4843b3a62624875aa1a5e61a9fa1b709ecc8d67810c6fa4fb9ccc01df341e6d94325078f360a
+DIST DBD-MariaDB-1.22.tar.gz 180783 BLAKE2B 8125c0a1ce6858e29c894ea4e11a10fc8e3776cbf016537e6d4d492773690b915dc249ddeca881fa42b229597727602209487dcdb1af03da098e38f2652d5934 SHA512 f2bd16fa609b94bd5eb538b38b122dec6a4484da062f2cc84fa6ca4a5dfc30e7ff754a00ece22a3a30297c92b4fd3f878ab0e2a581b7082cd1b9a00f33e2b2c7
EBUILD DBD-MariaDB-1.210.0-r1.ebuild 2273 BLAKE2B 9a480b65f4ab8245b20a964c5639316e8c29b01b453ed9ba9b6f144971379533c83945dd7587352177de11d18f67861c7f2a00baabeed348299baf2c561ac4c0 SHA512 a4d09d07292597ed5596595637db43093eaac1b22ff6935c0de2b3e6130bdd2d07c902b21d1cb8bd54cdf9f3b4818ab5133a6370afd5dac93f82fe33ff91bddb
-MISC metadata.xml 600 BLAKE2B 8abc35ee6b66c41af5c411264edf32b290193d6045cc3416c09f79a58edcb4862b3961a56fddffc30985aee8701f963cb0a3ea0058b8bb289006e3e1e6e3bc3a SHA512 cd3c78e2504fa6fa2d837b8b9bed4af0971d61b263dd4831383996b11b42fe7ffe5d5ee68b53a99e0b7769cc426436ee58c6923bfec57378a8fbe1e562d3b7b9
+EBUILD DBD-MariaDB-1.220.0.ebuild 2166 BLAKE2B f4b9541979669aaa8ebf422cb331440bdbc452a7ead005ef87b42eb10732ff11b7a5e66bbea11ff9faa5bb3bf4ef102e4711fd1433d728d26c726529d2690d5e SHA512 b2416e7ee2673879b967608dccf4013d4283b11bd69d511f6c34b181c2cc0c11d6c0acd9eb03f950d318c30324199cb7f2055b8f2a04b580788b365351847327
+MISC metadata.xml 662 BLAKE2B 481ef182dc86e6a58a8ed1c14e480980529939f2f6269eec5b58f1a0bb763f8388b3c7d05916be3f51505cc5d3cfb2b515b4427c8b0caa4339be31bc126ebb4e SHA512 a0973f9e08479180b2186b0a45ce12502958055e392e8dc4c59e14788756ce5bf69bfab4c08532de6a4c980164cf775fdc4e447fbd10e4a75b3f7991d6fcf0bd
diff --git a/dev-perl/DBD-MariaDB/metadata.xml b/dev-perl/DBD-MariaDB/metadata.xml
index 9292db6fca7b..f7af2c9add2f 100644
--- a/dev-perl/DBD-MariaDB/metadata.xml
+++ b/dev-perl/DBD-MariaDB/metadata.xml
@@ -8,6 +8,7 @@
<upstream>
<remote-id type="cpan">DBD-MariaDB</remote-id>
<remote-id type="cpan-module">DBD::MariaDB</remote-id>
+ <remote-id type="github">gooddata/DBD-MariaDB</remote-id>
</upstream>
<use>
<flag name="mariadb">Use <pkg>dev-db/mariadb-connector-c</pkg> as the client library</flag>
diff --git a/dev-perl/Manifest.gz b/dev-perl/Manifest.gz
index c7b9d1b9124d..2058b42c3abd 100644
--- a/dev-perl/Manifest.gz
+++ b/dev-perl/Manifest.gz
Binary files differ