diff options
author | Dirk Langer | 2022-05-06 10:06:30 +0200 |
---|---|---|
committer | Dirk Langer | 2022-05-06 10:06:30 +0200 |
commit | b345ebebd482dd2fd0df9635eeacd521b58346bb (patch) | |
tree | 68c040513ce61bc8a09f47e844eaeb08b5c91b17 | |
parent | e22d3c40fc426d246fdb77a6d68a07b179628073 (diff) | |
download | aur-b345ebebd482dd2fd0df9635eeacd521b58346bb.tar.gz |
version 0.19
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | 01-basic.t.diff | 20 | ||||
-rw-r--r-- | 10-syntax.t.diff | 25 | ||||
-rw-r--r-- | PKGBUILD | 22 |
4 files changed, 9 insertions, 73 deletions
@@ -1,6 +1,6 @@ pkgbase = perl-test-http pkgdesc = Testing for HTTP services - pkgver = 0.18 + pkgver = 0.19 pkgrel = 1 url = https://metacpan.org/release/Test-HTTP arch = any @@ -9,15 +9,8 @@ pkgbase = perl-test-http depends = perl-class-field>=0 depends = perl-libwww>=0 options = !emptydirs - source = https://cpan.metacpan.org/authors/id/L/LU/LUKEC/Test-HTTP-0.18.tar.gz - source = 01-basic.t.diff - source = 10-syntax.t.diff - md5sums = 5fc15a8c821e13f1c2847aeda14a1a81 - md5sums = 29929e60bfda049d74997df7dec94fe9 - md5sums = d791375747975928cf0d7af5313a88d5 - sha512sums = 0a4ce985e213c818ec1be34ccdffe3d78cbbceee3587b88c80ffc59391cc14e2afdaaf38ddb943c84c7fcb80d3709512f9e641b40783cae433e0fe9ed79e6e70 - sha512sums = ac90acfbda52fd2619c1cc33d23a62ba8c8039e044402848375c6f6e859ff1f488d51b142099773c2a890081014c217070f4caaf3b2738bbbba48b62c40a65f7 - sha512sums = b84b1e8013493cb9fc2bc810a7ab8cf015a8f7decfebc96d6d4e3b3b8cae02010abf86a2c3e9f44cb3d605284e2439167e5075c46a57695491948b9ff5a9a247 + source = https://cpan.metacpan.org/authors/id/M/MM/MML/Test-HTTP-0.19.tar.gz + md5sums = 94fcc4f658eaea030f7820d91a53aaeb + sha512sums = 7fe9835e700e60414a35998baff7a792e7288ba8d0381a882a846d4bd799b8533064edcf2b8eb366141b0c8b7771508572d51d3663b62e2f24011bc8a661f666 pkgname = perl-test-http - diff --git a/01-basic.t.diff b/01-basic.t.diff deleted file mode 100644 index 668357a4c5ce..000000000000 --- a/01-basic.t.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- a/01-basic.t -+++ b/01-basic.t -@@ -6,13 +6,13 @@ - { - my $test = Test::HTTP->new('GET basic'); - -- $test->get('http://www.socialtext.com/'); -- $test->status_code_is(200); -+ $test->get('http://www.socialtext.net/'); -+ $test->status_code_is(301); - } - - { - my $test = Test::HTTP->new('GET utf8-crap'); -- my $uri = 'http://en.wikipedia.org/wiki/£'; -+ my $uri = 'https://en.wikipedia.org/wiki/£'; - $test->get($uri); - $test->status_code_is(200); - } - diff --git a/10-syntax.t.diff b/10-syntax.t.diff deleted file mode 100644 index f1c3b8982c2d..000000000000 --- a/10-syntax.t.diff +++ /dev/null @@ -1,25 +0,0 @@ ---- a/10-syntax.t -+++ b/10-syntax.t -@@ -4,9 +4,9 @@ - use Test::HTTP '-syntax', tests => 2; - - test_http "Socialtext" { -- >> GET http://www.socialtext.com/ -+ >> GET http://www.socialtext.net/ - -- << 200 -+ << 301 - } - - # Method in a variable should be OK, too. -@@ -14,7 +14,7 @@ - test_http "method in variable" { - my $method = 'GET'; - -- >> $method http://www.socialtext.com/ -+ >> $method http://www.socialtext.net/ - -- << 200 -+ << 301 - } - @@ -2,7 +2,7 @@ # Generator : CPANPLUS::Dist::Arch 1.32 pkgname='perl-test-http' -pkgver='0.18' +pkgver='0.19' pkgrel='1' pkgdesc="Testing for HTTP services" arch=('any') @@ -11,22 +11,10 @@ options=('!emptydirs') depends=('perl-class-field>=0' 'perl-libwww>=0') makedepends=() url='https://metacpan.org/release/Test-HTTP' -source=('https://cpan.metacpan.org/authors/id/L/LU/LUKEC/Test-HTTP-0.18.tar.gz' - '01-basic.t.diff' - '10-syntax.t.diff') -md5sums=('5fc15a8c821e13f1c2847aeda14a1a81' - '29929e60bfda049d74997df7dec94fe9' - 'd791375747975928cf0d7af5313a88d5') -sha512sums=('0a4ce985e213c818ec1be34ccdffe3d78cbbceee3587b88c80ffc59391cc14e2afdaaf38ddb943c84c7fcb80d3709512f9e641b40783cae433e0fe9ed79e6e70' - 'ac90acfbda52fd2619c1cc33d23a62ba8c8039e044402848375c6f6e859ff1f488d51b142099773c2a890081014c217070f4caaf3b2738bbbba48b62c40a65f7' - 'b84b1e8013493cb9fc2bc810a7ab8cf015a8f7decfebc96d6d4e3b3b8cae02010abf86a2c3e9f44cb3d605284e2439167e5075c46a57695491948b9ff5a9a247') -_distdir="Test-HTTP-0.18" - -prepare() { - cd "$_distdir/t" - patch --forward --strip=1 --input="$srcdir/01-basic.t.diff" - patch --forward --strip=1 --input="$srcdir/10-syntax.t.diff" -} +source=("https://cpan.metacpan.org/authors/id/M/MM/MML/Test-HTTP-$pkgver.tar.gz") +md5sums=('94fcc4f658eaea030f7820d91a53aaeb') +sha512sums=('7fe9835e700e60414a35998baff7a792e7288ba8d0381a882a846d4bd799b8533064edcf2b8eb366141b0c8b7771508572d51d3663b62e2f24011bc8a661f666') +_distdir="Test-HTTP-$pkgver" build() { export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ |