public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Apache-Test/
Date: Sat,  2 Jul 2022 16:19:43 +0000 (UTC)	[thread overview]
Message-ID: <1656778777.3b6e787f1cd399ffbbae57fcb6adb360bca31fa9.sam@gentoo> (raw)

commit:     3b6e787f1cd399ffbbae57fcb6adb360bca31fa9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  2 16:19:33 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  2 16:19:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b6e787f

dev-perl/Apache-Test: add 1.430.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-perl/Apache-Test/Apache-Test-1.430.0.ebuild | 105 ++++++++++++++++++++++++
 dev-perl/Apache-Test/Manifest                   |   1 +
 2 files changed, 106 insertions(+)

diff --git a/dev-perl/Apache-Test/Apache-Test-1.430.0.ebuild b/dev-perl/Apache-Test/Apache-Test-1.430.0.ebuild
new file mode 100644
index 000000000000..30bdf451170c
--- /dev/null
+++ b/dev-perl/Apache-Test/Apache-Test-1.430.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_AUTHOR=SHAY
+# Parallel tests seem to be bad.
+DIST_TEST="do"
+DIST_VERSION=1.43
+inherit depend.apache optfeature 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 )"
+
+BDEPEND="virtual/perl-ExtUtils-MakeMaker"
+
+need_apache
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.400.0-catfile-import.patch"
+	"${FILESDIR}/${PN}-1.400.0-phpclient.patch"
+)
+
+pkg_setup() {
+	perl_set_version
+}
+
+src_test() {
+	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
+		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
+}
+
+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
+}
+
+pkg_postinst() {
+	optfeature "Running Perl code natively in Apache via Apache::TestHandler, Apache::TestReportPerl, or Apache::TestSmokePerl" www-apache/mod_perl
+}

diff --git a/dev-perl/Apache-Test/Manifest b/dev-perl/Apache-Test/Manifest
index cdd947b9d5e8..4ff3e27fbdf0 100644
--- a/dev-perl/Apache-Test/Manifest
+++ b/dev-perl/Apache-Test/Manifest
@@ -1 +1,2 @@
 DIST Apache-Test-1.42.tar.gz 153621 BLAKE2B 570c61e4b5f17c97376ba9f4ab3cde0b14df367f06b665e31dba9c6675972ad4d1bebe46b08416b0f4749d723a6b909430c9bdd1e5d3b1c6b21d209635f1236a SHA512 ecd78dde1b0db562d591990bcd50fe880d724dce9bfb20dceea3a51b81abd89d40889857e5e7714b586a093ad6f101dfd79c6aa33d63c906c41c532305b6584c
+DIST Apache-Test-1.43.tar.gz 153745 BLAKE2B 10988b293d2e4a890451971c98c3c59b262683c65974475e97b5db76bf019f276a264a53cd68fd1bc94fd21e3e6da3d0ad55f01d2b9bf3f9791db572987943dc SHA512 910001c1ca01536ec6f364d9fedf2a9a3a38ebbbbab4ec7d43829e1066317168727a50712c5474ae4bcbde53a1eec6f20f052d74c39a63c4f3f5b3202c48c64a


             reply	other threads:[~2022-07-02 18:48 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-02 16:19 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-04 12:15 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Apache-Test/ Arthur Zamarin
2023-03-04  8:55 Arthur Zamarin
2023-03-04  8:07 Arthur Zamarin
2023-03-04  7:04 Arthur Zamarin
2023-03-04  5:47 Arthur Zamarin
2022-07-02 21:21 Sam James
2022-07-02 21:21 Sam James
2022-07-02 21:21 Sam James
2022-07-02 21:21 Sam James
2022-07-02 21:18 Sam James
2022-07-02 21:17 Sam James
2022-07-02 15:48 Sam James
2020-06-13 21:09 Matt Turner
2020-05-11 16:49 Agostino Sarubbo
2020-05-06  6:28 Agostino Sarubbo
2020-05-05  6:46 Agostino Sarubbo
2020-05-04 16:56 Agostino Sarubbo
2020-05-04 15:30 Agostino Sarubbo
2020-03-17  9:44 Andreas K. Hüttel
2018-06-02 14:58 Kent Fredric
2018-05-13 18:32 Mikle Kolyada
2018-04-07  4:36 Matt Turner
2018-04-07  4:36 Matt Turner
2018-04-06 22:44 Sergei Trofimovich
2018-04-05 16:10 Tobias Klausmann
2018-04-03 21:07 Sergei Trofimovich
2018-04-03 11:52 Jason Zaman
2017-10-15  1:20 Kent Fredric
2017-03-31  8:52 Michael Weber
2017-01-10  8:23 Aaron Bauman
2016-12-21 21:34 Thomas Deutschmann
2016-12-05 15:54 Tobias Klausmann
2016-09-30 21:53 Andreas Hüttel
2016-09-29 21:20 Andreas Hüttel
2016-01-06 13:34 Agostino Sarubbo
2015-12-26 23:32 Agostino Sarubbo
2015-11-22  7:54 Markus Meier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1656778777.3b6e787f1cd399ffbbae57fcb6adb360bca31fa9.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox