blob: 9776bb3e902d55a25c2eb1b45a5f56d2e2ee8127 (
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
|
# Copyright 1999-2019 Gentoo Authors
# 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="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( 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
}
|