summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2020-08-07 04:02:04 +1200
committerKent Fredric <kentnl@gentoo.org>2020-08-07 04:02:53 +1200
commite26ad3f4bd77498705d905b51e05b9ca163d23f5 (patch)
tree49fd89571cbb3f730d8ca82dd6839f013a8656dc /dev-perl/Apache-Test
parentdev-perl/App-pwhich: Cleanup old 1.140.0 (diff)
downloadgentoo-e26ad3f4bd77498705d905b51e05b9ca163d23f5.tar.gz
gentoo-e26ad3f4bd77498705d905b51e05b9ca163d23f5.tar.bz2
gentoo-e26ad3f4bd77498705d905b51e05b9ca163d23f5.zip
dev-perl/Apache-Test: Cleanup old 1.400.0-r2
Package-Manager: Portage-2.3.103, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/Apache-Test')
-rw-r--r--dev-perl/Apache-Test/Apache-Test-1.400.0-r2.ebuild120
-rw-r--r--dev-perl/Apache-Test/Manifest1
-rw-r--r--dev-perl/Apache-Test/files/Apache-Test-1.400.0-fix-missing-semicolon.patch26
3 files changed, 0 insertions, 147 deletions
diff --git a/dev-perl/Apache-Test/Apache-Test-1.400.0-r2.ebuild b/dev-perl/Apache-Test/Apache-Test-1.400.0-r2.ebuild
deleted file mode 100644
index 2322010f8029..000000000000
--- a/dev-perl/Apache-Test/Apache-Test-1.400.0-r2.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_AUTHOR=SHAY
-DIST_VERSION=1.40
-inherit depend.apache perl-module
-
-DESCRIPTION="Test.pm wrapper with helpers for testing Apache"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~ia64 ~mips ppc ppc64 sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="virtual/perl-ExtUtils-MakeMaker"
-
-need_apache
-
-PATCHES=(
- "${FILESDIR}/${P}-catfile-import.patch"
- "${FILESDIR}/${P}-fix-missing-semicolon.patch"
- "${FILESDIR}/${P}-phpclient.patch"
-)
-
-pkg_setup() {
- perl_set_version
-}
-
-src_install() {
- # This is to avoid conflicts with a deprecated Apache::Test stepping
- # in and causing problems/install errors
- if [ -f "${S}"/.mypacklist ];
- then
- rm -f "${S}"/.mypacklist
- fi
- perl-module_src_install
-}
-# Parallel tests seem to be bad.
-DIST_TEST="do"
-
-optdep_notice() {
- local i
- elog "This package has several modules which may require additional dependencies"
- elog "to use. However, it is up to you to install them separately if you need this"
- elog "optional functionality:"
- elog
- i="$(if has_version 'www-apache/mod_perl'; then echo '[I]'; else echo '[ ]'; fi)"
- elog " $i www-apache/mod_perl"
- elog " - Running Perl code natively in Apache via"
- elog " Apache::TestHandler, Apache::TestReportPerl, or Apache::TestSmokePerl"
-
- if use test; then
- elog
- elog "This module will perform additional tests if these dependencies are"
- elog "pre-installed"
- fi
-}
-src_test() {
- optdep_notice
- echo
- local MODULES=(
- "Apache::Test ${DIST_VERSION}"
- "Apache::Test5005compat 0.01"
- "Apache::TestBuild"
- "Apache::TestClient"
- "Apache::TestCommon"
- "Apache::TestCommonPost"
- "Apache::TestConfig"
- "Apache::TestConfigC"
- "Apache::TestConfigPHP"
- "Apache::TestConfigParrot"
- "Apache::TestConfigParse"
- "Apache::TestConfigPerl"
- "Apache::TestHarness"
- "Apache::TestHarnessPHP"
- "Apache::TestMB"
- "Apache::TestMM"
- "Apache::TestPerlDB"
- "Apache::TestReport"
- "Apache::TestRequest"
- "Apache::TestRun"
- "Apache::TestRunPHP 1.00"
- "Apache::TestRunParrot 1.00"
- "Apache::TestRunPerl 1.00"
- "Apache::TestSSLCA"
- "Apache::TestServer"
- "Apache::TestSmoke"
- "Apache::TestSort"
- "Apache::TestTrace 0.01"
- "Apache::TestUtil 0.02"
- "Bundle::ApacheTest ${DISTVERSION}"
- )
- has_version "www-apache/mod_perl" && MODULES+=(
- "Apache::TestHandler"
- "Apache::TestReportPerl"
- "Apache::TestSmokePerl"
- )
- 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/more/02testmore.t t/more/04testmore.t
- perl-module_src_test
-}
-pkg_postinst() {
- use test || optdep_notice
-}
diff --git a/dev-perl/Apache-Test/Manifest b/dev-perl/Apache-Test/Manifest
index b219cb3ffb26..cdd947b9d5e8 100644
--- a/dev-perl/Apache-Test/Manifest
+++ b/dev-perl/Apache-Test/Manifest
@@ -1,2 +1 @@
-DIST Apache-Test-1.40.tar.gz 151801 BLAKE2B 0ec57b0a8a0fafc8d10409a3cd02308da67bd6766caa71bfb525ef49832545c811281a987a5237be236a3a581fcf8311785d0bff8d283db2c52f08d11cd2bda1 SHA512 f48a1b93c4d61181670ec59bb8bb2231122b22ec9725d8899a3b2f82d2918fdc48a09494c2f45b0e6a603546481892a948eac3494e06c8eb219a9213e1faadb8
DIST Apache-Test-1.42.tar.gz 153621 BLAKE2B 570c61e4b5f17c97376ba9f4ab3cde0b14df367f06b665e31dba9c6675972ad4d1bebe46b08416b0f4749d723a6b909430c9bdd1e5d3b1c6b21d209635f1236a SHA512 ecd78dde1b0db562d591990bcd50fe880d724dce9bfb20dceea3a51b81abd89d40889857e5e7714b586a093ad6f101dfd79c6aa33d63c906c41c532305b6584c
diff --git a/dev-perl/Apache-Test/files/Apache-Test-1.400.0-fix-missing-semicolon.patch b/dev-perl/Apache-Test/files/Apache-Test-1.400.0-fix-missing-semicolon.patch
deleted file mode 100644
index f09cd53348fc..000000000000
--- a/dev-perl/Apache-Test/files/Apache-Test-1.400.0-fix-missing-semicolon.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From b2a2cdc1e9a3121ea8848ab4a2410c5dcc68d620 Mon Sep 17 00:00:00 2001
-From: Kent Fredric <kentnl@gentoo.org>
-Date: Sun, 15 Oct 2017 06:15:47 +1300
-Subject: Fix missing ";"
-
-Bug: https://rt.cpan.org/Ticket/Display.html?id=123282
----
- lib/Apache/TestConfigPHP.pm | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/Apache/TestConfigPHP.pm b/lib/Apache/TestConfigPHP.pm
-index 0ddea0b..1c79865 100644
---- a/lib/Apache/TestConfigPHP.pm
-+++ b/lib/Apache/TestConfigPHP.pm
-@@ -170,7 +170,7 @@ sub configure_php_ini {
- my $dir = catfile $self->{vars}->{serverroot}, 'conf';
- my $file = catfile $dir, 'php.ini';
-
-- return if -e $file
-+ return if -e $file;
-
- my $log = catfile $self->{vars}->{t_logs}, 'error_log';
-
---
-2.14.2
-