[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2024-04-06 Thread Arthur Zamarin
commit: 48c74901a922e0ca72d1ff0fed08ded1f7ab1706
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr  6 06:51:57 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr  6 06:51:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48c74901

dev-perl/DBD-MariaDB: Stabilize 1.230.0 x86, #927278

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
index 0a46e57056ba..067da3f44a8d 100644
--- a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
@@ -11,7 +11,7 @@ inherit perl-module
 DESCRIPTION="MariaDB and MySQL driver for the Perl5 Database Interface (DBI)"
 
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv x86"
 IUSE="+mariadb mysql minimal"
 REQUIRED_USE="^^ ( mysql mariadb )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2024-04-04 Thread Arthur Zamarin
commit: 47c4ec7ecd363d1b1b723c2cb0456dea8aec381b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr  5 05:18:24 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr  5 05:18:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47c4ec7e

dev-perl/DBD-MariaDB: Keyword 1.230.0 ppc64, #919865

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
index 49f345b1326f..0a46e57056ba 100644
--- a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
@@ -11,7 +11,7 @@ inherit perl-module
 DESCRIPTION="MariaDB and MySQL driver for the Perl5 Database Interface (DBI)"
 
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86"
 IUSE="+mariadb mysql minimal"
 REQUIRED_USE="^^ ( mysql mariadb )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2024-04-04 Thread Arthur Zamarin
commit: b0df20fe5fb94da3884d1718e310d0a5ca167bf7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr  5 05:18:20 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr  5 05:18:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0df20fe

dev-perl/DBD-MariaDB: Keyword 1.230.0 ppc, #919865

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
index 8c2d0676ea69..49f345b1326f 100644
--- a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
@@ -11,7 +11,7 @@ inherit perl-module
 DESCRIPTION="MariaDB and MySQL driver for the Perl5 Database Interface (DBI)"
 
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~riscv ~x86"
 IUSE="+mariadb mysql minimal"
 REQUIRED_USE="^^ ( mysql mariadb )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2024-04-04 Thread Arthur Zamarin
commit: cf803d6e0f640ce532b12e66a4ff7ec6da4f803d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr  5 05:17:43 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr  5 05:17:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf803d6e

dev-perl/DBD-MariaDB: Keyword 1.230.0 arm64, #919865

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
index c0e53eb29033..8c2d0676ea69 100644
--- a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
@@ -11,7 +11,7 @@ inherit perl-module
 DESCRIPTION="MariaDB and MySQL driver for the Perl5 Database Interface (DBI)"
 
 SLOT="0"
-KEYWORDS="amd64 ~arm ~ia64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~riscv ~x86"
 IUSE="+mariadb mysql minimal"
 REQUIRED_USE="^^ ( mysql mariadb )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2024-04-04 Thread Arthur Zamarin
commit: f95aec85d38e1923397f6c8ceb3f6aff6200e467
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr  5 05:17:40 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr  5 05:17:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f95aec85

dev-perl/DBD-MariaDB: Keyword 1.230.0 arm, #919865

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
index 73d0b5144843..c0e53eb29033 100644
--- a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
@@ -11,7 +11,7 @@ inherit perl-module
 DESCRIPTION="MariaDB and MySQL driver for the Perl5 Database Interface (DBI)"
 
 SLOT="0"
-KEYWORDS="amd64 ~ia64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~ia64 ~riscv ~x86"
 IUSE="+mariadb mysql minimal"
 REQUIRED_USE="^^ ( mysql mariadb )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2024-04-04 Thread Arthur Zamarin
commit: f8d76a9c589b497294cae9b930322f74560b4cc9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr  5 05:16:51 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr  5 05:16:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8d76a9c

dev-perl/DBD-MariaDB: Keyword 1.230.0 ia64, #919865

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
index e2d0973b6d95..73d0b5144843 100644
--- a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
@@ -11,7 +11,7 @@ inherit perl-module
 DESCRIPTION="MariaDB and MySQL driver for the Perl5 Database Interface (DBI)"
 
 SLOT="0"
-KEYWORDS="amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~ia64 ~riscv ~x86"
 IUSE="+mariadb mysql minimal"
 REQUIRED_USE="^^ ( mysql mariadb )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2024-02-03 Thread Jakov Smolić
commit: 7ecafdda942cab8380f76082e188f59714f37672
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Feb  3 23:22:49 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Feb  3 23:22:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ecafdda

dev-perl/DBD-MariaDB: Keyword 1.230.0 riscv, #919865

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
index 65e1b804bf49..4c5e8a08a079 100644
--- a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ inherit perl-module
 DESCRIPTION="MariaDB and MySQL driver for the Perl5 Database Interface (DBI)"
 
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~riscv ~x86"
 IUSE="+mariadb mysql minimal"
 REQUIRED_USE="^^ ( mysql mariadb )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2023-09-19 Thread Arthur Zamarin
commit: d90fd3b67d8b41a4de41adad5ea9e1ef20b35c5f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Sep 15 09:28:48 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Sep 19 17:48:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d90fd3b6

dev-perl/DBD-MariaDB: fix VariableShadowed

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild | 6 +-
 dev-perl/DBD-MariaDB/DBD-MariaDB-1.220.0.ebuild| 6 +-
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild
index e9689fb0918a..cbdea799bc45 100644
--- a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -20,10 +20,6 @@ RDEPEND="
mysql? ( dev-db/mysql-connector-c:0= )
mariadb? ( dev-db/mariadb-connector-c:0= )
 "
-DEPEND="
-   mysql? ( dev-db/mysql-connector-c:0= )
-   mariadb? ( dev-db/mariadb-connector-c:0= )
-"
 # New test-harness needed for parallel testing to work
 DEPEND="${RDEPEND}
virtual/perl-Data-Dumper

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.220.0.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.220.0.ebuild
index 9909368c41e1..9dff0780c797 100644
--- a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.220.0.ebuild
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.220.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -20,10 +20,6 @@ RDEPEND="
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



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2023-09-16 Thread Sam James
commit: 7722a685bdf969114f18a1286932b0778736783e
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 16 09:22:50 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 16 09:26:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7722a685

dev-perl/DBD-MariaDB: add 1.230.0

Signed-off-by: Sam James  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild | 134 
 dev-perl/DBD-MariaDB/Manifest   |   1 +
 2 files changed, 135 insertions(+)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
new file mode 100644
index ..65e1b804bf49
--- /dev/null
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.230.0.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=PALI
+DIST_VERSION=1.23
+DIST_WIKI=tests
+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
+BDEPEND="
+   ${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
+   )
+   mariadb? ( dev-db/mariadb:* )
+   mysql? ( dev-db/mysql:* )
+   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)
+
+   # 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
+}
+
+src_test() {
+   local -x USER=$(whoami)
+
+   einfo "Creating mysql test instance ..."
+   mkdir -p "${T}"/mysql || die
+   if use mariadb ; then
+   local -x PATH="${BROOT}/usr/share/mariadb/scripts:${PATH}"
+
+   mysql_install_db \
+   --no-defaults \
+   --auth-root-authentication-method=normal \
+   --basedir="${EPREFIX}/usr" \
+   --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log || 
die
+   else
+   mysqld \
+   --no-defaults \
+   --initialize-insecure \
+   --user ${USER} \
+   --basedir="${EPREFIX}/usr" \
+   --datadir="${T}"/mysql 1>"${T}"/mysqld_install.log || 
die
+   fi
+
+   einfo "Starting mysql test instance ..."
+   mysqld \
+   --no-defaults \
+   --character-set-server=utf8 \
+   --bind-address=127.0.0.1 \
+   --pid-file="${T}"/mysqld.pid \
+   --socket="${T}"/mysqld.sock \
+   --datadir="${T}"/mysql 1>"${T}"/mysqld.log 2>&1 &
+
+   # Wait for it to start
+   local i
+   for (( i = 0; i < 10; i++ )); do
+   [[ -S ${T}/mysqld.sock ]] && break
+   sleep 1
+   done
+   [[ ! -S ${T}/mysqld.sock ]] && die "mysqld failed to start"
+
+   einfo "Configuring test mysql instance ..."
+   mysql -u root \
+   -e 'CREATE DATABASE /*M!50701 IF NOT EXISTS */ test' \
+   -S "${T}"/mysqld.sock || die "Failed to create test database"
+
+   # Don't be a hero and try to do EXTENDED_TESTING=1 unless you can figure
+   # out why 60leaks.t fails
+   nonfatal perl-module_src_test
+   ret=$?
+
+   einfo "Stopping mysql test instance ..."
+   pkill -F "${T}"/mysqld.pid || die
+   # wait for it to stop
+   local i
+   for (( i = 0; i < 10; i++ )); do
+   [[ -S ${T}/mysqld.sock ]] || break
+   sleep 1
+   done
+
+   rm -rf "${T}"/mysql || die
+
+   [[ ${ret} -ne 0 ]] && die
+}

diff --git 

[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2022-10-30 Thread Sam James
commit: 18445158d007918e445d4c4baf767b6124377402
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 31 02:01:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 31 02:17:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18445158

dev-perl/DBD-MariaDB: add 1.220.0

Signed-off-by: Sam James  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.220.0.ebuild | 92 +
 dev-perl/DBD-MariaDB/Manifest   |  1 +
 2 files changed, 93 insertions(+)

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 ..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 37da760e7067..7ab66d85ce36 100644
--- a/dev-perl/DBD-MariaDB/Manifest
+++ b/dev-perl/DBD-MariaDB/Manifest
@@ -1 +1,2 @@
 DIST DBD-MariaDB-1.21.tar.gz 179911 BLAKE2B 
dac1a868d64e792dc86ab46cea1fe2578ae691b9d6713cd83971c9ba0a3e2a0d8031c7be10dc66e4269c142aec1c54859e0e285faf9a29dc3cec7e3d8ad82a0e
 SHA512 
0378b33e9cd31ced6f2331967c7ea63a233340bb4a60ef2bbece4843b3a62624875aa1a5e61a9fa1b709ecc8d67810c6fa4fb9ccc01df341e6d94325078f360a
+DIST DBD-MariaDB-1.22.tar.gz 180783 BLAKE2B 
8125c0a1ce6858e29c894ea4e11a10fc8e3776cbf016537e6d4d492773690b915dc249ddeca881fa42b229597727602209487dcdb1af03da098e38f2652d5934
 SHA512 
f2bd16fa609b94bd5eb538b38b122dec6a4484da062f2cc84fa6ca4a5dfc30e7ff754a00ece22a3a30297c92b4fd3f878ab0e2a581b7082cd1b9a00f33e2b2c7



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2022-10-30 Thread Sam James
commit: 11630224b0c7bb536289ba7f1380bec74c7dc056
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 31 02:01:34 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 31 02:17:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11630224

dev-perl/DBD-MariaDB: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 dev-perl/DBD-MariaDB/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

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 @@
   
 DBD-MariaDB
 DBD::MariaDB
+gooddata/DBD-MariaDB
   
   
 Use dev-db/mariadb-connector-c as the 
client library



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2021-04-12 Thread Sam James
commit: c8759a0336edee751832ab5dd51132c344f5c1d9
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 10 06:00:36 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 12 22:49:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8759a03

dev-perl/DBD-MariaDB: fix EROOT in src_configure (VariableScope)

Signed-off-by: Sam James  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild
index e74bf61f8d2..e9689fb0918 100644
--- a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -60,7 +60,7 @@ src_configure() {
--testuser=test \
--testpassword=test"
fi
-   myconf+=" --${impl}_config=${EROOT}/usr/bin/${impl}_config"
+   myconf+=" --${impl}_config=${BROOT}/usr/bin/${impl}_config"
perl-module_src_configure
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2020-08-18 Thread Kent Fredric
commit: a90f82c56a29643f5c12dd80ba9b8ce008f458a5
Author: Kent Fredric  gentoo  org>
AuthorDate: Wed Aug 19 04:10:58 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Wed Aug 19 04:14:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90f82c5

dev-perl/DBD-MariaDB: Cleanup old 1.210.0

Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0.ebuild | 76 -
 1 file changed, 76 deletions(-)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0.ebuild
deleted file mode 100644
index 82ac4fa01fb..000
--- a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=PALI
-DIST_VERSION=1.21
-inherit perl-module
-
-DESCRIPTION="MariaDB and MySQL driver for the Perl5 Database Interface (DBI)"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test +mariadb mysql minimal"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="^^ ( mysql mariadb )"
-
-RDEPEND="
-   >=dev-perl/DBI-1.608.0
-   virtual/perl-XSLoader
-   mysql? ( dev-db/mysql-connector-c:0= )
-   mariadb? ( dev-db/mariadb-connector-c:0= )
-"
-# 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
-   impl=$(usex mariadb mariadb mysql)
-   if use test; then
-   myconf="${myconf} --testdb=test \
-   --testhost=localhost \
-   --testuser=test \
-   --testpassword=test"
-   fi
-   myconf+=" --${impl}_config=${EROOT%/}/usr/bin/${impl}_config"
-   perl-module_src_configure
-}
-
-src_test() {
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2020-07-18 Thread Kent Fredric
commit: 90151920640563dc219e07bf19ec1f7efeb2
Author: Kent Fredric  gentoo  org>
AuthorDate: Sat Jul 18 07:17:21 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Sat Jul 18 07:17:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90151920

dev-perl/DBD-MariaDB: Remove unneeded EROOT strip-slash

Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild
index 3bc688d8707..e74bf61f8d2 100644
--- a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild
@@ -60,7 +60,7 @@ src_configure() {
--testuser=test \
--testpassword=test"
fi
-   myconf+=" --${impl}_config=${EROOT%/}/usr/bin/${impl}_config"
+   myconf+=" --${impl}_config=${EROOT}/usr/bin/${impl}_config"
perl-module_src_configure
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2020-07-08 Thread Kent Fredric
commit: 89f42a16bfe26fd2edd335faa7457f93fce0d2fc
Author: Kent Fredric  gentoo  org>
AuthorDate: Wed Jul  8 10:10:31 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Wed Jul  8 10:11:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89f42a16

dev-perl/DBD-MariaDB: -r bump for EAPI7 + CFLAGS love

- EAPI7
- Ensure CFLAGS passed to compile
- Improve manual testing documentation

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild | 90 ++
 1 file changed, 90 insertions(+)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild
new file mode 100644
index 000..3bc688d8707
--- /dev/null
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0-r1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=PALI
+DIST_VERSION=1.21
+inherit perl-module
+
+DESCRIPTION="MariaDB and MySQL driver for the Perl5 Database Interface (DBI)"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test +mariadb mysql minimal"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="^^ ( mysql mariadb )"
+
+RDEPEND="
+   >=dev-perl/DBI-1.608.0
+   virtual/perl-XSLoader
+   mysql? ( dev-db/mysql-connector-c:0= )
+   mariadb? ( dev-db/mariadb-connector-c:0= )
+"
+DEPEND="
+   mysql? ( dev-db/mysql-connector-c:0= )
+   mariadb? ( dev-db/mariadb-connector-c:0= )
+"
+# 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
+   impl=$(usex mariadb mariadb mysql)
+   if use test; then
+   myconf="${myconf} --testdb=test \
+   --testhost=localhost \
+   --testuser=test \
+   --testpassword=test"
+   fi
+   myconf+=" --${impl}_config=${EROOT%/}/usr/bin/${impl}_config"
+   perl-module_src_configure
+}
+
+src_compile() {
+   mymake=(
+   "OPTIMIZE=${CFLAGS}"
+   )
+   perl-module_src_compile
+}
+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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2019-07-10 Thread Kent Fredric
commit: 990320f0a0a778e3b5daf82f77b6eafff7c79069
Author: Kent Fredric  gentoo  org>
AuthorDate: Wed Jul 10 14:07:49 2019 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Wed Jul 10 14:07:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=990320f0

dev-perl/DBD-MariaDB: Minor improvements in configure

- Simplify handling provider for backend
- Auto-chomp EROOT for future compat with EAPI7

Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Kent Fredric  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0.ebuild | 10 +++---
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0.ebuild
index f87dcb390c3..c9433204e7d 100644
--- a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0.ebuild
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0.ebuild
@@ -47,19 +47,15 @@ PERL_RM_FILES=(
 )
 
 src_configure() {
-
+   local impl
+   impl=$(usex mariadb mariadb mysql)
if use test; then
myconf="${myconf} --testdb=test \
--testhost=localhost \
--testuser=test \
--testpassword=test"
fi
-   if use mysql; then
-   myconf+=" --mysql_config=${EROOT}usr/bin/mysql_config"
-   fi
-   if use mariadb; then
-   myconf+=" --mariadb_config=${EROOT}usr/bin/mariadb_config"
-   fi
+   myconf+=" --${impl}_config=${EROOT%/}/usr/bin/${impl}_config"
perl-module_src_configure
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBD-MariaDB/

2019-07-10 Thread Kent Fredric
commit: 2a1454dc63f9ba2913d0068b1729f906bbf47a4e
Author: Kent Fredric  gentoo  org>
AuthorDate: Wed Jul 10 13:19:52 2019 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Wed Jul 10 13:20:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a1454dc

dev-perl/DBD-MariaDB: Add w/ version 1.210.0 re bug #669624

By request of Kerin Millar

Closes: https://bugs.gentoo.org/669624
Package-Manager: Portage-2.3.66, Repoman-2.3.16
Signed-off-by: Kent Fredric  gentoo.org>

 dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0.ebuild | 79 +
 dev-perl/DBD-MariaDB/Manifest   |  1 +
 dev-perl/DBD-MariaDB/metadata.xml   | 16 +
 3 files changed, 96 insertions(+)

diff --git a/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0.ebuild 
b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0.ebuild
new file mode 100644
index 000..f87dcb390c3
--- /dev/null
+++ b/dev-perl/DBD-MariaDB/DBD-MariaDB-1.210.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=PALI
+DIST_VERSION=1.21
+inherit perl-module
+
+DESCRIPTION="MariaDB and MySQL driver for the Perl5 Database Interface (DBI)"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test +mariadb mysql minimal"
+REQUIRED_USE="^^ ( mysql mariadb )"
+
+RDEPEND="
+   >=dev-perl/DBI-1.608.0
+   virtual/perl-XSLoader
+   mysql? ( dev-db/mysql-connector-c:0= )
+   mariadb? ( dev-db/mariadb-connector-c:0= )
+"
+# 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() {
+
+   if use test; then
+   myconf="${myconf} --testdb=test \
+   --testhost=localhost \
+   --testuser=test \
+   --testpassword=test"
+   fi
+   if use mysql; then
+   myconf+=" --mysql_config=${EROOT}usr/bin/mysql_config"
+   fi
+   if use mariadb; then
+   myconf+=" --mariadb_config=${EROOT}usr/bin/mariadb_config"
+   fi
+   perl-module_src_configure
+}
+
+src_test() {
+   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
new file mode 100644
index 000..37da760e706
--- /dev/null
+++ b/dev-perl/DBD-MariaDB/Manifest
@@ -0,0 +1 @@
+DIST DBD-MariaDB-1.21.tar.gz 179911 BLAKE2B 
dac1a868d64e792dc86ab46cea1fe2578ae691b9d6713cd83971c9ba0a3e2a0d8031c7be10dc66e4269c142aec1c54859e0e285faf9a29dc3cec7e3d8ad82a0e
 SHA512 
0378b33e9cd31ced6f2331967c7ea63a233340bb4a60ef2bbece4843b3a62624875aa1a5e61a9fa1b709ecc8d67810c6fa4fb9ccc01df341e6d94325078f360a

diff --git a/dev-perl/DBD-MariaDB/metadata.xml 
b/dev-perl/DBD-MariaDB/metadata.xml
new file mode 100644
index 000..2d5dd48ce05
--- /dev/null
+++ b/dev-perl/DBD-MariaDB/metadata.xml
@@ -0,0 +1,16 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+p...@gentoo.org
+Gentoo Perl Project
+  
+  
+DBD-MariaDB
+DBD::MariaDB
+  
+  
+Use dev-db/mariadb-connector-c as the 
client library
+Use dev-db/mysql-connector-c as the client 
library
+  
+