aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2021-02-16 16:45:32 +0000
committerTimothy Legge <timlegge@gmail.com>2021-04-03 12:43:02 -0300
commitddafa1220accf280e0b367dce4ee1a79bfe28bb5 (patch)
treed2034927a0b70cb7be47d71966f93de4ecc16b3f
parent962ff3e83c7c0ff4b298ec5fc605c2e9a79430a9 (diff)
downloadaports-ddafa1220accf280e0b367dce4ee1a79bfe28bb5.tar.gz
aports-ddafa1220accf280e0b367dce4ee1a79bfe28bb5.tar.bz2
aports-ddafa1220accf280e0b367dce4ee1a79bfe28bb5.tar.xz
main/perl-posix-strftime-compiler: upgrade to 0.44
-rw-r--r--main/perl-posix-strftime-compiler/APKBUILD11
-rw-r--r--main/perl-posix-strftime-compiler/change-timezone-name.patch12
2 files changed, 18 insertions, 5 deletions
diff --git a/main/perl-posix-strftime-compiler/APKBUILD b/main/perl-posix-strftime-compiler/APKBUILD
index 1cb3fd54ff..5173b7617d 100644
--- a/main/perl-posix-strftime-compiler/APKBUILD
+++ b/main/perl-posix-strftime-compiler/APKBUILD
@@ -4,17 +4,17 @@
pkgname=perl-posix-strftime-compiler
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=POSIX-strftime-Compiler
-pkgver=0.42
-pkgrel=3
+pkgver=0.44
+pkgrel=0
pkgdesc="GNU C library compatible strftime for loggers and servers"
url="https://metacpan.org/release/POSIX-strftime-Compiler/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl tzdata"
makedepends="perl-dev perl-module-build perl-module-build-tiny"
-checkdepends="tzdata"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/POSIX-strftime-Compiler-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/POSIX-strftime-Compiler-$pkgver.tar.gz
+ change-timezone-name.patch"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
@@ -32,4 +32,5 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="0c07f1b8589b067533c65a023dd634a29640cb8992aae8047aa1063affe6b30b95930479829982a30a13b87bc7c9ebf82ca4837726bd29658d85d718164e3c76 POSIX-strftime-Compiler-0.42.tar.gz"
+sha512sums="34852966a46f55a65e4ee90af3aec6478456d3a7fc8f8b8e8fc4e704a8361f46abfad5fe0f356eb3432fb2e232e65004818b19f298293cc0172d576cfe34c3e1 POSIX-strftime-Compiler-0.44.tar.gz
+372ca8d3b8dfe35cbb6f67023341e59d6bca558d6a8bf8f02e79fb1f44c8d42a7c798b82e3e8732ebe7a46588912f6a533018bd4256419cd32a1257f11f5b467 change-timezone-name.patch"
diff --git a/main/perl-posix-strftime-compiler/change-timezone-name.patch b/main/perl-posix-strftime-compiler/change-timezone-name.patch
new file mode 100644
index 0000000000..5ef5598b3c
--- /dev/null
+++ b/main/perl-posix-strftime-compiler/change-timezone-name.patch
@@ -0,0 +1,12 @@
+diff -ru a/t/02_timezone.t b/t/02_timezone.t
+--- a/t/02_timezone.t 2021-04-03 11:56:22.696118176 -0300
++++ b/t/02_timezone.t 2021-04-03 11:57:25.279713829 -0300
+@@ -8,7 +8,7 @@
+ my $inc = join ' ', map { "-I\"$_\"" } @INC;
+ my $dir = dirname(__FILE__);
+
+-$ENV{TEST_TZ} = 'CET-1CEST';
++$ENV{TEST_TZ} = 'Europe/Brussels';
+
+ eval {
+ my $d = `"$^X" $inc $dir/02_timezone.pl %z 0 0 0 1 7 112`;