# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR=CHANSEN
DIST_VERSION=0.44
DIST_EXAMPLES=("eg/*")
inherit perl-module

DESCRIPTION="Represents a date and time of day with an offset from UTC"

SLOT="0"
KEYWORDS="~amd64 ~x86"

PATCHES=(
	"${FILESDIR}/0.38-makefilepl.patch"
)
RDEPEND="
	virtual/perl-Carp
	virtual/perl-Time-HiRes
	>=virtual/perl-XSLoader-0.20.0
"
BDEPEND="${RDEPEND}
	>=virtual/perl-ExtUtils-MakeMaker-6.590.0
	>=virtual/perl-ExtUtils-ParseXS-3.180.0
	test? (
		>=dev-perl/Test-Fatal-0.6.0
		>=dev-perl/Test-Number-Delta-1.60.0
		dev-perl/Test-Requires
		>=virtual/perl-Test-Simple-0.880.0
	)
"