summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2020-07-09 17:43:02 +1200
committerKent Fredric <kentnl@gentoo.org>2020-07-09 17:44:18 +1200
commitf486cdd5a57c764cefda4982fd6b5f6b062fbd62 (patch)
tree6ef970fae5afb7bac4e341fb380679559402f40b /dev-perl/DBI-Shell
parentdev-python/flask-wtf: Stabilize 0.14.3 ALLARCHES, #731384 (diff)
downloadgentoo-f486cdd5a57c764cefda4982fd6b5f6b062fbd62.tar.gz
gentoo-f486cdd5a57c764cefda4982fd6b5f6b062fbd62.tar.bz2
gentoo-f486cdd5a57c764cefda4982fd6b5f6b062fbd62.zip
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@gentoo.org>
Diffstat (limited to 'dev-perl/DBI-Shell')
-rw-r--r--dev-perl/DBI-Shell/DBI-Shell-11.960.0.ebuild40
-rw-r--r--dev-perl/DBI-Shell/Manifest1
-rw-r--r--dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch25
-rw-r--r--dev-perl/DBI-Shell/metadata.xml3
4 files changed, 68 insertions, 1 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
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 <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 cde1179c96e0..1f9c3a4a9d78 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>