blob: 5d3592da89dc375e107d7c882e776156e5f0c43a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DIST_AUTHOR=KRYDE
DIST_VERSION=26
inherit perl-module
DESCRIPTION="HTML to text formatting using external programs"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
virtual/perl-File-Spec
virtual/perl-File-Temp
dev-perl/IPC-Run
dev-perl/URI
dev-perl/constant-defer
"
BDEPEND="${RDEPEND}
dev-perl/Module-Build
virtual/perl-ExtUtils-MakeMaker
"
src_prepare() {
# remove some test inputs that fail in w3m
# https://bugs.gentoo.org/904076
sed -i -e 's/-###/-/' t/FormatExternal.t || \
die "Couldn't replace -### test input"
sed -i -e 's/%57/-/' t/FormatExternal.t || \
die "Couldn't replace %57 test input"
eapply_user
}
|