pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Hash-Ordered



Module Name:    pkgsrc
Committed By:   wen
Date:           Mon Jul 29 03:50:59 UTC 2024

Added Files:
        pkgsrc/devel/p5-Hash-Ordered: DESCR Makefile distinfo

Log Message:
Import Hash-Ordered-0.014 as devel/p5-Hash-Ordered.

Hash::Ordered implements an ordered hash, meaning that it associates keys with
values like a Perl hash, but keeps the keys in a consistent order. Because it is
implemented as an object and manipulated with method calls, it is much slower
than a Perl hash. This is the cost of keeping order.

However, compared to other ordered hash implementations, Hash::Ordered is
optimized for getting and setting individual elements and is generally faster at
most other tasks as well. For specific details, see Hash::Ordered::Benchmarks.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Hash-Ordered/DESCR \
    pkgsrc/devel/p5-Hash-Ordered/Makefile \
    pkgsrc/devel/p5-Hash-Ordered/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/p5-Hash-Ordered/DESCR
diff -u /dev/null pkgsrc/devel/p5-Hash-Ordered/DESCR:1.1
--- /dev/null   Mon Jul 29 03:50:59 2024
+++ pkgsrc/devel/p5-Hash-Ordered/DESCR  Mon Jul 29 03:50:59 2024
@@ -0,0 +1,8 @@
+Hash::Ordered implements an ordered hash, meaning that it associates keys with
+values like a Perl hash, but keeps the keys in a consistent order. Because it is
+implemented as an object and manipulated with method calls, it is much slower
+than a Perl hash. This is the cost of keeping order.
+
+However, compared to other ordered hash implementations, Hash::Ordered is
+optimized for getting and setting individual elements and is generally faster at
+most other tasks as well. For specific details, see Hash::Ordered::Benchmarks.
Index: pkgsrc/devel/p5-Hash-Ordered/Makefile
diff -u /dev/null pkgsrc/devel/p5-Hash-Ordered/Makefile:1.1
--- /dev/null   Mon Jul 29 03:50:59 2024
+++ pkgsrc/devel/p5-Hash-Ordered/Makefile       Mon Jul 29 03:50:59 2024
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2024/07/29 03:50:59 wen Exp $
+
+DISTNAME=      Hash-Ordered-0.014
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Hash/}
+
+MAINTAINER=    wen%NetBSD.org@localhost
+HOMEPAGE=      https://metacpan.org/release/Hash-Ordered
+COMMENT=       Fast, pure-Perl ordered hash class
+LICENSE=       ${PERL5_LICENSE}
+
+TEST_DEPENDS+= p5-Test-Deep>=0:devel/p5-Test-Deep \
+TEST_DEPENDS+= p5-Test-FailWarnings>=0:devel/p5-Test-FailWarnings \
+TEST_DEPENDS+= p5-Test-Fatal>=0:devel/p5-Test-Fatal
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST=        auto/Hash/Ordered/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/p5-Hash-Ordered/distinfo
diff -u /dev/null pkgsrc/devel/p5-Hash-Ordered/distinfo:1.1
--- /dev/null   Mon Jul 29 03:50:59 2024
+++ pkgsrc/devel/p5-Hash-Ordered/distinfo       Mon Jul 29 03:50:59 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/07/29 03:50:59 wen Exp $
+
+BLAKE2s (Hash-Ordered-0.014.tar.gz) = cc5d4e3d0b41cbe9e99605c01fc516ee6228ba509eb9bf652a5010c2ea962921
+SHA512 (Hash-Ordered-0.014.tar.gz) = 077abdd3b536f5b31d913c2c0849e1775f91daa5ca83734671088ab06d9fe11cf80f743e32c5db1bf70a874248337c3bebeafceef1a6e38078f92966474480c3
+Size (Hash-Ordered-0.014.tar.gz) = 36831 bytes



Home | Main Index | Thread Index | Old Index