commit:     f022f3b9410f4dbec1bef736c280702e7b0ccb13
Author:     Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Mon Jun 15 22:39:30 2015 +0000
Commit:     Kent Fredric <kentfredric <AT> gmail <DOT> com>
CommitDate: Mon Jun 15 22:40:53 2015 +0000
URL:        https://gitweb.gentoo.org/proj/perl-overlay.git/commit/?id=f022f3b9

[bump] CGI-Cache-1.420.700, remove old

Package-Manager: portage-2.2.17

 dev-perl/CGI-Cache/CGI-Cache-1.420.100.ebuild | 23 ---------------
 dev-perl/CGI-Cache/CGI-Cache-1.420.700.ebuild | 42 +++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 23 deletions(-)

diff --git a/dev-perl/CGI-Cache/CGI-Cache-1.420.100.ebuild 
b/dev-perl/CGI-Cache/CGI-Cache-1.420.100.ebuild
deleted file mode 100644
index b239498..0000000
--- a/dev-perl/CGI-Cache/CGI-Cache-1.420.100.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-MODULE_VERSION=1.4201
-MODULE_AUTHOR=DCOPPIT
-inherit perl-module
-
-DESCRIPTION="Perl extension to help cache output of time-intensive CGI scripts"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
-       dev-perl/Tie-Restore
-       dev-perl/Cache-Cache
-"
-DEPEND="${RDEPEND}"
-
-SRC_TEST=do

diff --git a/dev-perl/CGI-Cache/CGI-Cache-1.420.700.ebuild 
b/dev-perl/CGI-Cache/CGI-Cache-1.420.700.ebuild
new file mode 100644
index 0000000..599854d
--- /dev/null
+++ b/dev-perl/CGI-Cache/CGI-Cache-1.420.700.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+MODULE_VERSION=1.4207
+MODULE_AUTHOR=DCOPPIT
+inherit perl-module
+
+DESCRIPTION="Perl extension to help cache output of time-intensive CGI scripts"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+       dev-perl/Tie-Restore
+       virtual/perl-File-Spec
+       dev-perl/Cache-Cache
+       virtual/perl-Storable
+"
+# URI::Escape -> URI
+DEPEND="${RDEPEND}
+       dev-perl/URI
+       test? (
+               dev-perl/File-Slurp
+               virtual/perl-Test-Simple
+               dev-perl/Error
+       )
+"
+src_prepare() {
+       local PERLCODE
+       cd "${S}"
+       IFS='' read -r -d '' PERLCODE <<'CODE'
+print unless   ( $. >= 12 && $. <= 13 )
+                       ||      ( $. >= 34 && $. <= 38 )
+                       ||      ( $. >= 44 && $. <= 47 )
+CODE
+       perl -i -nle "${PERLCODE}" Makefile.PL
+       perl-module_src_prepare
+}

Reply via email to