user/perl-timedate: upgrade to 2.31

parent 800f6f4f
......@@ -2,10 +2,10 @@
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-timedate
_pkgreal=TimeDate
_author=GBARR
_author=ATOOMIC
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.30
pkgver=2.31
pkgrel=0
pkgdesc="Date and time handling routines for Perl"
url="https://metacpan.org/release/TimeDate"
......@@ -15,7 +15,6 @@ depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz
y2020.patch
"
builddir="$srcdir/$_pkgreal-$pkgver"
......@@ -33,5 +32,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="c6aa7d57fbe82260c7455f74f6dfda55f7c93d7a75914bafb9d09ebfb83b5f57f6bc1e332ab0764d7688d857eb022b0f5e92cf5b685d809c63cdfa93a8d2c221 TimeDate-2.30.tar.gz
864e1dc96015b072008687205c49b5b7ef7966ca167fca3c5d745f90dea0bf75cdc101ab314f4de06e7fd17a4401bdf367b2966b8a1e9dfaecf60e787f739ec9 y2020.patch"
sha512sums="abee40d77ce4a57e251575b450406b1d26ac369d05899c1630f996b6f3c0c5ac222b84ff04d6fdf4c0763eb0a5bc45a59edadcfb15c73982787c8c17e0ee2a2a TimeDate-2.31.tar.gz"
--- TimeDate-2.30/t/getdate.t.old 2009-12-12 12:30:06.000000000 +0000
+++ TimeDate-2.30/t/getdate.t 2020-01-19 22:18:19.279039627 +0000
@@ -156,7 +156,7 @@
!;
require Time::Local;
-my $offset = Time::Local::timegm(0,0,0,1,0,70);
+my $offset = Time::Local::timegm(0,0,0,1,0,1970);
@data = split(/\n/, $data);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment