forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
16bd238
commit f486cdd
Showing
4 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
25 changes: 25 additions & 0 deletions
25
dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From e04b6dc11fa15b4ab6da3fb1e826def507d9f0b5 Mon Sep 17 00:00:00 2001 | ||
From: Kent Fredric <[email protected]> | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters