summaryrefslogtreecommitdiff
path: root/dev-perl/DBI-Shell
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/DBI-Shell
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/DBI-Shell')
-rw-r--r--dev-perl/DBI-Shell/DBI-Shell-11.950.0-r1.ebuild22
-rw-r--r--dev-perl/DBI-Shell/DBI-Shell-11.950.0-r2.ebuild27
-rw-r--r--dev-perl/DBI-Shell/Manifest10
-rw-r--r--dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-local-scalar.patch26
-rw-r--r--dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-nochrdir.patch26
-rw-r--r--dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-perl526.patch39
-rw-r--r--dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch25
-rw-r--r--dev-perl/DBI-Shell/metadata.xml29
8 files changed, 204 insertions, 0 deletions
diff --git a/dev-perl/DBI-Shell/DBI-Shell-11.950.0-r1.ebuild b/dev-perl/DBI-Shell/DBI-Shell-11.950.0-r1.ebuild
new file mode 100644
index 000000000000..9e8b3f4b8121
--- /dev/null
+++ b/dev-perl/DBI-Shell/DBI-Shell-11.950.0-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MODULE_AUTHOR=TLOWERY
+MODULE_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}"
+
+SRC_TEST="do"
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..5f323225be7c
--- /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/Manifest b/dev-perl/DBI-Shell/Manifest
new file mode 100644
index 000000000000..6a05e1d1d662
--- /dev/null
+++ b/dev-perl/DBI-Shell/Manifest
@@ -0,0 +1,10 @@
+AUX DBI-Shell-11.950.0-local-scalar.patch 690 SHA256 28500475588d8f9175784f0b1e64c1778ce4dc08ac805631cbba0f3a35f242bc SHA512 cea9657bcdf674cb1a30aaa28d4f7bea173bedbb07dd14b60866cd423f403f3946323d2831eeac6c9dc7387f15a4ce0b49e43d20b855ca177a172f5f44494057 WHIRLPOOL 1f043d906254f1c7ac1ff7b0785e13dade7cf588f067285fe10250fc6e499a2a3b24a988b8a3aceebbabcd97d10b38527ade1a1c5999c1e484221bb9b8e06e83
+AUX DBI-Shell-11.950.0-nochrdir.patch 684 SHA256 d8707de43c0e9695c56c7fa179544af43ebde5840e15c7b2959dc707b5658c3b SHA512 95092f59cec232be5e8bab7973cd99040e25eaf77212f1673cf67f93458417b4b11f596d113f0a53385608e920d0e007a580e62733b65e72ea3a28677fb4eed8 WHIRLPOOL d099b609e07e4040b05363d73c3847ef27fa0749cebc1bbc98f984ecbc351876f50435e9bf90c89826a0824840c6b073e9dae146928769d5239b884cccf0ff6a
+AUX DBI-Shell-11.950.0-perl526.patch 1291 SHA256 4164f7a3626cc652dbb2b45c7f6bb7025c97e1fe9d7c83ff324c725c2c22c1a4 SHA512 aa8bd8a9a149052da8aef526cf8b992bdfa5ca150028d68387de8a83cb1648da9a9e32f78fa136c66f32c3cd460bd0164b2cbcb3b60b6faa5d9b87c5784b789b WHIRLPOOL 6b441c19c62dbabf7824204fa7118a0d3b082a651b5dddb0099ecff9bccbb0c9233fdb65be8e23a9f0c1619bc04673b1f2ba39c76a92d08bd18c36d5e954242d
+AUX DBI-Shell-11.950.0-sprintf-warn.patch 732 SHA256 cb8755b0a5964599dcb737111c9800ccb6e9e219fd0da7eb39e693b098941af2 SHA512 2808715da12581e22fceb71057fa5080188af8e5a6b1c4375b0a050973477d66f2a91f1ff473d7f3b5da19f73d06e02bd5221aa908d7d2e948ca6ca1cb1d21a2 WHIRLPOOL 2f6c014f306c4bdf177e681609bb8f69cf4e49a6624e1a139741099103091de769c285b6bfdbce3b22a923596b6b8b9e0ae6a780a88517f5ec67d7c0338999b1
+DIST DBI-Shell-11.95.tar.gz 51147 SHA256 44aa76c90a425d4aff9e2580a6baf334a5102fb794fbdb26e301294c190cbed9 SHA512 a19fa2573dc20cb6844a523653f588da1eca56b4e8138b789cd7aa5c50b255ee4b374eda9baae588b5bdcd42183c9384f1fb8234d11022e02cb7f81dc0bd6c84 WHIRLPOOL e3e7d259b866de78188a5e2473c11e431ec940ea2c587be6870bf54ee113c70b062b8664a43fa71aa8f48a9520cc960705bf29d4475b1b9a52efe3bdb95adb91
+EBUILD DBI-Shell-11.950.0-r1.ebuild 395 SHA256 ccc2d7dee2d5dac11d92c3d5959921301d2ec3b162bd1a58c24f2307d92b01cf SHA512 e5ea5f2765b62025b9997943d0ff09e16f75dc61b4f3a66d30960664a9beb3b213e16cd128a8f7d0d3e1891d720409cfce0476a7b4159a420c9139e452e29628 WHIRLPOOL 582f71fea9c04d6ba119e8731bb8f64ca420a68e833ca644e96447bbae47dac6ba42376000da1d5da41cd8a41743521aeb7fb2a1ae3c1b73fa82dfa0f27ff9ce
+EBUILD DBI-Shell-11.950.0-r2.ebuild 539 SHA256 4d959c703d0a1204e66c07df04b95e00e63ca8e64f363befdd385529bc944714 SHA512 152b1cc574a77daa4b7965b12f96d1271ddde4d9eca89f59ca4b1c5b0b90eb1cac44e410ba79db716c9342e9ff39c1c0dde1a5a5721f6370aec8acd2a035311a WHIRLPOOL 810793caf97e94b67f51779e77076de8191df340d8caecea4169466f071b70defe0af995832cc56adb90659a1d26724b175f10780306581cff69341579cf6c1d
+MISC ChangeLog 2777 SHA256 bb67c6ba0f219178d3e3d6dd2ee2c05706b9e9d289ba9965eace47476151c647 SHA512 1577b61460e3408ab1ebe991ecba967f849acf3288c0ff7605a17e047c8cde61f366c5e656744fddde629c3f0cc94717c78c4cb273548bf2d1f55d2d7ac447fb WHIRLPOOL 9ac0b8bb3d9e9c57632090c01d4fbdfd7677abe36cc9265e21470d1d58408471bdfb995112fb40a1ae50e524dc180b086f344072401ec1e9d3423dd3e4937e93
+MISC ChangeLog-2015 2916 SHA256 3396393e766449b76b366044615b8c167059340d4cff01552d5d67f017ef87bf SHA512 1e34c718b86d0682da868e683d9d6f23fc4f36168dc47517e18e772fa770d5ffe8d6b7b5533d2b04f5f645245a2cb7f01a4fe3f5d8fba901cf3505cdea0a7706 WHIRLPOOL 990d2cb6946b53aa9d8e78cdca3718840336708977af25ffdead2c31dd71d2d5bc8143bc5b1c6428e7d9e1c811354c7ae0e332c7137d67671d96a53d73ced885
+MISC metadata.xml 1496 SHA256 252087d9f3abf239b38080eaa94bb8f8b6298001dcf5589190bb1a14fb7b3052 SHA512 5d74012cb442d406756cd2002bd6cfddabce8c60b713411fd62faed6af78304ea34b982079edea5738cca7372cf37bf6391b94f3095161b043adce8469c64932 WHIRLPOOL 56d92b947c5adff443ccf9142acacca24f5a1026840a7c674da1bf4cb513133de16b6ca176f779d4bd95276ecf16df87e25f85b9928e3a6077cab0caad978bef
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>