pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-Hash-Util-FieldHash-Compat Initial import of ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d2558b5a64bc
branches: trunk
changeset: 556460:d2558b5a64bc
user: seb <seb%pkgsrc.org@localhost>
date: Sun Mar 22 07:31:43 2009 +0000
description:
Initial import of p5-Hash-Util-FieldHash-Compat version 0.03 in the
NetBSD Packages Collection.
The Perl 5 module Hash::Util::FieldHash::Compat use Hash::Util::FieldHash
or ties, depending on availability. Under older perls this module
provides a drop in compatible api to Hash::Util::FieldHash using
perltie. When Hash::Util::FieldHash is available it will use that
instead. This way code requiring field hashes can benefit from
fast, robust field hashes on Perl 5.10 and newer, but still run on
older perls that don't ship with that module. See Hash::Util::FieldHash
for all the details of the API.
diffstat:
devel/p5-Hash-Util-FieldHash-Compat/DESCR | 9 +++++++++
devel/p5-Hash-Util-FieldHash-Compat/Makefile | 28 ++++++++++++++++++++++++++++
devel/p5-Hash-Util-FieldHash-Compat/distinfo | 5 +++++
3 files changed, 42 insertions(+), 0 deletions(-)
diffs (54 lines):
diff -r 2f485ac4b268 -r d2558b5a64bc devel/p5-Hash-Util-FieldHash-Compat/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Hash-Util-FieldHash-Compat/DESCR Sun Mar 22 07:31:43 2009 +0000
@@ -0,0 +1,9 @@
+The Perl 5 module Hash::Util::FieldHash::Compat use Hash::Util::FieldHash
+or ties, depending on availability.
+Under older perls this module provides a drop in compatible api to
+Hash::Util::FieldHash using perltie. When Hash::Util::FieldHash is
+available it will use that instead.
+This way code requiring field hashes can benefit from fast, robust
+field hashes on Perl 5.10 and newer, but still run on older perls
+that don't ship with that module.
+See Hash::Util::FieldHash for all the details of the API.
diff -r 2f485ac4b268 -r d2558b5a64bc devel/p5-Hash-Util-FieldHash-Compat/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Hash-Util-FieldHash-Compat/Makefile Sun Mar 22 07:31:43 2009 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/03/22 07:31:43 seb Exp $
+#
+
+DISTNAME= Hash-Util-FieldHash-Compat-0.03
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Hash/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://search.cpan.org/dist/Hash-Util-FieldHash-Compat/
+COMMENT= Perl 5 module to user Hash::Util::FieldHash or ties
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Hash/Util/FieldHash/Compat/.packlist
+
+# This package was added after Perl 5.10 became the minimal required
+# version for pkgsrc. The module Hash::Util::FieldHash is a core
+# module since version 5.9.4. Thus this module/package does not need
+# any of the two dependencies below.
+#DEPENDS+= p5-Tie-RefHash>=1.38:../../devel/p5-Tie-RefHash
+#DEPENDS+= p5-Tie-RefHash-Weak>=0.08../../devel/p5-Tie-RefHash-Weak
+
+BUILD_DEPENDS+= p5-Test-use-ok-[0-9]*:../../devel/p5-Test-use-ok
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2f485ac4b268 -r d2558b5a64bc devel/p5-Hash-Util-FieldHash-Compat/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Hash-Util-FieldHash-Compat/distinfo Sun Mar 22 07:31:43 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/03/22 07:31:43 seb Exp $
+
+SHA1 (Hash-Util-FieldHash-Compat-0.03.tar.gz) = 8bb573cb778734b98a2bc885239f1d4001a81311
+RMD160 (Hash-Util-FieldHash-Compat-0.03.tar.gz) = 1446afa0e2bcca69a714db3c63b8e8e65103b800
+Size (Hash-Util-FieldHash-Compat-0.03.tar.gz) = 4702 bytes
Home |
Main Index |
Thread Index |
Old Index