From 09d53f8c98299df996e957fb7e01ceb2546d059f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 1 Jan 2020 17:37:11 +0000 Subject: user/perl-*: Modernise / fix syntax / deps --- user/perl-timedate/APKBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user/perl-timedate/APKBUILD') diff --git a/user/perl-timedate/APKBUILD b/user/perl-timedate/APKBUILD index f1e1e2bc0..fec167717 100644 --- a/user/perl-timedate/APKBUILD +++ b/user/perl-timedate/APKBUILD @@ -12,7 +12,7 @@ url="https://metacpan.org/release/TimeDate" arch="noarch" license="Artistic-1.0-Perl" depends="perl" -makedepends="" +makedepends="perl-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" -- cgit v1.2.3-70-g09d2 From cbccfe59728846f22ad196a4ba5c58e0a705a6b6 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 19 Jan 2020 22:38:31 +0000 Subject: user/perl-timedate: Fix Y2020 bug --- user/perl-timedate/APKBUILD | 7 +++++-- user/perl-timedate/y2020.patch | 11 +++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 user/perl-timedate/y2020.patch (limited to 'user/perl-timedate/APKBUILD') diff --git a/user/perl-timedate/APKBUILD b/user/perl-timedate/APKBUILD index fec167717..8dbb85e6d 100644 --- a/user/perl-timedate/APKBUILD +++ b/user/perl-timedate/APKBUILD @@ -14,7 +14,9 @@ license="Artistic-1.0-Perl" depends="perl" makedepends="perl-dev" subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz + y2020.patch + " builddir="$srcdir/$_pkgreal-$pkgver" build() { @@ -31,4 +33,5 @@ package() { find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -sha512sums="c6aa7d57fbe82260c7455f74f6dfda55f7c93d7a75914bafb9d09ebfb83b5f57f6bc1e332ab0764d7688d857eb022b0f5e92cf5b685d809c63cdfa93a8d2c221 TimeDate-2.30.tar.gz" +sha512sums="c6aa7d57fbe82260c7455f74f6dfda55f7c93d7a75914bafb9d09ebfb83b5f57f6bc1e332ab0764d7688d857eb022b0f5e92cf5b685d809c63cdfa93a8d2c221 TimeDate-2.30.tar.gz +864e1dc96015b072008687205c49b5b7ef7966ca167fca3c5d745f90dea0bf75cdc101ab314f4de06e7fd17a4401bdf367b2966b8a1e9dfaecf60e787f739ec9 y2020.patch" diff --git a/user/perl-timedate/y2020.patch b/user/perl-timedate/y2020.patch new file mode 100644 index 000000000..b9c62d903 --- /dev/null +++ b/user/perl-timedate/y2020.patch @@ -0,0 +1,11 @@ +--- 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); + -- cgit v1.2.3-70-g09d2 From c9036279153bad0d2819a4087f7b90467048aa17 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sat, 15 Feb 2020 02:12:39 -0500 Subject: user/perl-timedate: upgrade to 2.31 --- user/perl-timedate/APKBUILD | 8 +++----- user/perl-timedate/y2020.patch | 11 ----------- 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 user/perl-timedate/y2020.patch (limited to 'user/perl-timedate/APKBUILD') diff --git a/user/perl-timedate/APKBUILD b/user/perl-timedate/APKBUILD index 8dbb85e6d..65704784a 100644 --- a/user/perl-timedate/APKBUILD +++ b/user/perl-timedate/APKBUILD @@ -2,10 +2,10 @@ # Maintainer: Adélie Perl Team 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" diff --git a/user/perl-timedate/y2020.patch b/user/perl-timedate/y2020.patch deleted file mode 100644 index b9c62d903..000000000 --- a/user/perl-timedate/y2020.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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); - -- cgit v1.2.3-70-g09d2