From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BFF131396D9 for ; Fri, 13 Oct 2017 05:31:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD4652BC003; Fri, 13 Oct 2017 05:31:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ADD432BC003 for ; Fri, 13 Oct 2017 05:31:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 395BC33BF0B for ; Fri, 13 Oct 2017 05:31:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A12889098 for ; Fri, 13 Oct 2017 05:31:42 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1507872682.c286b97e2c1b452674ad243467770aa507fc3d33.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Apache-CGI-Builder/, dev-perl/Apache-CGI-Builder/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Apache-CGI-Builder/Apache-CGI-Builder-1.300.0-r2.ebuild dev-perl/Apache-CGI-Builder/files/Apache-CGI-Builder-1.300.0-no-apache-1.patch dev-perl/Apache-CGI-Builder/metadata.xml X-VCS-Directories: dev-perl/Apache-CGI-Builder/ dev-perl/Apache-CGI-Builder/files/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: c286b97e2c1b452674ad243467770aa507fc3d33 X-VCS-Branch: master Date: Fri, 13 Oct 2017 05:31:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cb3d6730-b096-4d0f-9796-fa50c68edf55 X-Archives-Hash: f4cac82ac760daa1be6ef6414d321436 commit: c286b97e2c1b452674ad243467770aa507fc3d33 Author: Kent Fredric gentoo org> AuthorDate: Fri Oct 13 05:31:22 2017 +0000 Commit: Kent Fredric gentoo org> CommitDate: Fri Oct 13 05:31:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c286b97e dev-perl/Apache-CGI-Builder: Kill apache1 support, add tests - EAPI6 - Enable/extend tests (slightly) - Kill all mentions of apache1 - Add missing mod_perl dep Package-Manager: Portage-2.3.8, Repoman-2.3.3 .../Apache-CGI-Builder-1.300.0-r2.ebuild | 48 ++++++++++++++++ .../Apache-CGI-Builder-1.300.0-no-apache-1.patch | 65 ++++++++++++++++++++++ dev-perl/Apache-CGI-Builder/metadata.xml | 1 - 3 files changed, 113 insertions(+), 1 deletion(-) diff --git a/dev-perl/Apache-CGI-Builder/Apache-CGI-Builder-1.300.0-r2.ebuild b/dev-perl/Apache-CGI-Builder/Apache-CGI-Builder-1.300.0-r2.ebuild new file mode 100644 index 00000000000..47d5d71ee1c --- /dev/null +++ b/dev-perl/Apache-CGI-Builder/Apache-CGI-Builder-1.300.0-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=DOMIZIO +DIST_VERSION=1.3 +inherit perl-module + +DESCRIPTION="CGI::Builder and Apache2/mod_perl2 integration" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-perl/OOTools-2.21 + >=dev-perl/CGI-Builder-1.2 + www-apache/mod_perl +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-no-apache-1.patch" ) + +src_prepare() { + rm "${S}/lib/Apache/CGI/Builder.pm" || die "Can't remove Apache-1 support" + perl-module_src_prepare +} +src_test() { + local MODULES=( + "Apache2::CGI::Builder ${DIST_VERSION}" + ) + 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_coverage.t t/test_pod.t + perl-module_src_test +} diff --git a/dev-perl/Apache-CGI-Builder/files/Apache-CGI-Builder-1.300.0-no-apache-1.patch b/dev-perl/Apache-CGI-Builder/files/Apache-CGI-Builder-1.300.0-no-apache-1.patch new file mode 100644 index 00000000000..97e488bd4aa --- /dev/null +++ b/dev-perl/Apache-CGI-Builder/files/Apache-CGI-Builder-1.300.0-no-apache-1.patch @@ -0,0 +1,65 @@ +From ef931c54efda99718b71f9e772fb7474e6ae8953 Mon Sep 17 00:00:00 2001 +From: Kent Fredric +Date: Fri, 13 Oct 2017 18:19:42 +1300 +Subject: Kill Apache1/mod_perl-1 + +--- + MANIFEST | 1 - + Makefile.PL | 6 +- + lib/Apache/CGI/Builder.pm | 383 ---------------------------------------------- + t/01_class.t | 2 +- + 4 files changed, 4 insertions(+), 388 deletions(-) + delete mode 100644 lib/Apache/CGI/Builder.pm + +diff --git a/MANIFEST b/MANIFEST +index 3dcf4d5..e5e1a8d 100644 +--- a/MANIFEST ++++ b/MANIFEST +@@ -1,5 +1,4 @@ + Changes +-lib/Apache/CGI/Builder.pm + lib/Apache2/CGI/Builder.pm + Makefile.PL + MANIFEST This list of files +diff --git a/Makefile.PL b/Makefile.PL +index 47272f9..babf555 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -3,10 +3,10 @@ + + ; use ExtUtils::MakeMaker + +-; my $pm = 'lib/Apache/CGI/Builder.pm' ++; my $pm = 'lib/Apache2/CGI/Builder.pm' + + ; WriteMakefile +- ( NAME => 'Apache::CGI::Builder' ++ ( NAME => 'Apache2::CGI::Builder' + , VERSION_FROM => $pm + , ( $] ge '5.005' ) + ? ( AUTHOR => 'Domizio Demichelis - perl.4pro.net' +@@ -16,7 +16,7 @@ + , PREREQ_PM => { 'CGI::Builder' => 1.2 + , 'Class::props' => 1.62 + , 'Object::props' => 1.62 +- , 'mod_perl' => 0 ++ , 'mod_perl2' => 0 + } + ) + +diff --git a/t/01_class.t b/t/01_class.t +index fce93e9..056453d 100644 +--- a/t/01_class.t ++++ b/t/01_class.t +@@ -3,7 +3,7 @@ + ; use strict + ; use Test::More tests => 1 + +-; use Apache::CGI::Builder ++; use Apache2::CGI::Builder + + ; ok(1) + +-- +2.14.2 + diff --git a/dev-perl/Apache-CGI-Builder/metadata.xml b/dev-perl/Apache-CGI-Builder/metadata.xml index 1a61f03e7da..8585b0f8201 100644 --- a/dev-perl/Apache-CGI-Builder/metadata.xml +++ b/dev-perl/Apache-CGI-Builder/metadata.xml @@ -8,6 +8,5 @@ Apache-CGI-Builder Apache2::CGI::Builder - Apache::CGI::Builder