summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-10-24 19:41:05 +1300
committerKent Fredric <kentnl@gentoo.org>2017-10-24 20:10:52 +1300
commitdbb85fc5838e06bf69a46248f6b7e039467ecd79 (patch)
treeb7b1c469c469ec54efa0548bfbe65c9dd1f61bbf /dev-perl/HTML-Formatter/HTML-Formatter-2.140.0.ebuild
parentx11-libs/libXfont2: stable 2.0.2 for hppa, bug #634044 (diff)
downloadgentoo-dbb85fc5838e06bf69a46248f6b7e039467ecd79.tar.gz
gentoo-dbb85fc5838e06bf69a46248f6b7e039467ecd79.tar.bz2
gentoo-dbb85fc5838e06bf69a46248f6b7e039467ecd79.zip
dev-perl/HTML-Formatter: Copy from dev-perl/HTML-Format
Upstream renamed. Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-perl/HTML-Formatter/HTML-Formatter-2.140.0.ebuild')
-rw-r--r--dev-perl/HTML-Formatter/HTML-Formatter-2.140.0.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-perl/HTML-Formatter/HTML-Formatter-2.140.0.ebuild b/dev-perl/HTML-Formatter/HTML-Formatter-2.140.0.ebuild
new file mode 100644
index 000000000000..0a54d6588078
--- /dev/null
+++ b/dev-perl/HTML-Formatter/HTML-Formatter-2.140.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=NIGELM
+DIST_VERSION=2.14
+inherit perl-module
+
+DESCRIPTION="HTML Formatter"
+
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="test"
+
+RDEPEND="
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ virtual/perl-Encode
+ dev-perl/Font-AFM
+ dev-perl/HTML-Tree
+ virtual/perl-IO
+ virtual/perl-parent
+"
+DEPEND="${RDEPEND}
+ >=dev-perl/Module-Build-0.280.0
+ test? (
+ dev-perl/File-Slurper
+ virtual/perl-File-Spec
+ virtual/perl-Scalar-List-Utils
+ >=virtual/perl-Test-Simple-0.960.0
+ )
+"
+src_test() {
+ local badfile
+ perl_rm_files t/author-* t/release-*
+ for badfile in t/000-report-versions.t META.yml; do
+ einfo "Stripping bad test dependencies from ${badfile}"
+ sed -i -r -e '/Test::(CPAN|EOL|Kwalitee|NoTabs|Pod|Port|YAML)/d' "${badfile}" || die "Can't fix bad deps in ${badfile}"
+ done
+ perl-module_src_test
+}