From nobody Sat Oct 22 17:22:53 2022 X-Original-To: dev-commits-ports-main@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 4Mvp7f1rG0z4gVSD; Sat, 22 Oct 2022 17:22:54 +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 4Mvp7f1Drfz44VS; Sat, 22 Oct 2022 17:22:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666459374; 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=OUYQYn28o0OF2Uf/NWeOFW/Dbp4KHIPH/UrfiLr/ndY=; b=S4/jxIenk3ZmiFGRKRrS9RKLy29AMlFsou7AtkKQL8qV0QQOi1ZS5oPpa61I/ttD+F9Vxx DnsJlbjm6cH0wDQzbvC0EqqIUM8A8NUPT65thQqoGNG7U3qShH/+KD+Uj4iTj6pnfgrVlg JkaiepXmfJ96AYAaQlKB8Ur/AGCt7x8EvbFXF3rhgPEuht3e/ffr3599iBaRPNOnyQ93mH OrE3IKMiGVqt0zxxuFd+/FsGhWE5rD+QpyPs+xehO3S2w+twcWy9e0rnExmFqxmGlPMzpi M0lEh4BY3Viyqo84EWO5cbh0IUTGqDpTtt6zRCpqzqSWrQb3KiuUE7Uhd4O66g== 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 4Mvp7f0KTmzdCH; Sat, 22 Oct 2022 17:22:54 +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 29MHMrpq045974; Sat, 22 Oct 2022 17:22:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29MHMrDR045973; Sat, 22 Oct 2022 17:22:53 GMT (envelope-from git) Date: Sat, 22 Oct 2022 17:22:53 GMT Message-Id: <202210221722.29MHMrDR045973@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: 05790c362c93 - main - Add misc/p5-Library-CallNumber-LC: Deal with Library-of-Congress call numbers List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 05790c362c930adde08cedeae7d1d7e8519e6786 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666459374; 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=OUYQYn28o0OF2Uf/NWeOFW/Dbp4KHIPH/UrfiLr/ndY=; b=T/tOHgZp7o9Jg9mMrdZPua5OaxENo6RGMWHlpYEHfUj4/TvntUmOJ6x/PNqZArKku2uroE QJZltifEBArDhVcpb+BunhO/3ayuENLe/GWkyfWT8O0+Q6VUDOvwSauPqT8D1CL3nH/Jgh S1c1Go58O5ti+eYBBrfJm8Kf4U7lChlV47gwa9H1Z7JKRqI4+2PDXnlIJoBjRhBhsQ+wo6 Rr0LmlR1yEoKclEkytCXEbvhBjspo+Y6OHgBFyIjLcXlw6tEdPoX51lgpy1Wxe/gb9Xbcu ceJXbtCWA5eHvb66RrvB3nKUROlSCfLQppuxAUsZWUJY6AL7XKI1qfO9Tecfpg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666459374; a=rsa-sha256; cv=none; b=Cpga7EbD5UQaK12/q03wAt9WbhLW0TlUdsxKrudiQGaNPqsgWCPNMRBIXhWYzWKRJH/X+B +OYOV30KLjIUwq6MGJa1VmiQ3kfmiBoufTAeCzjTlcmy9tGTU+2sPYJET1vVk/ucyrDlqb fI5QyQop35MehvWzmWDWfa6C70wviBSVAomNBXiy+ZE5nWPPoX7bpZifnt/4zUBtdFC1kv GhSGYcgia0Oa3aCOHA9FNUCjIDJP1ziDauipEMIhl0jF11zKmkLY/zjB6tZr9bi5V/yDp5 02S2SfIOc4FZu1WtWkTn/joy5Sjtg8uktrigOLr5P/R/seYYY3sgaH8EOX0OdA== 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=05790c362c930adde08cedeae7d1d7e8519e6786 commit 05790c362c930adde08cedeae7d1d7e8519e6786 Author: Martin Neubauer AuthorDate: 2022-10-12 14:54:39 +0000 Commit: Li-Wen Hsu CommitDate: 2022-10-22 17:22:31 +0000 Add misc/p5-Library-CallNumber-LC: Deal with Library-of-Congress call numbers PR: 267045 --- misc/Makefile | 1 + misc/p5-Library-CallNumber-LC/Makefile | 21 +++++++++++++++++++++ misc/p5-Library-CallNumber-LC/distinfo | 3 +++ misc/p5-Library-CallNumber-LC/pkg-descr | 10 ++++++++++ misc/p5-Library-CallNumber-LC/pkg-plist | 2 ++ 5 files changed, 37 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 419f1bd275b5..e759ce0a2dec 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -331,6 +331,7 @@ SUBDIR += p5-I18N-Charset SUBDIR += p5-I18N-LangTags SUBDIR += p5-LEGO-RCX + SUBDIR += p5-Library-CallNumber-LC SUBDIR += p5-List-Compare SUBDIR += p5-List-Util-WeightedRoundRobin SUBDIR += p5-Locale-Codes diff --git a/misc/p5-Library-CallNumber-LC/Makefile b/misc/p5-Library-CallNumber-LC/Makefile new file mode 100644 index 000000000000..a52443336566 --- /dev/null +++ b/misc/p5-Library-CallNumber-LC/Makefile @@ -0,0 +1,21 @@ +PORTNAME= Library-CallNumber-LC +PORTVERSION= 0.23 +CATEGORIES= misc perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:DBWELLS +PKGNAMEPREFIX= p5- + +MAINTAINER= m.ne@gmx.net +COMMENT= Deal with Library-of-Congress call numbers +WWW= https://metacpan.org/dist/Library-CallNumber-LC + +LICENSE= ART10 BSD2CLAUSE GPLv1+ +LICENSE_COMB= multi + +BUILD_DEPENDS= p5-Math-BigInt>=0:math/p5-Math-BigInt +RUN_DEPENDS= p5-Math-BigInt>=0:math/p5-Math-BigInt + +USES= perl5 +USE_PERL5= configure + +.include diff --git a/misc/p5-Library-CallNumber-LC/distinfo b/misc/p5-Library-CallNumber-LC/distinfo new file mode 100644 index 000000000000..869aaca3afac --- /dev/null +++ b/misc/p5-Library-CallNumber-LC/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1665544776 +SHA256 (Library-CallNumber-LC-0.23.tar.gz) = 225ccdf39f5224955786cc9df3971bb15cf15611a460a6a45c85376405a267aa +SIZE (Library-CallNumber-LC-0.23.tar.gz) = 10819 diff --git a/misc/p5-Library-CallNumber-LC/pkg-descr b/misc/p5-Library-CallNumber-LC/pkg-descr new file mode 100644 index 000000000000..a0b8c6f12825 --- /dev/null +++ b/misc/p5-Library-CallNumber-LC/pkg-descr @@ -0,0 +1,10 @@ +Library::CallNumber::LC is mostly designed to do call number +normalization, with the following goals: +* The normalized call numbers are comparable with each other, for + proper sorting +* The normalized call number is a short as possible, so left-anchored + wildcard searches are possible (e.g., searching on "A11*" should + give you all the A11 call numbers) +* A range defined by start_of_range and end_of_range should be + correct, assuming that the string given for the end of the range + is, in fact, a left prefix. diff --git a/misc/p5-Library-CallNumber-LC/pkg-plist b/misc/p5-Library-CallNumber-LC/pkg-plist new file mode 100644 index 000000000000..f209aab71570 --- /dev/null +++ b/misc/p5-Library-CallNumber-LC/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Library/CallNumber/LC.pm +%%PERL5_MAN3%%/Library::CallNumber::LC.3.gz