summaryrefslogtreecommitdiff
path: root/dev-perl/DBIx-SearchBuilder
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/DBIx-SearchBuilder
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/DBIx-SearchBuilder')
-rw-r--r--dev-perl/DBIx-SearchBuilder/DBIx-SearchBuilder-1.660.0-r1.ebuild40
-rw-r--r--dev-perl/DBIx-SearchBuilder/DBIx-SearchBuilder-1.670.0.ebuild43
-rw-r--r--dev-perl/DBIx-SearchBuilder/Manifest6
-rw-r--r--dev-perl/DBIx-SearchBuilder/files/DBIx-SearchBuilder-1.66-no-dot-inc.patch341
-rw-r--r--dev-perl/DBIx-SearchBuilder/metadata.xml27
5 files changed, 457 insertions, 0 deletions
diff --git a/dev-perl/DBIx-SearchBuilder/DBIx-SearchBuilder-1.660.0-r1.ebuild b/dev-perl/DBIx-SearchBuilder/DBIx-SearchBuilder-1.660.0-r1.ebuild
new file mode 100644
index 000000000000..be766d47c290
--- /dev/null
+++ b/dev-perl/DBIx-SearchBuilder/DBIx-SearchBuilder-1.660.0-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MODULE_AUTHOR=ALEXMV
+MODULE_VERSION=1.66
+inherit perl-module
+
+DESCRIPTION="Encapsulate SQL queries and rows in simple Perl objects"
+
+SLOT="0"
+KEYWORDS="amd64 hppa ~ppc x86"
+IUSE="test"
+
+RDEPEND="
+ >=dev-perl/Cache-Simple-TimedExpiry-0.210.0
+ >=dev-perl/capitalization-0.30.0
+ >=dev-perl/Class-ReturnValue-0.400.0
+ dev-perl/Class-Accessor
+ dev-perl/Clone
+ dev-perl/DBI
+ dev-perl/DBIx-DBSchema
+ dev-perl/Want
+"
+DEPEND="
+ test? ( ${RDEPEND}
+ >=virtual/perl-Test-Simple-0.520.0
+ dev-perl/DBD-SQLite
+ virtual/perl-File-Temp
+ )
+"
+
+SRC_TEST="do"
+PATCHES=( "${FILESDIR}/${PN}"-1.66-no-dot-inc.patch )
+
+src_prepare() {
+ use test && perl_rm_files t/pod.t
+ perl-module_src_prepare
+}
diff --git a/dev-perl/DBIx-SearchBuilder/DBIx-SearchBuilder-1.670.0.ebuild b/dev-perl/DBIx-SearchBuilder/DBIx-SearchBuilder-1.670.0.ebuild
new file mode 100644
index 000000000000..9be2396b8a2e
--- /dev/null
+++ b/dev-perl/DBIx-SearchBuilder/DBIx-SearchBuilder-1.670.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=BPS
+DIST_VERSION=1.67
+DIST_EXAMPLES=("ex/*")
+inherit perl-module
+
+DESCRIPTION="Encapsulate SQL queries and rows in simple Perl objects"
+
+SLOT="0"
+KEYWORDS="amd64 ~hppa ~ppc x86"
+IUSE="test"
+
+RDEPEND="
+ >=dev-perl/Cache-Simple-TimedExpiry-0.210.0
+ >=dev-perl/capitalization-0.30.0
+ >=dev-perl/Class-ReturnValue-0.400.0
+ dev-perl/Class-Accessor
+ dev-perl/Clone
+ dev-perl/DBI
+ dev-perl/DBIx-DBSchema
+ dev-perl/Want
+ >=virtual/perl-Encode-1.990.0
+ virtual/perl-Scalar-List-Utils
+"
+DEPEND="${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-6.360.0
+ test? (
+ >=virtual/perl-Test-Simple-0.520.0
+ dev-perl/DBD-SQLite
+ virtual/perl-File-Temp
+ )
+"
+
+PATCHES=( "${FILESDIR}/${PN}"-1.66-no-dot-inc.patch )
+
+src_prepare() {
+ use test && perl_rm_files t/pod.t
+ perl-module_src_prepare
+}
diff --git a/dev-perl/DBIx-SearchBuilder/Manifest b/dev-perl/DBIx-SearchBuilder/Manifest
new file mode 100644
index 000000000000..1fd39bf1dde5
--- /dev/null
+++ b/dev-perl/DBIx-SearchBuilder/Manifest
@@ -0,0 +1,6 @@
+AUX DBIx-SearchBuilder-1.66-no-dot-inc.patch 8976 BLAKE2B 6e0a20539b99f2b80040b539b194d6ef6c1c69c4f9eba3bfaba658a8bc07050b869d60d1ca28e78e81a55032361d1595f0f34cd61541977c6e26eac2108a41f5 SHA512 ad733760ccc8b6dadd7238e0b8cd5e3cd34b6921e2483f0a3a6d8596623b4b8132c5d70cf4166e671f57f1950417d8e5c5564f9828c4625796a7e4b3f633d2f8
+DIST DBIx-SearchBuilder-1.66.tar.gz 114777 BLAKE2B dc1684c8cfd7d29b4f2900649d4aa57a4ae873d2456d66e979f96981286c1dbc57339df91c830f58ef7d08dee567fff28d3a02643119585cd3800526c66d11bc SHA512 e27513701a0712a9d7926c8e0966ee23d60163996c40a83e8d45164af8f9008bb7cf6a567ca1cb8d0226bb8fcf7bf9f1570277fb849c55095d8532ac356d5d95
+DIST DBIx-SearchBuilder-1.67.tar.gz 115193 BLAKE2B 9ad670069826d0cc109e61834d425f5c2fc29d7709f36f73a23820636b8bed3ac45b563df115b8a5448014672a5b68db2183ca7180eee590aff6ed388715dca0 SHA512 8cade12f01da749356a3c1b167f46e0377934e01832548baebfa629e71c3199ce473a63077ee5ac5ed58f805f7cb883bd8d0886d2ecf27f4740eafbb30f91bae
+EBUILD DBIx-SearchBuilder-1.660.0-r1.ebuild 791 BLAKE2B 69e7cadc82223a9e438ab0f0b812164bcdd89de80eb421de0b6ce43afd129a70dfef2bdbf1545a07221abe8329eac0403bc389d4db527a8b55b4dbd9e970ecef SHA512 86d32344f16c8e9e3ce066a14ce04441a4b78e95d73bef70b0b815de6233a6c7b763232dc98611940917d45471447a095e0b812ce4c73202e13b1e9a324bc838
+EBUILD DBIx-SearchBuilder-1.670.0.ebuild 899 BLAKE2B cf2e63984f971b62ab264cc6d00d53aa7e803fe1f4dd1ecd08dc350c58d82c59b9fcd31786735d42448d618444211a0052957bece8ffacd8f06fa3a209954db0 SHA512 ace118d91a85b65c434a942ec963c4f3037de65c657c41a7dddf7a4452be71ef6efbd5fb8c3f43c98e13de9c4aec8c2b948eb7da5928f11fed8d795d8ea3e695
+MISC metadata.xml 1594 BLAKE2B c56268fbc1ee494196c0763e6c0f795436d3f2104b43034969c94aacebc4c408b818283203e5b097f7cd6400657c6d5d2630dcaad5a034a0d3743506d676b766 SHA512 da30146de1b578e3362a06b951bcf72a1d4917f33aad4cc678360c62a470edda63ff4d40f6f582c22af47257a6e0e1764579ccc518352ce46465f2465f3fa8a2
diff --git a/dev-perl/DBIx-SearchBuilder/files/DBIx-SearchBuilder-1.66-no-dot-inc.patch b/dev-perl/DBIx-SearchBuilder/files/DBIx-SearchBuilder-1.66-no-dot-inc.patch
new file mode 100644
index 000000000000..93ccd89c28e7
--- /dev/null
+++ b/dev-perl/DBIx-SearchBuilder/files/DBIx-SearchBuilder-1.66-no-dot-inc.patch
@@ -0,0 +1,341 @@
+From 859d5403887df584af7e88e7bea7899ea6549fd0 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric@gmail.com>
+Date: Sun, 25 Jun 2017 19:16:42 +1200
+Subject: Fix for '.' removal from @INC in Perl 5.26
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=121140
+Bug: https://bugs.gentoo.org/615602
+Bug: https://github.com/bestpractical/dbix-searchbuilder/pull/5
+---
+ Makefile.PL | 1 +
+ t/01basics.t | 2 +-
+ t/01nocap_api.t | 2 +-
+ t/01records.t | 2 +-
+ t/01searches.t | 2 +-
+ t/02distinct_values.t | 2 +-
+ t/02null_order.t | 2 +-
+ t/02order_outer.t | 2 +-
+ t/02records_cachable.t | 2 +-
+ t/02records_datetime.t | 2 +-
+ t/02records_dt_interval.t | 2 +-
+ t/02records_integers.t | 2 +-
+ t/02records_object.t | 2 +-
+ t/02searches_function.t | 2 +-
+ t/02searches_joins.t | 2 +-
+ t/03compatibility.t | 2 +-
+ t/03cud_from_select.t | 2 +-
+ t/03rebless.t | 2 +-
+ t/03transactions.t | 2 +-
+ t/03versions.t | 2 +-
+ t/10schema.t | 4 ++--
+ t/11schema_records.t | 2 +-
+ t/20set_edge_cases.t | 2 +-
+ 23 files changed, 24 insertions(+), 23 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 49ec3f0..837f26f 100755
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install;
+
+ name ('DBIx-SearchBuilder');
+diff --git a/t/01basics.t b/t/01basics.t
+index a46ede6..f0c18df 100644
+--- a/t/01basics.t
++++ b/t/01basics.t
+@@ -3,7 +3,7 @@
+ use strict;
+
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 4;
+diff --git a/t/01nocap_api.t b/t/01nocap_api.t
+index 1ea417e..be45395 100644
+--- a/t/01nocap_api.t
++++ b/t/01nocap_api.t
+@@ -3,7 +3,7 @@
+ use strict;
+
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+
+ use vars qw(@SPEC_METHODS @MODULES);
+ my @SPEC_METHODS = qw(AUTOLOAD DESTROY CLONE);
+diff --git a/t/01records.t b/t/01records.t
+index a1f1366..d701e94 100644
+--- a/t/01records.t
++++ b/t/01records.t
+@@ -4,7 +4,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 66;
+diff --git a/t/01searches.t b/t/01searches.t
+index 83a2001..1276544 100644
+--- a/t/01searches.t
++++ b/t/01searches.t
+@@ -4,7 +4,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 150;
+diff --git a/t/02distinct_values.t b/t/02distinct_values.t
+index f20328d..826db21 100644
+--- a/t/02distinct_values.t
++++ b/t/02distinct_values.t
+@@ -4,7 +4,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 9;
+diff --git a/t/02null_order.t b/t/02null_order.t
+index 9feda47..fab111d 100644
+--- a/t/02null_order.t
++++ b/t/02null_order.t
+@@ -4,7 +4,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 11;
+diff --git a/t/02order_outer.t b/t/02order_outer.t
+index 08a236b..14a39fe 100644
+--- a/t/02order_outer.t
++++ b/t/02order_outer.t
+@@ -4,7 +4,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 98;
+diff --git a/t/02records_cachable.t b/t/02records_cachable.t
+index cdbb9da..9418990 100644
+--- a/t/02records_cachable.t
++++ b/t/02records_cachable.t
+@@ -4,7 +4,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 16;
+diff --git a/t/02records_datetime.t b/t/02records_datetime.t
+index f1a0d7a..6882729 100644
+--- a/t/02records_datetime.t
++++ b/t/02records_datetime.t
+@@ -5,7 +5,7 @@ BEGIN { $ENV{'TZ'} = 'Europe/Moscow' };
+ use strict;
+ use warnings;
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 38;
+diff --git a/t/02records_dt_interval.t b/t/02records_dt_interval.t
+index ef1ead3..283746f 100644
+--- a/t/02records_dt_interval.t
++++ b/t/02records_dt_interval.t
+@@ -5,7 +5,7 @@ BEGIN { $ENV{'TZ'} = 'Europe/Moscow' };
+ use strict;
+ use warnings;
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 17;
+diff --git a/t/02records_integers.t b/t/02records_integers.t
+index d13e2ee..95b8504 100644
+--- a/t/02records_integers.t
++++ b/t/02records_integers.t
+@@ -3,7 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 37;
+diff --git a/t/02records_object.t b/t/02records_object.t
+index 18c724e..34576db 100644
+--- a/t/02records_object.t
++++ b/t/02records_object.t
+@@ -5,7 +5,7 @@ use strict;
+ use warnings;
+ use Test::More;
+
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 11;
+diff --git a/t/02searches_function.t b/t/02searches_function.t
+index 2fd6e7e..c8682de 100644
+--- a/t/02searches_function.t
++++ b/t/02searches_function.t
+@@ -3,7 +3,7 @@
+ use strict;
+ use Test::More;
+
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 18;
+diff --git a/t/02searches_joins.t b/t/02searches_joins.t
+index 1661f2b..cbdc3c9 100644
+--- a/t/02searches_joins.t
++++ b/t/02searches_joins.t
+@@ -3,7 +3,7 @@
+ use strict;
+ use Test::More;
+
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 59;
+diff --git a/t/03compatibility.t b/t/03compatibility.t
+index 14eb382..3939503 100644
+--- a/t/03compatibility.t
++++ b/t/03compatibility.t
+@@ -4,7 +4,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 2;
+diff --git a/t/03cud_from_select.t b/t/03cud_from_select.t
+index 7f5d21b..2f324b7 100644
+--- a/t/03cud_from_select.t
++++ b/t/03cud_from_select.t
+@@ -3,7 +3,7 @@
+ use strict;
+ use Test::More;
+
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 14;
+diff --git a/t/03rebless.t b/t/03rebless.t
+index 888bb94..467cf00 100644
+--- a/t/03rebless.t
++++ b/t/03rebless.t
+@@ -6,7 +6,7 @@ use warnings;
+ use Test::More;
+ use DBIx::SearchBuilder::Handle;
+
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 4;
+diff --git a/t/03transactions.t b/t/03transactions.t
+index e641c19..ef0f973 100644
+--- a/t/03transactions.t
++++ b/t/03transactions.t
+@@ -4,7 +4,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 52;
+diff --git a/t/03versions.t b/t/03versions.t
+index 79bb2e9..4acba37 100644
+--- a/t/03versions.t
++++ b/t/03versions.t
+@@ -5,7 +5,7 @@ use warnings;
+ use Test::More;
+ use DBIx::SearchBuilder::Handle;
+
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 6;
+diff --git a/t/10schema.t b/t/10schema.t
+index 2ff5ab6..fcf1a7b 100644
+--- a/t/10schema.t
++++ b/t/10schema.t
+@@ -8,7 +8,7 @@ use constant TESTS_PER_DRIVER => 14;
+ our @AvailableDrivers;
+
+ BEGIN {
+- require("t/utils.pl");
++ require("./t/utils.pl");
+ my $total = 3 + scalar(@AvailableDrivers) * TESTS_PER_DRIVER;
+ if( not eval { require DBIx::DBSchema } ) {
+ plan skip_all => "DBIx::DBSchema not installed";
+@@ -22,7 +22,7 @@ BEGIN {
+ use_ok("DBIx::SearchBuilder::Handle");
+ }
+
+-require_ok("t/testmodels.pl");
++require_ok("./t/testmodels.pl");
+
+ foreach my $d ( @AvailableDrivers ) {
+ SKIP: {
+diff --git a/t/11schema_records.t b/t/11schema_records.t
+index 4fc4dc4..a586cda 100644
+--- a/t/11schema_records.t
++++ b/t/11schema_records.t
+@@ -5,7 +5,7 @@ use strict;
+ use warnings;
+ use Test::More;
+
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 63;
+diff --git a/t/20set_edge_cases.t b/t/20set_edge_cases.t
+index 943f76a..d22b1ee 100644
+--- a/t/20set_edge_cases.t
++++ b/t/20set_edge_cases.t
+@@ -3,7 +3,7 @@
+ use strict;
+ use warnings;
+ use Test::More;
+-BEGIN { require "t/utils.pl" }
++BEGIN { require "./t/utils.pl" }
+ our (@AvailableDrivers);
+
+ use constant TESTS_PER_DRIVER => 20;
+--
+2.14.1
+
diff --git a/dev-perl/DBIx-SearchBuilder/metadata.xml b/dev-perl/DBIx-SearchBuilder/metadata.xml
new file mode 100644
index 000000000000..4ee03e9dd57d
--- /dev/null
+++ b/dev-perl/DBIx-SearchBuilder/metadata.xml
@@ -0,0 +1,27 @@
+<?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>
+ <upstream>
+ <remote-id type="cpan">DBIx-SearchBuilder</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Handle</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Handle::Informix</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Handle::ODBC</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Handle::Oracle</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Handle::Pg</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Handle::SQLite</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Handle::Sybase</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Handle::mysql</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Handle::mysqlPP</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Record</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Record::Cachable</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::SchemaGenerator</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Union</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Unique</remote-id>
+ <remote-id type="cpan-module">DBIx::SearchBuilder::Util</remote-id>
+ </upstream>
+</pkgmetadata>