diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/DBI-Shell | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/DBI-Shell')
-rw-r--r-- | dev-perl/DBI-Shell/DBI-Shell-11.950.0-r2.ebuild | 27 | ||||
-rw-r--r-- | dev-perl/DBI-Shell/Manifest | 7 | ||||
-rw-r--r-- | dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-local-scalar.patch | 26 | ||||
-rw-r--r-- | dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-nochrdir.patch | 26 | ||||
-rw-r--r-- | dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-perl526.patch | 39 | ||||
-rw-r--r-- | dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch | 25 | ||||
-rw-r--r-- | dev-perl/DBI-Shell/metadata.xml | 29 |
7 files changed, 179 insertions, 0 deletions
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 000000000000..6167612c4c34 --- /dev/null +++ b/dev-perl/DBI-Shell/DBI-Shell-11.950.0-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 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/Manifest b/dev-perl/DBI-Shell/Manifest new file mode 100644 index 000000000000..9f142de78173 --- /dev/null +++ b/dev-perl/DBI-Shell/Manifest @@ -0,0 +1,7 @@ +AUX DBI-Shell-11.950.0-local-scalar.patch 690 BLAKE2B 9c335d431c36c290a8de8b2dae1b8cf042f9500ad1604350b065964df838f2a695af1112dcaaec5b408bc126c5bc70a4cbd92e3d63179925f37281863997f1d9 SHA512 cea9657bcdf674cb1a30aaa28d4f7bea173bedbb07dd14b60866cd423f403f3946323d2831eeac6c9dc7387f15a4ce0b49e43d20b855ca177a172f5f44494057 +AUX DBI-Shell-11.950.0-nochrdir.patch 684 BLAKE2B 5172afa840872076088ac9ce367ea5cc5aaf8c0169e9948e0645a58dceeabf8b79c7957155cd99d0670fc53d5314e0ca98ad80f2e65a386a9c765d6deb59937b SHA512 95092f59cec232be5e8bab7973cd99040e25eaf77212f1673cf67f93458417b4b11f596d113f0a53385608e920d0e007a580e62733b65e72ea3a28677fb4eed8 +AUX DBI-Shell-11.950.0-perl526.patch 1291 BLAKE2B 34a23fa7e9bc4071a07ae227cfacc60fa6c332c9fd3e9d04c2888d8f8a8b501087b3c9cd11fbea268562e029d11e984ac47c09783eb2cc89f64e6f46f30bd251 SHA512 aa8bd8a9a149052da8aef526cf8b992bdfa5ca150028d68387de8a83cb1648da9a9e32f78fa136c66f32c3cd460bd0164b2cbcb3b60b6faa5d9b87c5784b789b +AUX DBI-Shell-11.950.0-sprintf-warn.patch 732 BLAKE2B 4866aa33b1cc810201ad88ffe3f04a120ebe31e08076ace85f81418f5c2720e97a70ca6b1140d3ca8f343ddbe313ffbf3989614a475aae43568d3e9a85976083 SHA512 2808715da12581e22fceb71057fa5080188af8e5a6b1c4375b0a050973477d66f2a91f1ff473d7f3b5da19f73d06e02bd5221aa908d7d2e948ca6ca1cb1d21a2 +DIST DBI-Shell-11.95.tar.gz 51147 BLAKE2B 299d553eccd1c295b4221997d2ee95ebb1f0b865691e78d9864ab6ad39190593e3286551f7484f8e5dd028e126c3e7a9d5c3e3e73fa52ab7cdaaea6318257365 SHA512 a19fa2573dc20cb6844a523653f588da1eca56b4e8138b789cd7aa5c50b255ee4b374eda9baae588b5bdcd42183c9384f1fb8234d11022e02cb7f81dc0bd6c84 +EBUILD DBI-Shell-11.950.0-r2.ebuild 536 BLAKE2B c3a807838ce300c2c5ffab50b5c366cb2b7a03798bf7cea239ee88a43b92a526db58583d7b9e2db4bb2a9c971a74f0e89f94eb9f41196b15c65e19dad4b1cd96 SHA512 c89696be45dff3644be42c5e31817d0e823d837be5c71ceb20320b98bf05c1cd535a102446301d82211d74d1dc5b61db278402d1d6a54e0bfd1861b07a4c69db +MISC metadata.xml 1496 BLAKE2B bc49edb7aea2d4326f8b0448b3c0c2c6a2bee66547f3a4381cf8e77d12bc2a41fddb5d71f16548e79a55d05c7ee4f3cd1ff2ba3dba10f75ad662138947c7db8a SHA512 5d74012cb442d406756cd2002bd6cfddabce8c60b713411fd62faed6af78304ea34b982079edea5738cca7372cf37bf6391b94f3095161b043adce8469c64932 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 000000000000..1d305f542d9e --- /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 000000000000..b79649da4f5c --- /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 000000000000..cd8258480d70 --- /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 000000000000..46943c1266ba --- /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 + diff --git a/dev-perl/DBI-Shell/metadata.xml b/dev-perl/DBI-Shell/metadata.xml new file mode 100644 index 000000000000..cde1179c96e0 --- /dev/null +++ b/dev-perl/DBI-Shell/metadata.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <longdescription>Provides dbish, a command line tool for interacting with + any installed DBD module directly.</longdescription> + <upstream> + <remote-id type="cpan">DBI-Shell</remote-id> + <remote-id type="cpan-module">DBI::Format</remote-id> + <remote-id type="cpan-module">DBI::Format::Base</remote-id> + <remote-id type="cpan-module">DBI::Format::Box</remote-id> + <remote-id type="cpan-module">DBI::Format::CSV</remote-id> + <remote-id type="cpan-module">DBI::Format::HTML</remote-id> + <remote-id type="cpan-module">DBI::Format::Neat</remote-id> + <remote-id type="cpan-module">DBI::Format::PartBox</remote-id> + <remote-id type="cpan-module">DBI::Format::Raw</remote-id> + <remote-id type="cpan-module">DBI::Format::SQLMinus</remote-id> + <remote-id type="cpan-module">DBI::Format::String</remote-id> + <remote-id type="cpan-module">DBI::Shell</remote-id> + <remote-id type="cpan-module">DBI::Shell::Completion</remote-id> + <remote-id type="cpan-module">DBI::Shell::FindSqlFile</remote-id> + <remote-id type="cpan-module">DBI::Shell::SQLMinus</remote-id> + <remote-id type="cpan-module">DBI::Shell::Spool</remote-id> + <remote-id type="cpan-module">DBI::Shell::Timing</remote-id> + </upstream> +</pkgmetadata> |