diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/HTML-Mason | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/HTML-Mason')
-rw-r--r-- | dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild | 66 | ||||
-rw-r--r-- | dev-perl/HTML-Mason/Manifest | 4 | ||||
-rw-r--r-- | dev-perl/HTML-Mason/files/HTML-Mason-1.560.0-no-dot-inc.patch | 28 | ||||
-rw-r--r-- | dev-perl/HTML-Mason/metadata.xml | 52 |
4 files changed, 150 insertions, 0 deletions
diff --git a/dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild b/dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild new file mode 100644 index 000000000000..522c6657af3b --- /dev/null +++ b/dev-perl/HTML-Mason/HTML-Mason-1.560.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MODULE_AUTHOR=DROLSKY +MODULE_VERSION=1.56 +inherit depend.apache perl-module + +DESCRIPTION="A HTML development and delivery Perl Module" +HOMEPAGE="http://www.masonhq.com/ ${HOMEPAGE}" + +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="modperl 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} + virtual/perl-ExtUtils-MakeMaker + test? ( + >=virtual/perl-Test-Simple-0.880.0 + dev-perl/Test-Deep + ) +" +PATCHES=( "${FILESDIR}/${P}-no-dot-inc.patch" ) + +want_apache2 modperl + +SRC_TEST="do" +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 +} diff --git a/dev-perl/HTML-Mason/Manifest b/dev-perl/HTML-Mason/Manifest new file mode 100644 index 000000000000..80f17d28adb6 --- /dev/null +++ b/dev-perl/HTML-Mason/Manifest @@ -0,0 +1,4 @@ +AUX HTML-Mason-1.560.0-no-dot-inc.patch 802 BLAKE2B 49194d66a45804bf60e459cb12b9f0b793420854706b1c04601ef9e992d1e7ca80056b252687fcaab37b3030b238678412df4c2e1a67d5582b69ec8a3f073be8 SHA512 c3de6da1cf6f5a777833c9ea4b68e1dd3c920c766b8661eba4d0ef430604d102abc68bef0d2cfbf11bfaef776c101c1bf19de80f4a05091d9105620601b1b245 +DIST HTML-Mason-1.56.tar.gz 314167 BLAKE2B 7e449bc566f406f2f6c93459f573327be933bbf50eeb1c712e9d109133448cdf568cfbefbdd28fa403d9ed340334afb5c9d1dd5a1800c624b23634cd54949520 SHA512 3492a37b8289209a2215b42be71db242ca150f4364d8422e46ca4762f2cdbddf96a56f44a3462d1f1eb23ef3bbe1cb36b8322106f4050404b988c6d90a05911c +EBUILD HTML-Mason-1.560.0.ebuild 1466 BLAKE2B 70edd0492e415d67a3a3b23cf40b16644aa8afd46c15533f1e31be06033a9373246720d4879fe480a68e720e057332c2924779ca2f256b266c9637c48564d8e9 SHA512 63132d49f7c849d0e860c7dcbc88638fe8f081d5ba99827d920bdf326ad07b5dddc467bc3b50e094c4f3c39907a888010ba9330f3f0240fef21090cd4bf4681a +MISC metadata.xml 3212 BLAKE2B 87a54f90f83a9b5ecea1153e148dad7c497fd20b7c2385a34af5ab5ee418510153bac3e415ea2e172028cc156f7bb46545477638ca3ba34bee04b41e4f0262d7 SHA512 a24c5efe8884f82d4a925fdba27dbe710709c6a3347bde64313f9ce8e88e8439a96e2703050a2ca24e8cfab20e7fae36a1dda3b82f9cc3596d888ec85920f77f diff --git a/dev-perl/HTML-Mason/files/HTML-Mason-1.560.0-no-dot-inc.patch b/dev-perl/HTML-Mason/files/HTML-Mason-1.560.0-no-dot-inc.patch new file mode 100644 index 000000000000..6dda6205c86f --- /dev/null +++ b/dev-perl/HTML-Mason/files/HTML-Mason-1.560.0-no-dot-inc.patch @@ -0,0 +1,28 @@ +From 07ed4ceef9d501d2ee455e589ae9075a9898ebdd Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Tue, 24 Oct 2017 17:40:13 +1300 +Subject: Fix t/13-errors.t failing w/o '.' in @INC + +Bug: https://bugs.gentoo.org/616966 +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=121443 +Bug: https://github.com/houseabsolute/HTML-Mason/pull/6 +--- + t/13-errors.t | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/t/13-errors.t b/t/13-errors.t +index 716f2f02..78cfc6b0 100644 +--- a/t/13-errors.t ++++ b/t/13-errors.t +@@ -417,7 +417,7 @@ EOF + description => 'Require a module with an error in a once block', + component => <<'EOF', + <%once> +-require "t/lib/BadModule.pm"; ++require "./t/lib/BadModule.pm"; + </%once> + hi! + EOF +-- +2.14.2 + diff --git a/dev-perl/HTML-Mason/metadata.xml b/dev-perl/HTML-Mason/metadata.xml new file mode 100644 index 000000000000..70517316a767 --- /dev/null +++ b/dev-perl/HTML-Mason/metadata.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <use><flag name="modperl">Enable <pkg>www-apache/mod_perl</pkg> + support</flag> + </use> + <upstream> + <remote-id type="cpan">HTML-Mason</remote-id> + <remote-id type="cpan-module">HTML::Mason</remote-id> + <remote-id type="cpan-module">HTML::Mason::Apache::Request</remote-id> + <remote-id type="cpan-module">HTML::Mason::ApacheHandler</remote-id> + <remote-id type="cpan-module">HTML::Mason::CGIHandler</remote-id> + <remote-id type="cpan-module">HTML::Mason::Cache::BaseCache</remote-id> + <remote-id type="cpan-module">HTML::Mason::Compiler</remote-id> + <remote-id type="cpan-module">HTML::Mason::Compiler::ToObject</remote-id> + <remote-id type="cpan-module">HTML::Mason::Component</remote-id> + <remote-id type="cpan-module">HTML::Mason::Component::FileBased</remote-id> + <remote-id type="cpan-module">HTML::Mason::Component::Subcomponent</remote-id> + <remote-id type="cpan-module">HTML::Mason::ComponentSource</remote-id> + <remote-id type="cpan-module">HTML::Mason::Escapes</remote-id> + <remote-id type="cpan-module">HTML::Mason::Exception</remote-id> + <remote-id type="cpan-module">HTML::Mason::Exception::Compilation</remote-id> + <remote-id type="cpan-module">HTML::Mason::Exception::Syntax</remote-id> + <remote-id type="cpan-module">HTML::Mason::Exceptions</remote-id> + <remote-id type="cpan-module">HTML::Mason::FakeApache</remote-id> + <remote-id type="cpan-module">HTML::Mason::FakeTable</remote-id> + <remote-id type="cpan-module">HTML::Mason::FakeTableHash</remote-id> + <remote-id type="cpan-module">HTML::Mason::Handler</remote-id> + <remote-id type="cpan-module">HTML::Mason::Interp</remote-id> + <remote-id type="cpan-module">HTML::Mason::Lexer</remote-id> + <remote-id type="cpan-module">HTML::Mason::MethodMaker</remote-id> + <remote-id type="cpan-module">HTML::Mason::Plugin</remote-id> + <remote-id type="cpan-module">HTML::Mason::Plugin::Context</remote-id> + <remote-id type="cpan-module">HTML::Mason::Plugin::Context::EndComponent</remote-id> + <remote-id type="cpan-module">HTML::Mason::Plugin::Context::EndRequest</remote-id> + <remote-id type="cpan-module">HTML::Mason::Plugin::Context::StartComponent</remote-id> + <remote-id type="cpan-module">HTML::Mason::Plugin::Context::StartRequest</remote-id> + <remote-id type="cpan-module">HTML::Mason::Request</remote-id> + <remote-id type="cpan-module">HTML::Mason::Request::ApacheHandler</remote-id> + <remote-id type="cpan-module">HTML::Mason::Request::CGI</remote-id> + <remote-id type="cpan-module">HTML::Mason::Resolver</remote-id> + <remote-id type="cpan-module">HTML::Mason::Resolver::File</remote-id> + <remote-id type="cpan-module">HTML::Mason::Resolver::Null</remote-id> + <remote-id type="cpan-module">HTML::Mason::Tools</remote-id> + <remote-id type="cpan-module">HTML::Mason::Utils</remote-id> + <remote-id type="cpan-module">Tie::Handle::Mason</remote-id> + </upstream> +</pkgmetadata> |