diff options
Diffstat (limited to 'abs/core/perl_modules/perl-error')
-rw-r--r-- | abs/core/perl_modules/perl-error/PKGBUILD | 26 | ||||
-rw-r--r-- | abs/core/perl_modules/perl-error/perl-error-0.17016-2-x86_64-build.log.1 | 72 |
2 files changed, 12 insertions, 86 deletions
diff --git a/abs/core/perl_modules/perl-error/PKGBUILD b/abs/core/perl_modules/perl-error/PKGBUILD index a8fa056..2518c31 100644 --- a/abs/core/perl_modules/perl-error/PKGBUILD +++ b/abs/core/perl_modules/perl-error/PKGBUILD @@ -1,34 +1,32 @@ -# $Id: PKGBUILD 163573 2012-07-16 03:20:23Z eric $ -# Maintainer: Dale Blount <dale@archlinux.org> -# Contributor: Dale Blount <dale@archlinux.org> +# $Id$ +# Maintainer: Felix Yan <felixonmars@archlinux.org> pkgname=perl-error -_realname=Error -pkgver=0.17018 +pkgver=0.17026 pkgrel=1 pkgdesc="Perl/CPAN Error module - Error/exception handling in an OO-ish way" -url="http://search.cpan.org/dist/${_realname}/" +url="http://search.cpan.org/dist/Error/" arch=('any') license=('PerlArtistic' 'GPL') -depends=('perl>=5.10.0') +depends=('perl') +checkdepends=('perl-test-pod' 'perl-test-pod-coverage') options=('!emptydirs') -source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/${_realname}-${pkgver}.tar.gz) +source=(http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Error-${pkgver}.tar.gz) +sha512sums=('58d43a133fb74d94d726ae923cdfb7df8e1faf156247bb07cb7308218e21a627485f031d029b3ee3179d92e756dca7f1e6dd1e2f4378f420c72b171aefe2f410') build() { - cd "${srcdir}/${_realname}-${pkgver}" - # install module in vendor directories. + cd Error-${pkgver} perl Makefile.PL INSTALLDIRS=vendor make } check() { - cd "${srcdir}/${_realname}-${pkgver}" + cd Error-${pkgver} make test } package() { - cd "${srcdir}/${_realname}-${pkgver}" - make install DESTDIR="${pkgdir}" + cd Error-${pkgver} + make DESTDIR="${pkgdir}" install } -md5sums=('1137a7bbb94c9508a2268c467583207f') diff --git a/abs/core/perl_modules/perl-error/perl-error-0.17016-2-x86_64-build.log.1 b/abs/core/perl_modules/perl-error/perl-error-0.17016-2-x86_64-build.log.1 deleted file mode 100644 index 92c6633..0000000 --- a/abs/core/perl_modules/perl-error/perl-error-0.17016-2-x86_64-build.log.1 +++ /dev/null @@ -1,72 +0,0 @@ -Checking if your kit is complete... -Looks good -Writing Makefile for Error -Writing MYMETA.yml and MYMETA.json -cp lib/Error.pm blib/lib/Error.pm -cp lib/Error/Simple.pm blib/lib/Error/Simple.pm -Manifying blib/man3/Error.3pm -Manifying blib/man3/Error::Simple.3pm -PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t -t/01throw.t .......................... ok -t/02order.t .......................... ok -t/03throw-non-Error.t ................ ok -t/04use-base-Error-Simple.t .......... ok -t/05text-errors-with-file-handles.t .. ok -t/06customize-text-throw.t ........... ok -t/07try-in-obj-destructor.t .......... ok - -# Failed test 'warn \n-terminated STDERR' -# at t/08warndie.t line 77. -# 'A warning at t/08warndie.t line 73.: -# main::__ANON__() called at t/08warndie.t line 37 -# main::run_kid('CODE(0x1c905f0)') called at t/08warndie.t line 74 -# ' -# doesn't match '(?^:^A warning at (?^:t\/08warndie\.t) line 73: -# \tmain::__ANON__\(\) called at (?^:t\/08warndie\.t) line 37 -# \tmain::run_kid\('CODE\(0x[0-9a-f]+\)'\) called at (?^:t\/08warndie\.t) line 74 -# $)' - -# Failed test 'warn unterminated STDERR' -# at t/08warndie.t line 89. -# 'A warning at t/08warndie.t line 85.: -# main::__ANON__() called at t/08warndie.t line 37 -# main::run_kid('CODE(0x1c908f0)') called at t/08warndie.t line 86 -# ' -# doesn't match '(?^:^A warning at (?^:t\/08warndie\.t) line 85: -# \tmain::__ANON__\(\) called at (?^:t\/08warndie\.t) line 37 -# \tmain::run_kid\('CODE\(0x[0-9a-f]+\)'\) called at (?^:t\/08warndie\.t) line 86 -# $)' - -# Failed test 'Custom warn STDERR' -# at t/08warndie.t line 192. -# 'My custom warning here: A warning at t/08warndie.t line 188.: -# main::__ANON__() called at t/08warndie.t line 37 -# main::run_kid('CODE(0x1c953e8)') called at t/08warndie.t line 189 -# ' -# doesn't match '(?^:^My custom warning here: A warning at (?^:t\/08warndie\.t) line 188: -# \tmain::__ANON__\(\) called at (?^:t\/08warndie\.t) line 37 -# \tmain::run_kid\('CODE\(0x[0-9a-f]+\)'\) called at (?^:t\/08warndie\.t) line 189 -# $)' -# Looks like you failed 3 tests of 21. -t/08warndie.t ........................ -Dubious, test returned 3 (wstat 768, 0x300) -Failed 3/21 subtests -t/09dollar-at.t ...................... ok -t/10throw-in-catch.t ................. ok -t/11rethrow.t ........................ ok -t/12wrong-error-var.t ................ ok -t/13except-arg0.t .................... ok -t/pod-coverage.t ..................... skipped: Test::Pod::Coverage 1.04 required for testing POD coverage -t/pod.t .............................. ok - -Test Summary Report -------------------- -t/08warndie.t (Wstat: 768 Tests: 21 Failed: 3) - Failed tests: 4, 6, 18 - Non-zero exit status: 3 -Files=15, Tests=62, 0 wallclock secs ( 0.05 usr 0.02 sys + 0.23 cusr 0.04 csys = 0.34 CPU) -Result: FAIL -Failed 1/15 test programs. 3/62 subtests failed. -make: *** [test_dynamic] Error 255 -[1m[31m==> ERROR:(B[m[1m A failure occurred in build().(B[m -[1m Aborting...(B[m |