diff options
author | Dirk Langer | 2019-02-15 08:38:46 +0100 |
---|---|---|
committer | Dirk Langer | 2019-02-15 08:38:46 +0100 |
commit | 555cb70abbe6022417913cb1438acfc92f576549 (patch) | |
tree | e836b95002144167655de2340a4c192c8685660d | |
parent | 6355826ba674e1178eb27bb45d323bc8e558ab27 (diff) | |
download | aur-555cb70abbe6022417913cb1438acfc92f576549.tar.gz |
Update to 1.991
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | 04-pipeline.t.patch | 12 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 36 insertions, 17 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Fri Apr 8 16:48:37 UTC 2016 pkgbase = perl-redis pkgdesc = Perl binding for Redis database - pkgver = 1.982 + pkgver = 1.991 pkgrel = 1 url = https://metacpan.org/release/Redis arch = any @@ -19,9 +17,12 @@ pkgbase = perl-redis depends = perl-try-tiny depends = perl>=5.008 options = !emptydirs - source = http://search.cpan.org/CPAN/authors/id/D/DA/DAMS/Redis-1.982.tar.gz - md5sums = dedaa148036f71cdde848a258264527d - sha512sums = 50cffe25ba01a18726e69811586ae208b5fdfdc794836f2ef8bc0fd658c2fb9eca75ba46288f1412b721d84c077e64918c09f8fbac320f8fbcd14b9d3696f52e + source = http://search.cpan.org/CPAN/authors/id/D/DA/DAMS/Redis-1.991.tar.gz + source = 04-pipeline.t.patch + md5sums = d7c494f1504da2d3273eb0c96a2d889b + md5sums = 37228d6cf23949af136e7d7afe7d90db + sha512sums = 28e4c5d4c4275a9949cc25f239c1f8bdd3371bd5f5772e72e6d4c063ce1cbfec77d429e6efcf3836a397d76eb9b7351ca98585ee5697f6bfbf359c200ace7819 + sha512sums = 187a637c9f4bed4fcdc3a3552f64864735140857d2c57912727222fe6174bc982fcd6e91cc850ebd44538b57f81841eb29e4c40c67731918d69da2500fffa6a8 pkgname = perl-redis diff --git a/04-pipeline.t.patch b/04-pipeline.t.patch new file mode 100644 index 000000000000..575139279bce --- /dev/null +++ b/04-pipeline.t.patch @@ -0,0 +1,12 @@ +--- Redis-1.991/t/04-pipeline.t ++++ 04-pipeline.t +@@ -45,7 +45,7 @@ + pipeline_ok 'single-command pipeline', ([set => [foo => 'bar'], 'OK'],); + + pipeline_ok 'pipeline with embedded error', +- ([set => [clunk => 'eth'], 'OK'], [oops => [], undef, q[ERR unknown command 'OOPS']], [get => ['clunk'], 'eth'],); ++ ([set => [clunk => 'eth'], 'OK'], [oops => [], undef, re(qq{^ERR unknown command .OOPS.})], [get => ['clunk'], 'eth'],); + + pipeline_ok 'keys in pipelined mode', + ([keys => ['*'], bag(qw<foo clunk>)], [keys => [], undef, q[ERR wrong number of arguments for 'keys' command]],); + @@ -1,8 +1,9 @@ # Contributor: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com> # Generator : CPANPLUS::Dist::Arch 1.32 +# Maintainer: Dirk Langer AKA ordoban <dirk.langer -_AT_- vvovgonik -_Dot_- de> pkgname='perl-redis' -pkgver='1.982' +pkgver='1.991' pkgrel='1' pkgdesc="Perl binding for Redis database" arch=('any') @@ -12,13 +13,20 @@ depends=('perl-io-socket-timeout>=0.29' 'perl-io-string' 'perl-try-tiny' 'perl>= makedepends=() checkdepends=('perl-pod-coverage-trustpod' 'perl-test-cpan-meta' 'perl-test-deep' 'perl-test-fatal' 'perl-test-sharedfork' 'perl-test-tcp>=1.19') url='https://metacpan.org/release/Redis' -source=('http://search.cpan.org/CPAN/authors/id/D/DA/DAMS/Redis-1.982.tar.gz') -md5sums=('dedaa148036f71cdde848a258264527d') -sha512sums=('50cffe25ba01a18726e69811586ae208b5fdfdc794836f2ef8bc0fd658c2fb9eca75ba46288f1412b721d84c077e64918c09f8fbac320f8fbcd14b9d3696f52e') -_distdir="Redis-1.982" +source=('http://search.cpan.org/CPAN/authors/id/D/DA/DAMS/Redis-1.991.tar.gz' '04-pipeline.t.patch') +md5sums=('d7c494f1504da2d3273eb0c96a2d889b' + '37228d6cf23949af136e7d7afe7d90db') +sha512sums=('28e4c5d4c4275a9949cc25f239c1f8bdd3371bd5f5772e72e6d4c063ce1cbfec77d429e6efcf3836a397d76eb9b7351ca98585ee5697f6bfbf359c200ace7819' + '187a637c9f4bed4fcdc3a3552f64864735140857d2c57912727222fe6174bc982fcd6e91cc850ebd44538b57f81841eb29e4c40c67731918d69da2500fffa6a8') +_distdir="Redis-1.991" + +prepare() { + cd "$srcdir" + patch -p0 -i "04-pipeline.t.patch" +} build() { - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ PERL_AUTOINSTALL=--skipdeps \ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ @@ -27,21 +35,19 @@ build() { cd "$srcdir/$_distdir" /usr/bin/perl Makefile.PL make - ) } check() { cd "$srcdir/$_distdir" - ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" - make test - ) + export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test } package() { cd "$srcdir/$_distdir" make install - find "$pkgdir" -name .packlist -o -name perllocal.pod -delete + find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete } # Local Variables: |