* [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBI-Shell/, dev-perl/DBI-Shell/files/
@ 2017-10-08 1:08 Kent Fredric
0 siblings, 0 replies; 3+ messages in thread
From: Kent Fredric @ 2017-10-08 1:08 UTC (permalink / raw
To: gentoo-commits
commit: e7678976ce60ae2df59609398f6010f55f637a4b
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 8 01:07:53 2017 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Sun Oct 8 01:07:53 2017 +0000
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 00000000000..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 00000000000..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 <kentnl@gentoo.org>
+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 00000000000..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 <kentnl@gentoo.org>
+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 => \&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 00000000000..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 <kentnl@gentoo.org>
+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 Term::ReadLine;
+ use Getopt::Long 2.17; # upgrade from CPAN if needed: http://www.perl.com/CPAN
+ use IO::File;
++use File::Spec ();
+
+ use DBI 1.00 qw(:sql_types :utils);
+ use DBI::Format;
+@@ -544,7 +545,8 @@ sub configuration {
+ $sh->{config_file} = $ENV{DBISH_CONFIG} || "$homedir/.dbish_config";
+ my $config;
+ if ($sh->{config_file} && -f $sh->{config_file}) {
+- $config = require $sh->{config_file};
++ my $full = File::Spec->rel2abs( $sh->{config_file} );
++ $config = require $full;
+ # allow for custom configuration options.
+ if (exists $config->{'options'} ) {
+ $sh->install_options( $config->{'options'} );
+--
+2.14.1
+
diff --git a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch b/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch
new file mode 100644
index 00000000000..46943c1266b
--- /dev/null
+++ b/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch
@@ -0,0 +1,25 @@
+From f44b8ba9d8cf954c76a967cbfb5d4182f109f8cf Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+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 c3a9ba2..7b240c9 100755
+--- a/lib/DBI/Format/SQLMinus.pm
++++ b/lib/DBI/Format/SQLMinus.pm
+@@ -155,6 +155,7 @@ sub header {
+
+ if ( exists $cf->{format} and defined $cf->{format} ) {
+ $format_names = $cf->{format};
++ no warnings 'redundant';
+ $width = length sprintf( $format_names, " " );
+ }
+
+--
+2.14.1
+
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBI-Shell/, dev-perl/DBI-Shell/files/
@ 2020-07-09 5:44 Kent Fredric
0 siblings, 0 replies; 3+ messages in thread
From: Kent Fredric @ 2020-07-09 5:44 UTC (permalink / raw
To: gentoo-commits
commit: f486cdd5a57c764cefda4982fd6b5f6b062fbd62
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 9 05:43:02 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Jul 9 05:44:18 2020 +0000
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 <kentnl <AT> 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 00000000000..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 00000000000..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 <kentnl@gentoo.org>
+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 @@
<name>Gentoo Perl Project</name>
</maintainer>
<longdescription>Provides dbish, a command line tool for interacting with
- any installed DBD module directly.</longdescription>
+ any installed DBD module directly, similar to a shell, or various
+ database's native shell-like client.</longdescription>
<upstream>
<remote-id type="cpan">DBI-Shell</remote-id>
<remote-id type="cpan-module">DBI::Format</remote-id>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBI-Shell/, dev-perl/DBI-Shell/files/
@ 2020-10-19 5:22 Kent Fredric
0 siblings, 0 replies; 3+ messages in thread
From: Kent Fredric @ 2020-10-19 5:22 UTC (permalink / raw
To: gentoo-commits
commit: e321cc317bcd384a9df898f37ca293c49023c913
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 19 04:03:39 2020 +0000
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Mon Oct 19 04:03:39 2020 +0000
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 <kentnl <AT> 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..00000000000
--- 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..00000000000
--- 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 <kentnl@gentoo.org>
-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
-
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-10-19 5:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-19 5:22 [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBI-Shell/, dev-perl/DBI-Shell/files/ Kent Fredric
-- strict thread matches above, loose matches on Subject: below --
2020-07-09 5:44 Kent Fredric
2017-10-08 1:08 Kent Fredric
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox