commit: 25925f654a281467421131f3529d7b67abe546bf Author: Pavel Denisov <pavel.a.denisov <AT> gmail <DOT> com> AuthorDate: Sat Jun 21 13:24:52 2014 +0000 Commit: Kent Fredric <kentfredric <AT> gmail <DOT> com> CommitDate: Mon Jun 30 20:09:52 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=25925f65
[added] dev-perl/Dancer2-Plugin-Auth-Tiny-0.3.0 Package-Manager: portage-2.2.10 --- dev-perl/Dancer2-Plugin-Auth-Tiny/ChangeLog | 11 ++++ .../Dancer2-Plugin-Auth-Tiny-0.3.0.ebuild | 63 ++++++++++++++++++++++ .../files/Dancer2-0.08.patch | 47 ++++++++++++++++ dev-perl/Dancer2-Plugin-Auth-Tiny/metadata.xml | 9 ++++ 4 files changed, 130 insertions(+) diff --git a/dev-perl/Dancer2-Plugin-Auth-Tiny/ChangeLog b/dev-perl/Dancer2-Plugin-Auth-Tiny/ChangeLog new file mode 100644 index 0000000..eec5a23 --- /dev/null +++ b/dev-perl/Dancer2-Plugin-Auth-Tiny/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-perl/Dancer2-Plugin-Auth-Tiny +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*Dancer2-Plugin-Auth-Tiny-0.3.0 (21 Jun 2014) + + 21 Jun 2014; Pavel Denisov <[email protected]> + +Dancer2-Plugin-Auth-Tiny-0.3.0.ebuild, +files/Dancer2-0.08.patch, + +metadata.xml: + Added + diff --git a/dev-perl/Dancer2-Plugin-Auth-Tiny/Dancer2-Plugin-Auth-Tiny-0.3.0.ebuild b/dev-perl/Dancer2-Plugin-Auth-Tiny/Dancer2-Plugin-Auth-Tiny-0.3.0.ebuild new file mode 100644 index 0000000..66f5174 --- /dev/null +++ b/dev-perl/Dancer2-Plugin-Auth-Tiny/Dancer2-Plugin-Auth-Tiny-0.3.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ +EAPI=5 +MODULE_AUTHOR=DAGOLDEN +MODULE_VERSION=0.003 +inherit perl-module + +DESCRIPTION='Require logged-in user for specified routes' +LICENSE=" Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +PATCHES=( + "${FILESDIR}/Dancer2-0.08.patch" +) + +perl_meta_configure() { + # ExtUtils::MakeMaker 6.30 ( 6.300.0 ) + echo \>=virtual/perl-ExtUtils-MakeMaker-6.300.0 +} +perl_meta_runtime() { + # Carp + echo virtual/perl-Carp + # Dancer2::Plugin + echo dev-perl/Dancer2 + # perl 5.008001 ( 5.8.1 ) + echo \>=dev-lang/perl-5.8.1 + # strict + echo dev-lang/perl + # warnings + echo dev-lang/perl +} +perl_meta_test() { + # Dancer2 + echo dev-perl/Dancer2 + # ExtUtils::MakeMaker + echo virtual/perl-ExtUtils-MakeMaker + # File::Find + echo dev-lang/perl + # File::Spec::Functions + echo virtual/perl-File-Spec + # File::Temp 0.19 ( 0.190.0 ) + echo \>=virtual/perl-File-Temp-0.190.0 + # LWP::UserAgent + echo dev-perl/libwww-perl + # List::Util + echo virtual/perl-Scalar-List-Utils + # Test::More 0.96 ( 0.960.0 ) + echo \>=virtual/perl-Test-Simple-0.960.0 + # Test::TCP + echo dev-perl/Test-TCP +} +DEPEND=" + $(perl_meta_configure) + $(perl_meta_runtime) + test? ( $(perl_meta_test) ) +" +RDEPEND=" + $(perl_meta_runtime) +" +SRC_TEST="do" diff --git a/dev-perl/Dancer2-Plugin-Auth-Tiny/files/Dancer2-0.08.patch b/dev-perl/Dancer2-Plugin-Auth-Tiny/files/Dancer2-0.08.patch new file mode 100644 index 0000000..917d455 --- /dev/null +++ b/dev-perl/Dancer2-Plugin-Auth-Tiny/files/Dancer2-0.08.patch @@ -0,0 +1,47 @@ +--- Dancer2-Plugin-Auth-Tiny-df41fe65282a04146218c870bbf2974308d147b6/t/default.t 2013-03-07 04:17:01.000000000 +0400 ++++ Dancer2-Plugin-Auth-Tiny-5f015782489845d595cdf6ddf5a5e1ebb1a8eb31/t/default.t 2013-09-17 07:44:53.000000000 +0400 +@@ -6,7 +6,7 @@ use File::Temp 0.19; # newdir + use LWP::UserAgent; + use Test::TCP; + +-use Dancer2 ':syntax'; ++use Dancer2; + use Dancer2::Plugin::Auth::Tiny; + + test_tcp( +diff -rupN Dancer2-Plugin-Auth-Tiny-df41fe65282a04146218c870bbf2974308d147b6/t/extend.t Dancer2-Plugin-Auth-Tiny-5f015782489845d595cdf6ddf5a5e1ebb1a8eb31/t/extend.t +--- Dancer2-Plugin-Auth-Tiny-df41fe65282a04146218c870bbf2974308d147b6/t/extend.t 2013-03-07 04:17:01.000000000 +0400 ++++ Dancer2-Plugin-Auth-Tiny-5f015782489845d595cdf6ddf5a5e1ebb1a8eb31/t/extend.t 2013-09-17 07:44:53.000000000 +0400 +@@ -6,7 +6,7 @@ use File::Temp 0.19; # newdir + use LWP::UserAgent; + use Test::TCP; + +-use Dancer2 ':syntax'; ++use Dancer2; + use Dancer2::Plugin::Auth::Tiny; + + Dancer2::Plugin::Auth::Tiny->extend( +diff -rupN Dancer2-Plugin-Auth-Tiny-df41fe65282a04146218c870bbf2974308d147b6/t/params.t Dancer2-Plugin-Auth-Tiny-5f015782489845d595cdf6ddf5a5e1ebb1a8eb31/t/params.t +--- Dancer2-Plugin-Auth-Tiny-df41fe65282a04146218c870bbf2974308d147b6/t/params.t 2013-03-07 04:17:01.000000000 +0400 ++++ Dancer2-Plugin-Auth-Tiny-5f015782489845d595cdf6ddf5a5e1ebb1a8eb31/t/params.t 2013-09-17 07:44:53.000000000 +0400 +@@ -30,7 +30,7 @@ test_tcp( + server => sub { + my $port = shift; + +- use Dancer2 ':syntax'; ++ use Dancer2; + use Dancer2::Plugin::Auth::Tiny; + + set confdir => '.'; +diff -rupN Dancer2-Plugin-Auth-Tiny-df41fe65282a04146218c870bbf2974308d147b6/t/settings.t Dancer2-Plugin-Auth-Tiny-5f015782489845d595cdf6ddf5a5e1ebb1a8eb31/t/settings.t +--- Dancer2-Plugin-Auth-Tiny-df41fe65282a04146218c870bbf2974308d147b6/t/settings.t 2013-03-07 04:17:01.000000000 +0400 ++++ Dancer2-Plugin-Auth-Tiny-5f015782489845d595cdf6ddf5a5e1ebb1a8eb31/t/settings.t 2013-09-17 07:44:53.000000000 +0400 +@@ -6,7 +6,7 @@ use File::Temp 0.19; # newdir + use LWP::UserAgent; + use Test::TCP; + +-use Dancer2 ':syntax'; ++use Dancer2; + use Dancer2::Plugin::Auth::Tiny; + + test_tcp( diff --git a/dev-perl/Dancer2-Plugin-Auth-Tiny/metadata.xml b/dev-perl/Dancer2-Plugin-Auth-Tiny/metadata.xml new file mode 100644 index 0000000..f48c3a2 --- /dev/null +++ b/dev-perl/Dancer2-Plugin-Auth-Tiny/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>perl</herd> + <upstream> + <remote-id type="cpan">Dancer2-Plugin-Auth-Tiny</remote-id> + <remote-id type="cpan-module">Dancer2::Plugin::Auth::Tiny</remote-id> + </upstream> +</pkgmetadata>
