[arch-commits] Commit in perl-bit-vector/trunk (Bit-Vector-destroy.patch PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Fri Jul 12 02:57:15 UTC 2013
Date: Friday, July 12, 2013 @ 04:57:15
Author: eric
Revision: 189970
upgpkg: perl-bit-vector 7.3-1
Upstream update, Remove old patch, Update source url, PKGBUILD clean up
Modified:
perl-bit-vector/trunk/PKGBUILD
Deleted:
perl-bit-vector/trunk/Bit-Vector-destroy.patch
--------------------------+
Bit-Vector-destroy.patch | 27 ---------------------------
PKGBUILD | 30 +++++++++---------------------
2 files changed, 9 insertions(+), 48 deletions(-)
Deleted: Bit-Vector-destroy.patch
===================================================================
--- Bit-Vector-destroy.patch 2013-07-12 02:43:37 UTC (rev 189969)
+++ Bit-Vector-destroy.patch 2013-07-12 02:57:15 UTC (rev 189970)
@@ -1,27 +0,0 @@
-From 0646f34fc3eeb47627822df860986cf7bee4ebed Mon Sep 17 00:00:00 2001
-From: Gisle Aas <gisle at activestate.com>
-Date: Thu, 28 Mar 2013 00:41:07 -0700
-Subject: [PATCH] eval { 1->method } triggers different error in 5.17.11
-
----
- t/02_____destroy.t | 4 +++-
- 1 files changed, 3 insertions(+), 1 deletions(-)
-
-diff --git a/t/02_____destroy.t b/t/02_____destroy.t
-index 41e3aa3..adcf995 100644
---- a/t/02_____destroy.t
-+++ b/t/02_____destroy.t
-@@ -17,7 +17,9 @@ if (ref($set) eq '')
- {print "ok $n\n";} else {print "not ok $n\n";}
- $n++;
- eval { $set->DESTROY(); };
--if ($@ =~ /Can't call method "DESTROY" without a package or object reference/)
-+if ($@ =~ /Can't call method "DESTROY" without a package or object reference/ ||
-+ $@ =~ /Can't locate object method "DESTROY" via package "1"/
-+)
- {print "ok $n\n";} else {print "not ok $n\n";}
- $n++;
- eval { Bit::Vector::DESTROY($set); };
---
-1.7.0.5
-
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-07-12 02:43:37 UTC (rev 189969)
+++ PKGBUILD 2013-07-12 02:57:15 UTC (rev 189970)
@@ -1,43 +1,31 @@
# $Id$
# Maintainer:
# Contributor: Kevin Piche <kevin at archlinux.org>
-# Contributor: K. Piche <kpiche at rogers.com>
pkgname=perl-bit-vector
-_cpanname=Bit-Vector
-pkgver=7.2
-pkgrel=3
+pkgver=7.3
+pkgrel=1
pkgdesc='Efficient bit vector, set of integers and "big int" math library'
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'PerlArtistic')
-url="http://search.cpan.org/dist/${_cpanname}/"
+url="http://search.cpan.org/dist/Bit-Vector/"
depends=('perl-carp-clan' 'perl')
options=('!emptydirs')
-source=(http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/${_cpanname}-${pkgver}.tar.gz
- Bit-Vector-destroy.patch)
-md5sums=('bc6ae34738b8f889290bf50099ff8aed'
- 'c86a55b84cb05dd04004ee8f56ee2ee3')
+source=(http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/Bit-Vector-${pkgver}.tar.gz)
+md5sums=('684e63a93db1e0eda25a103258b39725')
-prepare() {
- cd "${srcdir}/${_cpanname}-$pkgver"
-
- # https://rt.cpan.org/Public/Bug/Display.html?id=84250
- patch -Np1 -i "${srcdir}/Bit-Vector-destroy.patch"
-}
-
build() {
- cd "${srcdir}/${_cpanname}-$pkgver"
- # install module in vendor directories.
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ cd Bit-Vector-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "${srcdir}/${_cpanname}-$pkgver"
+ cd Bit-Vector-$pkgver
make test
}
package() {
- cd "${srcdir}/${_cpanname}-$pkgver"
+ cd Bit-Vector-$pkgver
make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list