[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBI-Shell/, dev-perl/DBI-Shell/files/

2020-10-18 Thread Kent Fredric
commit: e321cc317bcd384a9df898f37ca293c49023c913
Author: Kent Fredric  gentoo  org>
AuthorDate: Mon Oct 19 04:03:39 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Mon Oct 19 04:03:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e321cc31

dev-perl/DBI-Shell: Cleanup old 11.960.0

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

 dev-perl/DBI-Shell/DBI-Shell-11.960.0.ebuild   | 40 --
 dev-perl/DBI-Shell/Manifest|  1 -
 .../files/DBI-Shell-11.96-sprintf-warn.patch   | 25 --
 3 files changed, 66 deletions(-)

diff --git a/dev-perl/DBI-Shell/DBI-Shell-11.960.0.ebuild 
b/dev-perl/DBI-Shell/DBI-Shell-11.960.0.ebuild
deleted file mode 100644
index 780b3b80be6..000
--- a/dev-perl/DBI-Shell/DBI-Shell-11.960.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DIST_AUTHOR=DLAMBLEY
-DIST_VERSION=11.96
-inherit perl-module
-
-DESCRIPTION="Interactive command shell for the DBI"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   virtual/perl-Carp
-   dev-perl/DBI
-   virtual/perl-Data-Dumper
-   virtual/perl-Exporter
-   >=dev-perl/File-HomeDir-0.500.0
-   virtual/perl-File-Spec
-   dev-perl/IO-Interactive
-   dev-perl/IO-Tee
-   virtual/perl-Term-ReadLine
-   dev-perl/Text-CSV_XS
-   dev-perl/Text-Reform
-"
-BDEPEND="${RDEPEND}
-   virtual/perl-ExtUtils-MakeMaker
-   test? (
-   >=virtual/perl-Getopt-Long-2.170.0
-   virtual/perl-Test-Simple
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-11.96-sprintf-warn.patch"
-)

diff --git a/dev-perl/DBI-Shell/Manifest b/dev-perl/DBI-Shell/Manifest
index f4e802f917f..55e8ccddc80 100644
--- a/dev-perl/DBI-Shell/Manifest
+++ b/dev-perl/DBI-Shell/Manifest
@@ -1,3 +1,2 @@
 DIST DBI-Shell-11.95.tar.gz 51147 BLAKE2B 
299d553eccd1c295b4221997d2ee95ebb1f0b865691e78d9864ab6ad39190593e3286551f7484f8e5dd028e126c3e7a9d5c3e3e73fa52ab7cdaaea6318257365
 SHA512 
a19fa2573dc20cb6844a523653f588da1eca56b4e8138b789cd7aa5c50b255ee4b374eda9baae588b5bdcd42183c9384f1fb8234d11022e02cb7f81dc0bd6c84
-DIST DBI-Shell-11.96.tar.gz 55409 BLAKE2B 
b580694b18f0a6955eb5981bf6454b30c30e50d1583a0b524ce47e0296baa7a3256c17be30329c278e1241b67780cab22bac53c30368609ab06eb50449dfe554
 SHA512 
772ec181c0ad0b1805bae25758168c66154843e8e86c84a6cb7919ed1c5e487f6ca9d206f496f688e0ddf792814358436098190598f941056ddca53a9ec46ccf
 DIST DBI-Shell-11.97.tar.gz 57123 BLAKE2B 
0c4d459dda185b6fb2ea292912da4624e1a4ed33aa4487eabf5c6c5be6571c1e8d32b29b703749fe562ebbd60aa389f62d5e3461863c5777490345451bf8cad8
 SHA512 
74bf7244691b8dee967bae4076b59b912d66ac08f48f8468531d003db6d85d43d836116f8314961602a002b58fc9f6d3bea88076e1d7e2783d430137dec68f4b

diff --git a/dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch 
b/dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch
deleted file mode 100644
index 930b22026d4..000
--- a/dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From e04b6dc11fa15b4ab6da3fb1e826def507d9f0b5 Mon Sep 17 00:00:00 2001
-From: Kent Fredric 
-Date: Sun, 8 Oct 2017 13:30:36 +1300
-Subject: Silence warnings about reduntant sprintf args
-
-Bug: https://rt.cpan.org/Ticket/Display.html?id=123216

- lib/DBI/Format/SQLMinus.pm | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/lib/DBI/Format/SQLMinus.pm b/lib/DBI/Format/SQLMinus.pm
-index ce1d096..c7948a8 100644
 a/lib/DBI/Format/SQLMinus.pm
-+++ b/lib/DBI/Format/SQLMinus.pm
-@@ -151,6 +151,7 @@ sub header {
- 
-   if ( exists $cf->{format} and defined 
$cf->{format} ) {
-   $format_names = $cf->{format};
-+  no warnings 'redundant';
-   $width = length sprintf( $format_names, 
" " );
-   }
- 
--- 
-2.27.0
-



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBI-Shell/, dev-perl/DBI-Shell/files/

2020-07-08 Thread Kent Fredric
commit: f486cdd5a57c764cefda4982fd6b5f6b062fbd62
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Jul  9 05:43:02 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Jul  9 05:44:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f486cdd5

dev-perl/DBI-Shell: Bump to version 11.960.0

- EAPI7
- Many patches upstreamed.

Upstream:
- Automatically save command history
- Employ IO::Interactive
- Remove warning from File::Find
- Permit empty passwords
- Fix tests without '.' in @INC

Keywords:
- Droppped ~ppc due to new dependency dev-perl/IO-Interactive

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

 dev-perl/DBI-Shell/DBI-Shell-11.960.0.ebuild   | 40 ++
 dev-perl/DBI-Shell/Manifest|  1 +
 .../files/DBI-Shell-11.96-sprintf-warn.patch   | 25 ++
 dev-perl/DBI-Shell/metadata.xml|  3 +-
 4 files changed, 68 insertions(+), 1 deletion(-)

diff --git a/dev-perl/DBI-Shell/DBI-Shell-11.960.0.ebuild 
b/dev-perl/DBI-Shell/DBI-Shell-11.960.0.ebuild
new file mode 100644
index 000..780b3b80be6
--- /dev/null
+++ b/dev-perl/DBI-Shell/DBI-Shell-11.960.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=DLAMBLEY
+DIST_VERSION=11.96
+inherit perl-module
+
+DESCRIPTION="Interactive command shell for the DBI"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   virtual/perl-Carp
+   dev-perl/DBI
+   virtual/perl-Data-Dumper
+   virtual/perl-Exporter
+   >=dev-perl/File-HomeDir-0.500.0
+   virtual/perl-File-Spec
+   dev-perl/IO-Interactive
+   dev-perl/IO-Tee
+   virtual/perl-Term-ReadLine
+   dev-perl/Text-CSV_XS
+   dev-perl/Text-Reform
+"
+BDEPEND="${RDEPEND}
+   virtual/perl-ExtUtils-MakeMaker
+   test? (
+   >=virtual/perl-Getopt-Long-2.170.0
+   virtual/perl-Test-Simple
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-11.96-sprintf-warn.patch"
+)

diff --git a/dev-perl/DBI-Shell/Manifest b/dev-perl/DBI-Shell/Manifest
index 98ac8440baa..42090e2f71b 100644
--- a/dev-perl/DBI-Shell/Manifest
+++ b/dev-perl/DBI-Shell/Manifest
@@ -1 +1,2 @@
 DIST DBI-Shell-11.95.tar.gz 51147 BLAKE2B 
299d553eccd1c295b4221997d2ee95ebb1f0b865691e78d9864ab6ad39190593e3286551f7484f8e5dd028e126c3e7a9d5c3e3e73fa52ab7cdaaea6318257365
 SHA512 
a19fa2573dc20cb6844a523653f588da1eca56b4e8138b789cd7aa5c50b255ee4b374eda9baae588b5bdcd42183c9384f1fb8234d11022e02cb7f81dc0bd6c84
+DIST DBI-Shell-11.96.tar.gz 55409 BLAKE2B 
b580694b18f0a6955eb5981bf6454b30c30e50d1583a0b524ce47e0296baa7a3256c17be30329c278e1241b67780cab22bac53c30368609ab06eb50449dfe554
 SHA512 
772ec181c0ad0b1805bae25758168c66154843e8e86c84a6cb7919ed1c5e487f6ca9d206f496f688e0ddf792814358436098190598f941056ddca53a9ec46ccf

diff --git a/dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch 
b/dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch
new file mode 100644
index 000..930b22026d4
--- /dev/null
+++ b/dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch
@@ -0,0 +1,25 @@
+From e04b6dc11fa15b4ab6da3fb1e826def507d9f0b5 Mon Sep 17 00:00:00 2001
+From: Kent Fredric 
+Date: Sun, 8 Oct 2017 13:30:36 +1300
+Subject: Silence warnings about reduntant sprintf args
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=123216
+---
+ lib/DBI/Format/SQLMinus.pm | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/DBI/Format/SQLMinus.pm b/lib/DBI/Format/SQLMinus.pm
+index ce1d096..c7948a8 100644
+--- a/lib/DBI/Format/SQLMinus.pm
 b/lib/DBI/Format/SQLMinus.pm
+@@ -151,6 +151,7 @@ sub header {
+ 
+   if ( exists $cf->{format} and defined 
$cf->{format} ) {
+   $format_names = $cf->{format};
++  no warnings 'redundant';
+   $width = length sprintf( $format_names, 
" " );
+   }
+ 
+-- 
+2.27.0
+

diff --git a/dev-perl/DBI-Shell/metadata.xml b/dev-perl/DBI-Shell/metadata.xml
index cde1179c96e..1f9c3a4a9d7 100644
--- a/dev-perl/DBI-Shell/metadata.xml
+++ b/dev-perl/DBI-Shell/metadata.xml
@@ -6,7 +6,8 @@
 Gentoo Perl Project
   
   Provides dbish, a command line tool for interacting with
-  any installed DBD module directly.
+  any installed DBD module directly, similar to a shell, or various
+  database's native shell-like client.
   
 DBI-Shell
 DBI::Format



[gentoo-commits] repo/gentoo:master commit in: dev-perl/DBI-Shell/, dev-perl/DBI-Shell/files/

2017-10-07 Thread Kent Fredric
commit: e7678976ce60ae2df59609398f6010f55f637a4b
Author: Kent Fredric  gentoo  org>
AuthorDate: Sun Oct  8 01:07:53 2017 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Sun Oct  8 01:07:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7678976

dev-perl/DBI-Shell: Fix '.' in @INC w/ rbump bug #615592

- EAPI6
- Fix (runtime) '.' in @INC issue
- fix no_chrdir issue with newer File::Find
- fix localisation of $^W ( started warning in 5.10 )
- silenct warning about excess sprintf

Bug: https://bugs.gentoo.org/615592
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/DBI-Shell/DBI-Shell-11.950.0-r2.ebuild| 27 +++
 .../files/DBI-Shell-11.950.0-local-scalar.patch| 26 +++
 .../files/DBI-Shell-11.950.0-nochrdir.patch| 26 +++
 .../files/DBI-Shell-11.950.0-perl526.patch | 39 ++
 .../files/DBI-Shell-11.950.0-sprintf-warn.patch| 25 ++
 5 files changed, 143 insertions(+)

diff --git a/dev-perl/DBI-Shell/DBI-Shell-11.950.0-r2.ebuild 
b/dev-perl/DBI-Shell/DBI-Shell-11.950.0-r2.ebuild
new file mode 100644
index 000..5f323225be7
--- /dev/null
+++ b/dev-perl/DBI-Shell/DBI-Shell-11.950.0-r2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=TLOWERY
+DIST_VERSION=11.95
+inherit perl-module
+
+DESCRIPTION="Interactive command shell for the DBI"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="dev-perl/IO-Tee
+   dev-perl/Text-Reform
+   dev-perl/DBI
+   dev-perl/Text-CSV_XS"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/${P}-perl526.patch"
+   "${FILESDIR}/${P}-local-scalar.patch"
+   "${FILESDIR}/${P}-nochrdir.patch"
+   "${FILESDIR}/${P}-sprintf-warn.patch"
+)

diff --git a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-local-scalar.patch 
b/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-local-scalar.patch
new file mode 100644
index 000..1d305f542d9
--- /dev/null
+++ b/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-local-scalar.patch
@@ -0,0 +1,26 @@
+From ef8efc5b80c9395c01f23e5acd28bb3ee7810b54 Mon Sep 17 00:00:00 2001
+From: Kent Fredric 
+Date: Sun, 8 Oct 2017 13:08:20 +1300
+Subject: Fix useless localization of scalar assignment
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=73873
+---
+ lib/DBI/Format.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/DBI/Format.pm b/lib/DBI/Format.pm
+index 49cd7dd..bc985f9 100755
+--- a/lib/DBI/Format.pm
 b/lib/DBI/Format.pm
+@@ -374,7 +374,7 @@ sub header {
+ 
+ sub row {
+ my($self, $rowref) = @_;
+-  local( $^W = 0 );
++  local ($^W) = 0;
+ my @row = @$rowref;
+   my $fh = $self->{'fh'};
+   print $fh (join($self->{sep}, @row), "\n");
+-- 
+2.14.1
+

diff --git a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-nochrdir.patch 
b/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-nochrdir.patch
new file mode 100644
index 000..b79649da4f5
--- /dev/null
+++ b/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-nochrdir.patch
@@ -0,0 +1,26 @@
+From 9fb29d16514530245965b932040bb4fc37ffa9bf Mon Sep 17 00:00:00 2001
+From: Kent Fredric 
+Date: Sun, 8 Oct 2017 13:11:29 +1300
+Subject: Fix no_chrdir warning
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=123215
+---
+ lib/DBI/Shell/FindSqlFile.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/DBI/Shell/FindSqlFile.pm b/lib/DBI/Shell/FindSqlFile.pm
+index e604290..2b56ccc 100644
+--- a/lib/DBI/Shell/FindSqlFile.pm
 b/lib/DBI/Shell/FindSqlFile.pm
+@@ -62,7 +62,7 @@ sub look_for_file {
+   File::Find::find(
+   {
+ wanted=> \
+-  , no_chrdir => 1
++  , no_chdir  => 1
+   , bydepth   => 0
+   }, 
+   @search_path);
+-- 
+2.14.1
+

diff --git a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-perl526.patch 
b/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-perl526.patch
new file mode 100644
index 000..cd8258480d7
--- /dev/null
+++ b/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-perl526.patch
@@ -0,0 +1,39 @@
+From 792cf15cb387e58cec1ef3c6d538689d02ab44c3 Mon Sep 17 00:00:00 2001
+From: Kent Fredric 
+Date: Sun, 8 Oct 2017 12:46:17 +1300
+Subject: Fix '.' removal from @INC in Perl 5.26
+
+Configuration files were always assumed to be explicit paths given
+by outsiders, not random entries in @INC
+
+Bug: https://bugs.gentoo.org/615592
+Bug: https://rt.cpan.org/Ticket/Display.html?id=121136
+---
+ lib/DBI/Shell.pm | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/lib/DBI/Shell.pm b/lib/DBI/Shell.pm
+index 03dd958..7869f0f 100755
+--- a/lib/DBI/Shell.pm
 b/lib/DBI/Shell.pm
+@@ -133,6 +133,7 @@ use Text::Abbrev ();
+ use