From nobody Tue Jul 22 17:36:51 2025 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 4bmkwM63GZz5pwgv; Tue, 22 Jul 2025 17:36:51 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bmkwM4hpsz4Lcd; Tue, 22 Jul 2025 17:36:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753205811; 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=l183PRERY5CWRmvl/M9wu3lEn2urMBUVS7KYXn94gBY=; b=EZD0y31S2DcbcFeVxkHMh4TQsHyqfMwTjAz+DAqgLvJ2LgiSIKj2CMx1N6RZT2kQVltDjK FNqGUBIqMbIwvCwpfVcUx2aA+UNVKJ8tSVyLfROqt2pKOwVZZd+GrCs83rBOP3fgmZm1Pl SRO3GU3EaeHTS5Ce74D+HpkdwtmH9t5tFEkeUAlG/f16t1MIjI02czSofeQEIBvYaKRb+r qMMJ+XcjRzFnSMZCn8/kzGftrRRlcCJrb5DGOr5joO2Tc5rXCghJdUvI8BBpAmb9a/eRSJ h7RWqRJ/pjoUXvpXVhNogyrhqrOZs/5ffxL1LS5A0jKoOcJuzDHpQleD85+4bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753205811; 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=l183PRERY5CWRmvl/M9wu3lEn2urMBUVS7KYXn94gBY=; b=WXUQG5Q3KFLOVPyYf/XgKCOfIefJ3CdngEfPDwiHSgGJqDttCKHYpYV2P4fSSR7m366teA GUS8hXDKEJEkTp3C05OoMJXWi6BhqfocdItqpogONIxWppWrsUvqZh5FIyYQz04t5yxB7e NoBBrOY7zwH1PqepdwGtu9i/YrnQLwD1aYKyAmNbcwHmUMcgrBYI8/E5pu4rJISlJXuFXC 9NUj4SlE/TiPv620H6TmyeT0eLcluo7pOMqtnNW/Nro8JMUnTtZNtKDyi3SeihZ+iuzCXI xh2AGiqiRUEXZHvK+NhrIiRDMZMN6jjvt37T/NH0+jIHvQGl8y6Kqb1Rz6waMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753205811; a=rsa-sha256; cv=none; b=yyq/tQrgO0Ol+7yVRp2JHrMx2bQtmpT2ceEfn4YUV+/7+vgWBvp2Gh8D/XVW6Sk1HfFhpv 4tZ4mjkC+egwbWsOpJSwYy5YEpp5u3KbMzKO4JcPb5kY9roxAHCRFgoUOMsiYaGkpGKPiA QIkw1hn3BsvfoK6ZkkYQIhpm27gZ3N45LnXL6w74sZfZRABkXMxp0CkK6iJeOSm/WK8mjd YbqdF+WIL1/QOdvm/LOc7fMHb81Zch4VoNhsy/K0bl9uHFrZUAgNyjNGXObXXFD1kNrFQG ZTFylyCVu3xEFna2OCIIyZLO8Sz4ZYqtrfT1sFuNFnChNx40vNTFEBfxInTHKg== 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 4bmkwM3jJRzd7R; Tue, 22 Jul 2025 17:36:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 56MHappp067607; Tue, 22 Jul 2025 17:36:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56MHapIS067604; Tue, 22 Jul 2025 17:36:51 GMT (envelope-from git) Date: Tue, 22 Jul 2025 17:36:51 GMT Message-Id: <202507221736.56MHapIS067604@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dan Langille Subject: git: d3f4352c9e33 - main - devel/p5-isa: Add new port 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d3f4352c9e33e613fe445d2ff1f5b60d6efe5835 Auto-Submitted: auto-generated The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=d3f4352c9e33e613fe445d2ff1f5b60d6efe5835 commit d3f4352c9e33e613fe445d2ff1f5b60d6efe5835 Author: Dan Langille AuthorDate: 2025-07-22 13:35:52 +0000 Commit: Dan Langille CommitDate: 2025-07-22 17:36:40 +0000 devel/p5-isa: Add new port The new isa operator in Perl 5.32 is pretty great, but if you need to support legacy versions of Perl, you can't use it yet. This module gives you isa-like functions you can use in Perl 5.6 and above --- devel/Makefile | 1 + devel/p5-isa/Makefile | 19 +++++++++++++++++++ devel/p5-isa/distinfo | 3 +++ devel/p5-isa/pkg-descr | 9 +++++++++ devel/p5-isa/pkg-plist | 2 ++ 5 files changed, 34 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 379a91f8168d..1927e32c34f5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3973,6 +3973,7 @@ SUBDIR += p5-iCal-Parser SUBDIR += p5-indirect SUBDIR += p5-interface + SUBDIR += p5-isa SUBDIR += p5-latest SUBDIR += p5-lexical-underscore SUBDIR += p5-lib-abs diff --git a/devel/p5-isa/Makefile b/devel/p5-isa/Makefile new file mode 100644 index 000000000000..a7f7ba472320 --- /dev/null +++ b/devel/p5-isa/Makefile @@ -0,0 +1,19 @@ +PORTNAME= isa +PORTVERSION= 2.001 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:TOBYINK +PKGNAMEPREFIX= p5- + +MAINTAINER= dvl@FreeBSD.org +COMMENT= isa - is not the isa operator +WWW= https://metacpan.org/pod/isa + +LICENSE= ART10 + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/devel/p5-isa/distinfo b/devel/p5-isa/distinfo new file mode 100644 index 000000000000..07f9749263de --- /dev/null +++ b/devel/p5-isa/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1753113333 +SHA256 (isa-2.001.tar.gz) = 0f947dd5a11845e74db40dadc2e8c6d5766539687f4a08a3b1ef418326c4585b +SIZE (isa-2.001.tar.gz) = 15623 diff --git a/devel/p5-isa/pkg-descr b/devel/p5-isa/pkg-descr new file mode 100644 index 000000000000..1554f10369a3 --- /dev/null +++ b/devel/p5-isa/pkg-descr @@ -0,0 +1,9 @@ +The new isa operator in Perl 5.32 is pretty great, but if you need to support +legacy versions of Perl, you can't use it yet. This module gives you isa-like +functions you can use in Perl 5.6 and above. + +If you've got Type::Tiny::XS installed, you will probably find that this module +is faster than the native isa operator! + +The functions exported respect inheritance and allow classes to override their +isa method as you'd expect. diff --git a/devel/p5-isa/pkg-plist b/devel/p5-isa/pkg-plist new file mode 100644 index 000000000000..8804bfc8a804 --- /dev/null +++ b/devel/p5-isa/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/isa.pm +%%PERL5_MAN3%%/isa.3.gz