From f486cdd5a57c764cefda4982fd6b5f6b062fbd62 Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Thu, 9 Jul 2020 17:43:02 +1200 Subject: 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 --- 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(-) create mode 100644 dev-perl/DBI-Shell/DBI-Shell-11.960.0.ebuild create mode 100644 dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch 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 000000000000..780b3b80be60 --- /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 98ac8440baaa..42090e2f71bb 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 000000000000..930b22026d45 --- /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 cde1179c96e0..1f9c3a4a9d78 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 -- cgit v1.2.3-65-gdbad