pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Tie-CPHash Add p5-Tie-CPHash version 2.000.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3a23baef507
branches:  trunk
changeset: 443036:e3a23baef507
user:      he <he%pkgsrc.org@localhost>
date:      Sun Dec 06 09:57:48 2020 +0000

description:
Add p5-Tie-CPHash version 2.000.

This implements a case preserving but case insensitive hash table.
This means that

    $cphash{KEY}    $cphash{key}
    $cphash{Key}    $cphash{keY}

all refer to the same entry.  Also, the hash remembers which form of
the key was last used to store the entry.  The `keys' and `each'
functions will return the key that was used to set the value.

diffstat:

 devel/p5-Tie-CPHash/DESCR    |   9 +++++++++
 devel/p5-Tie-CPHash/Makefile |  16 ++++++++++++++++
 devel/p5-Tie-CPHash/distinfo |   6 ++++++
 3 files changed, 31 insertions(+), 0 deletions(-)

diffs (43 lines):

diff -r 8a72de172003 -r e3a23baef507 devel/p5-Tie-CPHash/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Tie-CPHash/DESCR Sun Dec 06 09:57:48 2020 +0000
@@ -0,0 +1,9 @@
+This module provides a case preserving but case insensitive hash.
+This means that
+ 
+    $cphash{KEY}    $cphash{key}
+    $cphash{Key}    $cphash{keY}
+ 
+all refer to the same entry.  Also, the hash remembers which form of
+the key was last used to store the entry.  The `keys' and `each'
+functions will return the key that was used to set the value.
diff -r 8a72de172003 -r e3a23baef507 devel/p5-Tie-CPHash/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Tie-CPHash/Makefile      Sun Dec 06 09:57:48 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/12/06 09:57:48 he Exp $
+
+DISTNAME=              Tie-CPHash-2.000
+PKGNAME=               p5-${DISTNAME}
+CATEGORIES=            devel perl5
+MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Tie/}
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              https://metacpan.org/release/Tie-CPHash/
+COMMENT=               Case preserving but case insensitive hash table
+LICENSE=               ${PERL5_LICENSE}
+
+PERL5_PACKLIST=                auto/Tie/CPHash/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8a72de172003 -r e3a23baef507 devel/p5-Tie-CPHash/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Tie-CPHash/distinfo      Sun Dec 06 09:57:48 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/12/06 09:57:48 he Exp $
+
+SHA1 (Tie-CPHash-2.000.tar.gz) = d72921e1b542e503337a6accf87374d4ba11b5b1
+RMD160 (Tie-CPHash-2.000.tar.gz) = 95f0010952a5c0b1c8ae139589aa8e6071f1be73
+SHA512 (Tie-CPHash-2.000.tar.gz) = 0fae8b82f0600cd9bc058623eb036309c59cad323d7fba42880bcb539f702c300a59e2eb20fa972caa8c67682ab13a636c1cab895401c0839f0025ae981628e7
+Size (Tie-CPHash-2.000.tar.gz) = 15828 bytes



Home | Main Index | Thread Index | Old Index