summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-22 00:35:12 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commit3b9631ccb705d8b356a2bafa8069477526679dfb (patch)
treeb571f949d7953fbad9608584fb6593e10ca34d09 /user
parentb9ea5f42698753112028b018170dedf6f294e15d (diff)
downloadpackages-3b9631ccb705d8b356a2bafa8069477526679dfb.tar.gz
packages-3b9631ccb705d8b356a2bafa8069477526679dfb.tar.bz2
packages-3b9631ccb705d8b356a2bafa8069477526679dfb.tar.xz
packages-3b9631ccb705d8b356a2bafa8069477526679dfb.zip
user/perl-posix-strftime-compiler: upgrade to 0.44
Diffstat (limited to 'user')
-rw-r--r--user/perl-posix-strftime-compiler/APKBUILD12
-rw-r--r--user/perl-posix-strftime-compiler/change-timezone-name.patch12
2 files changed, 19 insertions, 5 deletions
diff --git a/user/perl-posix-strftime-compiler/APKBUILD b/user/perl-posix-strftime-compiler/APKBUILD
index 641a6ffcd..789352aca 100644
--- a/user/perl-posix-strftime-compiler/APKBUILD
+++ b/user/perl-posix-strftime-compiler/APKBUILD
@@ -1,20 +1,21 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
-# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-posix-strftime-compiler
_pkgreal=POSIX-strftime-Compiler
_author=KAZEBURO
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
-pkgver=0.43
+pkgver=0.44
pkgrel=0
pkgdesc="Perl strftime compiler"
url="https://metacpan.org/release/POSIX-strftime-Compiler"
arch="noarch"
-license="Artistic-1.0-Perl OR GPL-2.0-only"
+license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
makedepends="perl-dev perl-module-build-tiny"
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
+ change-timezone-name.patch"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
@@ -31,4 +32,5 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="3a0a118509a4da3b4af774d75be5cf05e65672c61df57117317d39f13a835c1d8cd27c9bebe4d81c20e8a628e69f698e8406b93610feb8900c1f225c9dbd4f9d POSIX-strftime-Compiler-0.43.tar.gz"
+sha512sums="34852966a46f55a65e4ee90af3aec6478456d3a7fc8f8b8e8fc4e704a8361f46abfad5fe0f356eb3432fb2e232e65004818b19f298293cc0172d576cfe34c3e1 POSIX-strftime-Compiler-0.44.tar.gz
+372ca8d3b8dfe35cbb6f67023341e59d6bca558d6a8bf8f02e79fb1f44c8d42a7c798b82e3e8732ebe7a46588912f6a533018bd4256419cd32a1257f11f5b467 change-timezone-name.patch"
diff --git a/user/perl-posix-strftime-compiler/change-timezone-name.patch b/user/perl-posix-strftime-compiler/change-timezone-name.patch
new file mode 100644
index 000000000..5ef5598b3
--- /dev/null
+++ b/user/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`;