From nobody Tue Apr 18 21:49:22 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q1Hcz1138z45jcN; Tue, 18 Apr 2023 21:49:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q1Hcy69Fcz41W1; Tue, 18 Apr 2023 21:49:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681854562; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WDWS/GYGv+tF8nLHcE6kyBUUy/Z7It8GbJ+YYaHp9M0=; b=uO5gZTYSTdujOz+xt3btsqT4jNJS1UTSaw+U0RlLl3wQabYM5rp2J7gjSLi4x81O4syy7W j/HSJypjkhn+17s9HdEBXb8TOCxV1r2tvFuqB47lqGPv7O1GU+ePtU4IoEiNKaD88odQvP okbNV4U7pfaKlH2YcM7NzjkuPxmlan8/mAGPbEpLN2CcptctXeQSrX98TDkKcYiqtmh1LW oVrmD4afPYDqYK2d4tEplWS4ipj9FOXFzCmz2Hzcbb4AZlj5VmhdQxu92xWssUbcsLS1Xp efll5q7wOfTgfAMg7CPdY63a1Tty8mV+w12VNI188xD5PAtg0cVjhg88KTROPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681854562; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WDWS/GYGv+tF8nLHcE6kyBUUy/Z7It8GbJ+YYaHp9M0=; b=auM8MKT6xK4E80BmMPo6ryyYG4zkKyVXT0cK6PAkpuezW2lhwoMhj4GaMLrYFlK3JA6lPp ltBpODJ2iupTkbszqEflO0XJSo2FgcUrEmBuQusIjO2ksjWk9Ke7Vsp55+wWSN/Bzx7Pwd 3vttjyHQckRT6yrZJx9LWYBmrcS//z0tWjav1pjvgGR/H9Gja5EjB3LdUsyckP6yy4XivX ZXy6wFscxL08FPRLCoPsT8jAJGJ24UBtzRs8EMeIHFCldeBmWcDrb2dMSvfPUo6+mvwq/e htaaiE6m4wvz7CfAv6eGrddZ3JpaN6oe44+gzsJ69XzLRevFP0rUTrromboIVw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681854562; a=rsa-sha256; cv=none; b=ERqNUx54aTo5fMLWi23wmwDobvXmyl3BBq5g1yN7q5QeqMUDt5AGsK0szQpgHEiGJIkxRW em72ulzAerMOgmntELBg6tAIo1FOeMqOU9H5I0kGOqPqJMMZ84CCbEgRhVBRuqxDSVikeJ z5cQIhmK+uWl8s6knqTOoWDcao2P90BVOEhXvcmd4wPDXkPAKM6q24PY7t6CoEG8oZUsRA CVqYdzYki2H/rmGmoKZV7dblzaHCrKu/DdS1QizuQ8azAxrcGo/3IiiPQgG2/JmJs1n6OF FPS0yNWuVNc8IP0pwQSeT5AQvFBHHGnFbAtwZztMHYXUH/+gDOccHL/Gsfzksg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q1Hcy3tyKzTDx; Tue, 18 Apr 2023 21:49:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33ILnMSI044680; Tue, 18 Apr 2023 21:49:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33ILnMxB044679; Tue, 18 Apr 2023 21:49:22 GMT (envelope-from git) Date: Tue, 18 Apr 2023 21:49:22 GMT Message-Id: <202304182149.33ILnMxB044679@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: fbaf4169c24c - main - devel/p5-Hash-Ordered: Add p5-Hash-Ordered 0.014 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fbaf4169c24ca8015fb2c26da2b4a8b942e1e94f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fbaf4169c24ca8015fb2c26da2b4a8b942e1e94f commit fbaf4169c24ca8015fb2c26da2b4a8b942e1e94f Author: Po-Chuan Hsieh AuthorDate: 2023-04-18 21:37:17 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-18 21:37:17 +0000 devel/p5-Hash-Ordered: Add p5-Hash-Ordered 0.014 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. --- devel/Makefile | 1 + devel/p5-Hash-Ordered/Makefile | 23 +++++++++++++++++++++++ devel/p5-Hash-Ordered/distinfo | 3 +++ devel/p5-Hash-Ordered/pkg-descr | 8 ++++++++ devel/p5-Hash-Ordered/pkg-plist | 4 ++++ 5 files changed, 39 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7843f1fdc13a..ab7a70b8cf7b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2595,6 +2595,7 @@ SUBDIR += p5-Hash-MultiValue SUBDIR += p5-Hash-NoRef SUBDIR += p5-Hash-Objectify + SUBDIR += p5-Hash-Ordered SUBDIR += p5-Hash-Slice SUBDIR += p5-Hash-Union SUBDIR += p5-Hash-Util-FieldHash-Compat diff --git a/devel/p5-Hash-Ordered/Makefile b/devel/p5-Hash-Ordered/Makefile new file mode 100644 index 000000000000..543f10d63f6b --- /dev/null +++ b/devel/p5-Hash-Ordered/Makefile @@ -0,0 +1,23 @@ +PORTNAME= Hash-Ordered +PORTVERSION= 0.014 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Fast, pure-Perl ordered hash class +WWW= https://metacpan.org/dist/Hash-Ordered + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= p5-Test-Deep>=0:devel/p5-Test-Deep \ + p5-Test-FailWarnings>=0:devel/p5-Test-FailWarnings \ + p5-Test-Fatal>=0:devel/p5-Test-Fatal + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/devel/p5-Hash-Ordered/distinfo b/devel/p5-Hash-Ordered/distinfo new file mode 100644 index 000000000000..757f6d6bdece --- /dev/null +++ b/devel/p5-Hash-Ordered/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1681843820 +SHA256 (Hash-Ordered-0.014.tar.gz) = 8dc36cd79155ae37ab8a3de5fd9120ffba9a31e409258c28529ec5251c59747b +SIZE (Hash-Ordered-0.014.tar.gz) = 36831 diff --git a/devel/p5-Hash-Ordered/pkg-descr b/devel/p5-Hash-Ordered/pkg-descr new file mode 100644 index 000000000000..b5d90419edc1 --- /dev/null +++ b/devel/p5-Hash-Ordered/pkg-descr @@ -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. diff --git a/devel/p5-Hash-Ordered/pkg-plist b/devel/p5-Hash-Ordered/pkg-plist new file mode 100644 index 000000000000..f76475d1dcfa --- /dev/null +++ b/devel/p5-Hash-Ordered/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_PERL%%/Hash/Ordered.pm +%%SITE_PERL%%/Hash/Ordered/Benchmarks.pod +%%PERL5_MAN3%%/Hash::Ordered.3.gz +%%PERL5_MAN3%%/Hash::Ordered::Benchmarks.3.gz