summaryrefslogtreecommitdiff
blob: a42be47c6766855eb66b06851609838cdfbe6276 (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
DIST_AUTHOR=ROODE
DIST_VERSION=1.12
inherit perl-module

DESCRIPTION="Easy-to-use date/time formatting"
LICENSE="Time-Format"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="test"

RDEPEND="
	dev-perl/Date-Manip
	>=virtual/perl-Time-Local-1.70.0
"
DEPEND="${RDEPEND}
	>=dev-perl/Module-Build-0.400.0
	test? ( >=virtual/perl-Test-Simple-0.400.0 )
"
PATCHES=(
	"${FILESDIR}/${PN}-1.12-datetimetest.patch"
	"${FILESDIR}/${PN}-1.12-nosig.patch"
)
PERL_RM_FILES=( "t/0-signature.t" "SIGNATURE" )

src_configure() {
	export TZ=UTC # https://rt.cpan.org/Public/Bug/Display.html?id=85001
	perl-module_src_configure
}