pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-List-Pairwise Import p5-List-Pairwise-1.03 as...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3404ac3063fc
branches:  trunk
changeset: 646274:3404ac3063fc
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Feb 07 09:11:36 2015 +0000

description:
Import p5-List-Pairwise-1.03 as devel/p5-List-Pairwise,
packaged for wip by mef.

List::Pairwise provides functions to map and grep lists two
elements at a time, setting $a and $b to each pair instead of
setting $_ to each element.

As of version 1.01, List::Pairwise now tries to use the newly
implemented XS functions pairmap, pairgrep, pairfirst and
pairs from List::Util 1.31 and up, resulting in a major
speedup.

New code should now preferably use List::Util functions
directly, with the added benefit of relying on a Perl core
module.

diffstat:

 devel/p5-List-Pairwise/DESCR    |  12 ++++++++++++
 devel/p5-List-Pairwise/Makefile |  18 ++++++++++++++++++
 devel/p5-List-Pairwise/distinfo |   5 +++++
 3 files changed, 35 insertions(+), 0 deletions(-)

diffs (47 lines):

diff -r b7a826490b32 -r 3404ac3063fc devel/p5-List-Pairwise/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-List-Pairwise/DESCR      Sat Feb 07 09:11:36 2015 +0000
@@ -0,0 +1,12 @@
+List::Pairwise provides functions to map and grep lists two
+elements at a time, setting $a and $b to each pair instead of
+setting $_ to each element.
+
+As of version 1.01, List::Pairwise now tries to use the newly
+implemented XS functions pairmap, pairgrep, pairfirst and
+pairs from List::Util 1.31 and up, resulting in a major
+speedup.
+
+New code should now preferably use List::Util functions
+directly, with the added benefit of relying on a Perl core
+module.
diff -r b7a826490b32 -r 3404ac3063fc devel/p5-List-Pairwise/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-List-Pairwise/Makefile   Sat Feb 07 09:11:36 2015 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2015/02/07 09:11:36 wiz Exp $
+#
+
+DISTNAME=      List-Pairwise-1.03
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=List/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/~tdrugeon/List-Pairwise/
+COMMENT=       (Perl Module) List::Pairwise - map/grep arrays and hashes pairwise
+LICENSE=       ${PERL5_LICENSE}
+
+PERL5_PACKLIST=        auto/List/Pairwise/.packlist
+USE_LANGUAGES= # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b7a826490b32 -r 3404ac3063fc devel/p5-List-Pairwise/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-List-Pairwise/distinfo   Sat Feb 07 09:11:36 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/02/07 09:11:36 wiz Exp $
+
+SHA1 (List-Pairwise-1.03.tar.gz) = 80b1c33535fe0145b128a8f98a63b66a9965f752
+RMD160 (List-Pairwise-1.03.tar.gz) = dfcc2c29163887606841fb51e9f83975dd9e9c57
+Size (List-Pairwise-1.03.tar.gz) = 26886 bytes



Home | Main Index | Thread Index | Old Index