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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E8EB158093 for ; Sat, 2 Jul 2022 15:32:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 187E3E0C83; Sat, 2 Jul 2022 15:32:21 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F2782E0C83 for ; Sat, 2 Jul 2022 15:32:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 64B4A341C04 for ; Sat, 2 Jul 2022 15:32:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C16E9522 for ; Sat, 2 Jul 2022 15:32:17 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1656775931.10521e5ffe44b04493eddb1af5e762e7a3ead053.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/HTML-Mason/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/HTML-Mason/HTML-Mason-1.590.0-r1.ebuild X-VCS-Directories: dev-perl/HTML-Mason/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 10521e5ffe44b04493eddb1af5e762e7a3ead053 X-VCS-Branch: master Date: Sat, 2 Jul 2022 15:32:17 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2dfbc04b-d762-4eae-b0c6-009716d95f9f X-Archives-Hash: f5d13361b2b9d67b75a473d73af53a60 commit: 10521e5ffe44b04493eddb1af5e762e7a3ead053 Author: Sam James gentoo org> AuthorDate: Sat Jul 2 15:25:55 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jul 2 15:32:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10521e5f dev-perl/HTML-Mason: update EAPI 6 -> 7 Signed-off-by: Sam James gentoo.org> dev-perl/HTML-Mason/HTML-Mason-1.590.0-r1.ebuild | 66 ++++++++++++++++++++++++ 1 file changed, 66 insertions(+) diff --git a/dev-perl/HTML-Mason/HTML-Mason-1.590.0-r1.ebuild b/dev-perl/HTML-Mason/HTML-Mason-1.590.0-r1.ebuild new file mode 100644 index 000000000000..7aea94b71506 --- /dev/null +++ b/dev-perl/HTML-Mason/HTML-Mason-1.590.0-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=DROLSKY +DIST_VERSION=1.59 +inherit depend.apache perl-module + +DESCRIPTION="A HTML development and delivery Perl Module" +HOMEPAGE="http://www.masonhq.com/ https://metacpan.org/release/HTML-Mason" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="modperl test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !modperl? ( >=dev-perl/CGI-2.460.0 ) + modperl? ( + www-apache/libapreq2 + >=www-apache/mod_perl-2 + ) + >=dev-perl/Cache-Cache-1 + >=dev-perl/Class-Container-0.70.0 + >=dev-perl/Exception-Class-1.150.0 + virtual/perl-File-Spec + dev-perl/HTML-Parser + >=dev-perl/Log-Any-0.80.0 + >=dev-perl/Params-Validate-0.70.0 + virtual/perl-Scalar-List-Utils +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/perl-ExtUtils-MakeMaker + test? ( + >=virtual/perl-Test-Simple-0.880.0 + dev-perl/Test-Deep + ) +" + +want_apache2 modperl + +mydoc="CREDITS UPGRADE" +myconf="--noprompts" + +pkg_setup() { + depend.apache_pkg_setup modperl + perl_set_version +} + +src_prepare() { + # Note about new modperl use flag + if use !modperl ; then + ewarn "HTML-Mason will only install with modperl support" + ewarn "if the use flag modperl is enabled." + fi + # rendhalver - needed to set an env var for the build script so it finds our apache. + export APACHE="${APACHE_BIN}" + perl-module_src_prepare +} + +src_install() { + perl-module_src_install + mv "${ED}"/usr/bin/convert* "${ED}"/usr/share/doc/${PF} || die +}