summaryrefslogtreecommitdiff
path: root/dev-perl/CGI-Builder
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-17 17:51:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-17 17:51:45 +0100
commit420eeee727d39d869d864caddb04a80dafda7160 (patch)
tree87f15d7467082dd92fce78a6cc2f56fa8d0774af /dev-perl/CGI-Builder
parent0fdd4074ff3dc0c507a9867380a4f91250a0b610 (diff)
gentoo resync : 17.10.2017
Diffstat (limited to 'dev-perl/CGI-Builder')
-rw-r--r--dev-perl/CGI-Builder/CGI-Builder-1.360.0-r2.ebuild49
-rw-r--r--dev-perl/CGI-Builder/Manifest2
-rw-r--r--dev-perl/CGI-Builder/files/CGI-Builder-1.360.0-test-cgipm.patch26
3 files changed, 77 insertions, 0 deletions
diff --git a/dev-perl/CGI-Builder/CGI-Builder-1.360.0-r2.ebuild b/dev-perl/CGI-Builder/CGI-Builder-1.360.0-r2.ebuild
new file mode 100644
index 000000000000..a5c86b1d0bd0
--- /dev/null
+++ b/dev-perl/CGI-Builder/CGI-Builder-1.360.0-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=DOMIZIO
+DIST_VERSION=1.36
+DIST_EXAMPLES=( "CBF_examples/*" )
+inherit perl-module
+
+DESCRIPTION="Framework to build simple or complex web-apps"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-perl/OOTools-2.21
+ >=dev-perl/IO-Util-1.5
+ dev-perl/CGI
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-test-cgipm.patch" )
+src_test() {
+ local MODULES=(
+ # https://rt.cpan.org/Ticket/Display.html?id=123292
+ # "Bundle::CGI::Builder::Complete ${DIST_VERSION}"
+ "CGI::Builder ${DIST_VERSION}"
+ "CGI::Builder::Conf"
+ "CGI::Builder::Const"
+ "CGI::Builder::Test"
+ )
+ local failed=()
+ for dep in "${MODULES[@]}"; do
+ ebegin "Compile testing ${dep}"
+ perl -Mblib="${S}" -M"${dep} ()" -e1
+ eend $? || failed+=( "$dep" )
+ done
+ if [[ ${failed[@]} ]]; then
+ echo
+ eerror "One or more modules failed compile:";
+ for dep in "${failed[@]}"; do
+ eerror " ${dep}"
+ done
+ die "Failing due to module compilation errors";
+ fi
+ perl_rm_files t/test_pod.t t/test_pod_coverage.t
+ perl-module_src_test
+}
diff --git a/dev-perl/CGI-Builder/Manifest b/dev-perl/CGI-Builder/Manifest
index 21fabf4ecf4d..25d4c95922c6 100644
--- a/dev-perl/CGI-Builder/Manifest
+++ b/dev-perl/CGI-Builder/Manifest
@@ -1,5 +1,7 @@
+AUX CGI-Builder-1.360.0-test-cgipm.patch 726 SHA256 f8cb7c0d1a152ee323d463ba133bf12216c59099a8f6c1470bff9efa18f2559f SHA512 e3460ca3170cf1d598943102d4c07b362200db71bf862d3e067ccca3eed8cc6938631d90c71b699d02ff9ff908f7cdeea73c15a2ec6c9a54b761d59be4e8a3bb WHIRLPOOL 178f7d7d3a314f6d92135f482a12223d050f2c106cef3f075fdc47c7693883e3ba3b144d48c3dc8b5cd0b389651f3a087f611d62f2015e4c0a05790f8f6ec276
DIST CGI-Builder-1.36.tar.gz 40247 SHA256 daa0d66d11ec92be3db13a62aeb845576c2533e27d141c8c1acac7dd7af8ad29 SHA512 511bb4e7bfd22ffc08eef3735499c0251ab7039f5bf1fef61b2a690cb6c27aed624a26fd14229af81548d58de3439699d5b0583f3593c1a12c8dbfb2166692a5 WHIRLPOOL cf0af76568a1c670cc1d0b0cb2cc7d6fb36d30242dad595ac204b1c9a1a10a79a36bc139abb915af1bb7359d12e67460fb7cd6f1403ef18641c38eb4b4fb20fc
EBUILD CGI-Builder-1.360.0-r1.ebuild 358 SHA256 cfb2dd18b170abbfb950f31b9daec73b0e30b844a976447c3868851e79e3604d SHA512 0e44955dfae44f61a52e914518ecd2187a04d48389d316852c4de462f759941ad558e46f5bcf971187286eee575dec86327d66f8cd6f6749a24e3af77e094847 WHIRLPOOL d66e2d7fea2aa36958e7243db7881671c1610d4af63b2f13843183a331a895f54874dba238e165b609b66b626cc3c9c03b7a823fd52f4996f476bd179e784435
+EBUILD CGI-Builder-1.360.0-r2.ebuild 1129 SHA256 53aa25140e06d7f92567fd0d6b877cfde33c29e7180a46058797ab848ea534ef SHA512 10d24222c654a60ad490c441f34e92700d07c83c4d1ab305685197600dc9c4d4c1bf60cdf11cefa4536dc5a4db83ac471ee99ec7d4bb48759219dcc7ad10dbc8 WHIRLPOOL fa606f3880708d3b9f3f3a56355e1aa5ddd61ad437f7884e16e9e2560ca4a73fe64861afdce361eff8db56d764a4d65be84d9b4a9885d94026dab650b9f53c98
MISC ChangeLog 2449 SHA256 82e88be648c22baf87f79725d14d9cab3811e69e737f17a3fe780463b3d18b66 SHA512 83bce5ba6cf843fe780087216e26d35028b21bfb632ae81945238047a0680557bee100dd85b47308192187caa62b418813903cff30c2c5fe8adb03263f23c76a WHIRLPOOL af03f84ea5a0146a904936424c616256720a35bc2b168ba624c4f70da278deeed248815f636ae0737ebe0844eb72019d394119f4ebd9c05bf91e3f5cb4dab307
MISC ChangeLog-2015 993 SHA256 ab5e856ee8f8d6bd2f1469e4bd56a6d63648aad752e7054358e42377195df5a3 SHA512 2e6ce4295678960c01ddc583ae20de1d2f6112bf1d8223e62dde7d7b0bb12cd5f63fa1ca885f9c00e8365c7a96b2f7a76974cdaf538017c46c9dd9a1f6c0c979 WHIRLPOOL e44bd1e72f9a3c5f9b24ca3d8d66273ff16770e23947524e1fd94fca3eb860cb2bfcdf9e36445d1317574a535f088f531153ddc36b215d63c1b192f221ee9470
MISC metadata.xml 394 SHA256 beef93a2a063b805b1959dd132520fb44e04ac37eb114995c43c6866d729a490 SHA512 6015375635a46fa7a4af5022248c4da95b7a0233dfe1ba9802af554338ee566e55300758af21f192174d666e8e388c50594224f40d975c5ace2fd661c9930ad8 WHIRLPOOL 7a2f251db044ef78b7b250a7b4674ad9621476a6e641e9fcddea8b0790c22bef116ad7a918b6edb706a49de188b682ebf09ec753f1ce60dde412b6ca774c9a23
diff --git a/dev-perl/CGI-Builder/files/CGI-Builder-1.360.0-test-cgipm.patch b/dev-perl/CGI-Builder/files/CGI-Builder-1.360.0-test-cgipm.patch
new file mode 100644
index 000000000000..c4fb30fbd9b8
--- /dev/null
+++ b/dev-perl/CGI-Builder/files/CGI-Builder-1.360.0-test-cgipm.patch
@@ -0,0 +1,26 @@
+From 6a8ddfede178b1635f729ed215815c4eff5b8374 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Mon, 16 Oct 2017 13:51:39 +1300
+Subject: Fix tests failing with CGI >= 3.16
+
+Bug: https://rt.cpan.org/Ticket/Display.html?id=123293
+---
+ t/02_features.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/02_features.t b/t/02_features.t
+index 96f46dd..9f43b61 100644
+--- a/t/02_features.t
++++ b/t/02_features.t
+@@ -46,7 +46,7 @@
+
+ ; my $ap9 = Test8->new( cgi => CGI->new({ p => 'redirect' }) )
+ ; my $o9 = $ap9->capture('process')
+-; ok( ($$o9 =~ /302 Moved/)
++; ok( ($$o9 =~ /302 Found/)
+ && ($$o9 !~ /never printed/)
+ && ($$o9 !~ /fixup/)
+ && ($$o9 !~ /madness/)
+--
+2.14.2
+