summaryrefslogtreecommitdiff
blob: cb27e10d2f4a1bd63abe3858e80823a09ebbed5c (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
37
38
39
40
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR=DCOPPIT
DIST_VERSION=0.7112
DIST_EXAMPLES=("examples/*")
inherit perl-module

DESCRIPTION="Perl code benchmarking tool"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	dev-perl/Statistics-TTest
	virtual/perl-Time-HiRes
"

BDEPEND="${RDEPEND}
	>=virtual/perl-ExtUtils-MakeMaker-6.360.0
	test? ( virtual/perl-Test-Simple )
"

PATCHES=(
	"${FILESDIR}/${PN}-0.7112-noauthortests.patch"
	"${FILESDIR}/${PN}-0.7112-relocateexample.patch"
)

PERL_RM_FILES=(
	"inc/Module/Install/AutomatedTester.pm"
	"inc/Module/Install/Bugtracker.pm"
	"inc/Module/Install/GithubMeta.pm"
	"inc/Module/Install/PRIVATE/Enable_Verbose_CPAN_Testing.pm"
	"inc/Module/Install/StandardTests.pm"
	"inc/URI/Escape.pm"
	"private-lib/Module/Install/PRIVATE/Enable_Verbose_CPAN_Testing.pm"
)