diff options
Diffstat (limited to 'testing/perl-template-toolkit')
-rw-r--r-- | testing/perl-template-toolkit/APKBUILD | 16 | ||||
-rw-r--r-- | testing/perl-template-toolkit/split_pattern.patch | 31 |
2 files changed, 6 insertions, 41 deletions
diff --git a/testing/perl-template-toolkit/APKBUILD b/testing/perl-template-toolkit/APKBUILD index c05403c33f..69cffddf3c 100644 --- a/testing/perl-template-toolkit/APKBUILD +++ b/testing/perl-template-toolkit/APKBUILD @@ -3,8 +3,8 @@ # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=perl-template-toolkit _pkgreal=Template-Toolkit -pkgver=2.24 -pkgrel=1 +pkgver=2.26 +pkgrel=0 pkgdesc="comprehensive template processing system" url="http://search.cpan.org/dist/Template-Toolkit/" arch="all" @@ -14,8 +14,7 @@ cpanmakedepends=" " depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/A/AB/ABW/$_pkgreal-$pkgver.tar.gz - split_pattern.patch" +source="http://search.cpan.org/CPAN/authors/id/A/AB/ABW/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" @@ -42,9 +41,6 @@ package() { find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="c25fdab1beebf8818c2e624bc9f9d212 Template-Toolkit-2.24.tar.gz -ba157cb82e67488bf562ca9456efa346 split_pattern.patch" -sha256sums="38834aa8c249f7b7fb8b7238f086a08947ea7d472d78f1f5e2b9f3dbf49d01c8 Template-Toolkit-2.24.tar.gz -2a93ce763aa3bc2dcfcf0d5b69c2b20ad1aec5c6e44084fbf59625006f9d4250 split_pattern.patch" -sha512sums="3ea88b0d308070b6b30dd48af4f97ab285e9d67d32b6a59c17c374c620a26287eac267e1b8d901b7dacb6922ca052e3aaec561025967acf5b342200706978739 Template-Toolkit-2.24.tar.gz -d95c9e674fd1c56991fb715908eb206da53c9573e17b7a30d5b69e63cad95824726548f0da900d08a68fecd9722416fa0124f715635a0f953f1340412045f8bd split_pattern.patch" +md5sums="4c289856ebee446ebbe2629b24f0734b Template-Toolkit-2.26.tar.gz" +sha256sums="e7e1cf36026f1ef96d8233e18a3fb39e1eafe9109edc639ecf25b20651cd76be Template-Toolkit-2.26.tar.gz" +sha512sums="97e49392542e240840b44f0d78ea601afb26a6675f76faa9765c158820d596308a7f35057bf347d51a86a5f9134dfd4a02ce7a80b47a98b9bdbca68fff9146d6 Template-Toolkit-2.26.tar.gz" diff --git a/testing/perl-template-toolkit/split_pattern.patch b/testing/perl-template-toolkit/split_pattern.patch deleted file mode 100644 index b0b1152e48..0000000000 --- a/testing/perl-template-toolkit/split_pattern.patch +++ /dev/null @@ -1,31 +0,0 @@ -https://rt.cpan.org/Public/Bug/Display.html?id=84778 - ---- a/lib/Template/VMethods.pm 2012-02-07 09:06:38.000000000 +0000 -+++ b/lib/Template/VMethods.pm 2013-04-22 16:58:34.000000000 +0000 -@@ -261,12 +261,12 @@ - - if (defined $limit) { - return [ defined $split -- ? split($split, $str, $limit) -+ ? split("(?:)".$split, $str, $limit) - : split(' ', $str, $limit) ]; - } - else { - return [ defined $split -- ? split($split, $str) -+ ? split("(?:)".$split, $str) - : split(' ', $str) ]; - } - } ---- a/lib/Template/Plugin/String.pm 2011-12-20 07:41:35.000000000 +0000 -+++ b/lib/Template/Plugin/String.pm 2013-04-22 16:55:36.000000000 +0000 -@@ -363,7 +363,7 @@ - my $split = CORE::shift; - my $limit = CORE::shift || 0; - $split = '\s+' unless defined $split; -- return [ split($split, $self->{ text }, $limit) ]; -+ return [ split("(?:)".$split, $self->{ text }, $limit) ]; - } - - - |