From nobody Sat Oct 22 17:22:56 2022 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 4Mvp7h6mfTz4gVSF; Sat, 22 Oct 2022 17:22:56 +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 4Mvp7h3MxDz44hT; Sat, 22 Oct 2022 17:22:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666459376; 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=xdCXPHHY5bghbwvAzxvgqHVlFJoASoIroLjJE+gaJA0=; b=B+NJ0D9vuGAem13Ot2EEM4mI0DRDM15xomMyjEAUgi8qJr3i/yCqc4KfDkPXSSNWY7PugP 5SA0Dg0fauP1//XZU2CMKUMuRaoY4B44OuE+6qv7S3Y3EkJmD33PSdB8FyzwVC3XMwX2cx 3lCxHu+uDQNvOr8zJ3GVJF7SbhnQKf+TyFGpoEjsEeIOD0yxE3Jl6ceAdkAcwNt+5VZPQq vbYyh0xh9Ad0OGeCu6OIhiUQRQdrNMLMk9vqzBCGeESOGAKCuXFnomhBf1ipLZjg4gu4it IyeBf043ZHobdBWD7OMagxqodIAvXVVNu5Rkn1iHb/pxxR9R4hySbGobD4aWRg== 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 4Mvp7h28hlzd4y; Sat, 22 Oct 2022 17:22:56 +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 29MHMu2f046029; Sat, 22 Oct 2022 17:22:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29MHMuUO046028; Sat, 22 Oct 2022 17:22:56 GMT (envelope-from git) Date: Sat, 22 Oct 2022 17:22:56 GMT Message-Id: <202210221722.29MHMuUO046028@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: 76d822d633c9 - main - Add devel/p5-String-KeyboardDistance: String Comparison Algorithm 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: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 76d822d633c91164fa940d39abc78e405b2c867d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666459376; 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=xdCXPHHY5bghbwvAzxvgqHVlFJoASoIroLjJE+gaJA0=; b=w6cTBMC56Wal48X0b3tjI191v48eovzKdtfFrEbc7MDCctXlWkWMG8Z44CozrirRx/dZib Iv8OjSBrRcvPd7qKf1JA8POez+e21+yud7B2eua6uIBscVed6B5iWhCWYsDzdRRFBO8+QW /dbQ1G+z1bp8LLO8psrCxaoUXFtXPYC7BTVmQ9x7qRVVaQH7YQgpEmnsB5JDD4lydDDPej jc6oF528HJa/SRzVea2Lh7vCLhsbxS2BuMJX3C5cr0LyJV0UKwyF8RzVxc7b1DVW8yCF4h Jmyuyw5dosh55RBB9l1zlls1oZftwIt/q+1LFaixONVrrWutwvJYrSPZgesKkA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666459376; a=rsa-sha256; cv=none; b=LaBf3mATXbpLlAW3R8ajyD91r0E5QmaC8Om34ljoKvnodxu/xXkN6XqNumDjc0zdzOyy6w yK2dQRQNCrrx5ErcAr23Pcz9DuBDZsWbOsmNUvi+AuOtmvUjzV05Cs6lzGLKsFB8ESbW/Q uBXSSAP1a5OuV2AzYuyA29hT9BGOsqWqjCy058m6iWlcesSXEHN9itk9yMJMDbHAt6U1W0 9hmmgw9ZisFcDVBivbrMhkOHo10aST2/TpnJHmtLT9mUEL1FQhNagKoOyuS0fye/BKQkUq 0NNBpeyqhL51OFZsPXZ5vVbaOyNID90dktnBNHE6pYF113eX8bXnWvwbn5ddPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=76d822d633c91164fa940d39abc78e405b2c867d commit 76d822d633c91164fa940d39abc78e405b2c867d Author: Martin Neubauer AuthorDate: 2022-10-12 23:41:22 +0000 Commit: Li-Wen Hsu CommitDate: 2022-10-22 17:22:35 +0000 Add devel/p5-String-KeyboardDistance: String Comparison Algorithm PR: 267046 --- devel/Makefile | 1 + devel/p5-String-KeyboardDistance/Makefile | 17 +++++++++++++++++ devel/p5-String-KeyboardDistance/distinfo | 3 +++ devel/p5-String-KeyboardDistance/pkg-descr | 7 +++++++ devel/p5-String-KeyboardDistance/pkg-plist | 2 ++ 5 files changed, 30 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index afee439bec2b..82ad859b9ff9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3285,6 +3285,7 @@ SUBDIR += p5-String-Errf SUBDIR += p5-String-Formatter SUBDIR += p5-String-Interpolate-Named + SUBDIR += p5-String-KeyboardDistance SUBDIR += p5-String-LRC SUBDIR += p5-String-Parity SUBDIR += p5-String-Random diff --git a/devel/p5-String-KeyboardDistance/Makefile b/devel/p5-String-KeyboardDistance/Makefile new file mode 100644 index 000000000000..7a92d282266c --- /dev/null +++ b/devel/p5-String-KeyboardDistance/Makefile @@ -0,0 +1,17 @@ +PORTNAME= String-KeyboardDistance +PORTVERSION= 1.01 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:KRBURTON +PKGNAMEPREFIX= p5- + +MAINTAINER= m.ne@gmx.net +COMMENT= String::KeyboardDistance - String Comparison Algorithm +WWW= https://metacpan.org/dist/String-KeyboardDistance + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/devel/p5-String-KeyboardDistance/distinfo b/devel/p5-String-KeyboardDistance/distinfo new file mode 100644 index 000000000000..cf855833ddde --- /dev/null +++ b/devel/p5-String-KeyboardDistance/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1665546379 +SHA256 (String-KeyboardDistance-1.01.tar.gz) = 60885f1f25d77568665c76dc89b587481a7ba94e4caee252297222bfe5adea70 +SIZE (String-KeyboardDistance-1.01.tar.gz) = 6739 diff --git a/devel/p5-String-KeyboardDistance/pkg-descr b/devel/p5-String-KeyboardDistance/pkg-descr new file mode 100644 index 000000000000..aa700f3623d9 --- /dev/null +++ b/devel/p5-String-KeyboardDistance/pkg-descr @@ -0,0 +1,7 @@ +This module implmements a version of keyboard distance for fuzzy +string matching. Keyboard distance is a measure of the physical +distance between two keys on a keyboard. For example, 'g' has a +distance of 1 from the keys 'r', 't', 'y', 'f', 'h', 'v', 'b', and +'n'. Immediate diagonals (like ''r, 'y', 'v', and 'n') are considered +to have a distance of 1 instead of 1.414 to help to prevent +horizontal/vertical bias. diff --git a/devel/p5-String-KeyboardDistance/pkg-plist b/devel/p5-String-KeyboardDistance/pkg-plist new file mode 100644 index 000000000000..777b8cbab96c --- /dev/null +++ b/devel/p5-String-KeyboardDistance/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/String/KeyboardDistance.pm +%%PERL5_MAN3%%/String::KeyboardDistance.3.gz