summaryrefslogtreecommitdiff
path: root/dev-perl/ORLite-Migrate
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/ORLite-Migrate
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/ORLite-Migrate')
-rw-r--r--dev-perl/ORLite-Migrate/Manifest6
-rw-r--r--dev-perl/ORLite-Migrate/ORLite-Migrate-1.100.0-r1.ebuild31
-rw-r--r--dev-perl/ORLite-Migrate/files/ORLite-Migrate-1.10-dot-in-inc.patch85
-rw-r--r--dev-perl/ORLite-Migrate/metadata.xml14
4 files changed, 136 insertions, 0 deletions
diff --git a/dev-perl/ORLite-Migrate/Manifest b/dev-perl/ORLite-Migrate/Manifest
new file mode 100644
index 000000000000..ef52cc5230de
--- /dev/null
+++ b/dev-perl/ORLite-Migrate/Manifest
@@ -0,0 +1,6 @@
+AUX ORLite-Migrate-1.10-dot-in-inc.patch 2206 SHA256 35237b68c45d129896503e3bda96906ee50963c91dba16d6b26a19cc849a4022 SHA512 50f89193ad655d3c289572fb3c81ad581346a9d40c03c54b965c8865f3e938a5dce0bf3e578a9f57b5ef2ad021706a6ce86af2e605455d105ba2ccad99ee9bf2 WHIRLPOOL d4add689497cd63942b94fd2ff611595716cb6b7007e147c53acbe4ce0c566fe53e5469184b41210c92b16b305af37f10c29e9a481f29ef4cb0eda207b90c8b0
+DIST ORLite-Migrate-1.10.tar.gz 38469 SHA256 e0a8c5d3916a86c608509fee079489345664d40e5e5e8e9647b9233ff4e3863a SHA512 aaa62394184e77427e08ec0e181880646f4167449cad7375848b713942991efe3a89c85f9d6346bb9a0c165b4a29fe4bd15608ba64ca082e7ef28ad82c97e36e WHIRLPOOL 4c1bc1fd822936e0b27ae331461f38549b07d0e4b522795155564864a5485010d9187edaac807a5eb05b910c652634d4309ac46ef84e43e95cf3ab8810fac4da
+EBUILD ORLite-Migrate-1.100.0-r1.ebuild 729 SHA256 a0fb1f6ce71461df2f1fa952aceab925ac4041957e73571907ee24f2f125bfd2 SHA512 24e6389dc0d6935a870aaa4bc593be970fa2b7de6542553936f1cbb418124c4d1e88bf1e2e87ab2fcbb0d8c83d0252b9287a87bb9683ddfae1b08ee74486f3cc WHIRLPOOL 968cb9f77b2ab7ecaaffa18c341a13e2ab7ab6c99dbeb51c94be58eaee7ee670b250c868ea2de10723f4355e0b54716c9243311bfe6a91072d83cc12a16cecc3
+MISC ChangeLog 2458 SHA256 66804b24ebc326248600486890c7f32395ead75364651e725ed151bc7660b691 SHA512 cfd7525b9c3e25a6643ed6cecd7940c7d5e85dc0de0d4697f51a6550f9b9cdaa47353e53a86fb84688788f42a0670545f92f8f4ca604247681e44d20883f45f1 WHIRLPOOL 8bc3101d4e77d593b312338ab940abd1e463bad82eb49f85b1bdc0b56236799f730b82eddfa4ffbcc804728368c571eb8008b506818e1c48afa47951b69d6271
+MISC ChangeLog-2015 1625 SHA256 2de50d467ab692e457ec58917210f0161de494fe70983e4c83c410bdf48fea8c SHA512 320a092444998873605ebeb086e1d22c9abbdd58800b1fbf9bdb0861afa94fdbe443a95a79f89f10b99cb1894f26a5e0c9bf0fa663b63037965f60d5564e4c20 WHIRLPOOL 9d49131179e039a4aa8042bec9508aaa82d88e3ebacdcc978caa17a6ae5ee931c494036c100f9f8705d76cefb041a634e1ec918d5efe4daea441a7ff5af3c2a5
+MISC metadata.xml 541 SHA256 a554c3ca8113bc0df145de8e7d66690addd3c5d29bb498101e130fed016c86cf SHA512 eb3df9af2447548b85ac701a2d264eb3e8790da48ddbb9f3fcbec72d3984c87cb9cff32054eb74d556c8fa854346b2b8f9eab8dee850298c8fe7d80ded3c9b56 WHIRLPOOL 8dd7467aa1cf4c4f20284fa2092f5e6aa5a1ac72bec3784dd3fe75b062836364e7187441cbbc13226fe29779776ed8f029a014413688cb9aa3df3ec73c35aa5d
diff --git a/dev-perl/ORLite-Migrate/ORLite-Migrate-1.100.0-r1.ebuild b/dev-perl/ORLite-Migrate/ORLite-Migrate-1.100.0-r1.ebuild
new file mode 100644
index 000000000000..e3f8e6b4d524
--- /dev/null
+++ b/dev-perl/ORLite-Migrate/ORLite-Migrate-1.100.0-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=ADAMK
+DIST_VERSION=1.10
+inherit perl-module
+
+DESCRIPTION="Extremely light weight SQLite-specific schema migration"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=dev-perl/Params-Util-0.370.0
+ >=dev-perl/IPC-Run3-0.42.0
+ >=virtual/perl-File-Path-2.04
+ >=dev-perl/DBD-SQLite-1.210.0
+ >=dev-perl/ORLite-1.280.0
+ >=dev-perl/File-pushd-1.0.0
+ >=dev-perl/Probe-Perl-0.10.0
+ >=virtual/perl-File-Spec-3.270.100
+ >=dev-perl/File-Which-1.70.0
+ >=dev-perl/DBI-1.580.0
+"
+DEPEND="${RDEPEND}
+"
+PATCHES=("${FILESDIR}/${PN}-1.10-dot-in-inc.patch")
+DIST_TEST="do" # Parallel tests broken, concurrent DB access
diff --git a/dev-perl/ORLite-Migrate/files/ORLite-Migrate-1.10-dot-in-inc.patch b/dev-perl/ORLite-Migrate/files/ORLite-Migrate-1.10-dot-in-inc.patch
new file mode 100644
index 000000000000..239239941d59
--- /dev/null
+++ b/dev-perl/ORLite-Migrate/files/ORLite-Migrate-1.10-dot-in-inc.patch
@@ -0,0 +1,85 @@
+From 4527c099a60d6e78e730c4aea51f55c74f95119d Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric@gmail.com>
+Date: Fri, 7 Jul 2017 11:52:55 +1200
+Subject: [PATCH] Fix for '.' build and test failures
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=121741
+---
+ Makefile.PL | 1 +
+ t/02_main.t | 2 +-
+ t/03_trivial.t | 2 +-
+ t/04_class.t | 12 ++++++++----
+ 4 files changed, 11 insertions(+), 6 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index a5b1f8f..1961b17 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib '.';
+ use inc::Module::Install::DSL 1.04;
+
+ all_from lib/ORLite/Migrate.pm
+diff --git a/t/02_main.t b/t/02_main.t
+index c895f11..ba93eaa 100644
+--- a/t/02_main.t
++++ b/t/02_main.t
+@@ -8,7 +8,7 @@ BEGIN {
+ use Test::More tests => 5;
+ use File::Spec::Functions ':ALL';
+ use ORLite::Migrate ();
+-use t::lib::Test;
++BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import }
+
+ # Check for migration patches
+ my $timeline = catdir( 't', 'data', 'trivial' );
+diff --git a/t/03_trivial.t b/t/03_trivial.t
+index 63ab9d0..32efa07 100644
+--- a/t/03_trivial.t
++++ b/t/03_trivial.t
+@@ -7,7 +7,7 @@ BEGIN {
+
+ use Test::More tests => 4;
+ use File::Spec::Functions ':ALL';
+-use t::lib::Test;
++BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import }
+
+ # Check for migration patches
+ my $timeline = catdir( 't', 'data', 'trivial' );
+diff --git a/t/04_class.t b/t/04_class.t
+index 3f33baf..591f3d9 100644
+--- a/t/04_class.t
++++ b/t/04_class.t
+@@ -8,8 +8,8 @@ BEGIN {
+ use Test::More tests => 4;
+ use File::Spec::Functions ':ALL';
+ use ORLite::Migrate::Timeline ();
+-use t::lib::Test;
+-use t::lib::MyTimeline;
++BEGIN { require "./t/lib/Test.pm"; t::lib::Test->import }
++BEGIN { require "./t/lib/MyTimeline.pm"; t::lib::Test->import; $INC{"t/lib/MyTimeline.pm"} = "1" }
+
+ # Set up the file
+ my $file = test_db();
+@@ -19,12 +19,16 @@ eval <<"END_PERL"; die $@ if $@;
+ package Foo::Bar;
+
+ use strict;
+-use ORLite::Migrate {
++BEGIN {
++ require ORLite::Migrate;
++ \@INC=('.', \@INC );
++ ORLite::Migrate->import({
+ file => '$file',
+ timeline => 't::lib::MyTimeline',
+ user_version => 3,
+ prune => 1,
+-};
++ });
++}
+
+ 1;
+ END_PERL
+--
+2.13.1
+
diff --git a/dev-perl/ORLite-Migrate/metadata.xml b/dev-perl/ORLite-Migrate/metadata.xml
new file mode 100644
index 000000000000..f33efcd555b5
--- /dev/null
+++ b/dev-perl/ORLite-Migrate/metadata.xml
@@ -0,0 +1,14 @@
+<?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">ORLite-Migrate</remote-id>
+ <remote-id type="cpan-module">ORLite::Migrate</remote-id>
+ <remote-id type="cpan-module">ORLite::Migrate::Patch</remote-id>
+ <remote-id type="cpan-module">ORLite::Migrate::Timeline</remote-id>
+ </upstream>
+</pkgmetadata>