git: 955f1926a5d4 - main - devel/p5-autobox: update to 3.0.2

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Sun, 27 Apr 2025 07:44:22 UTC
The branch main has been updated by rodrigo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=955f1926a5d47f175054ffdee9e535daa9c4838a

commit 955f1926a5d47f175054ffdee9e535daa9c4838a
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2025-04-27 07:37:45 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2025-04-27 07:40:41 +0000

    devel/p5-autobox: update to 3.0.2
    
    Changelog: https://metacpan.org/dist/autobox/changes
    
    Major changes:
        * breaking change:
           the behaviour of UNIVERSAL methods like $native->can and
           $native->isa is now defined as being the same as when autobox
           is not enabled rather than "undefined". (technically, this
           still falls under the rubric of "undefined", but the switch
           from "don't know" to "don't" could break buggy code, so bump
           for safety)
    
           add DOES to the list of non-autoboxed methods
        * switch to SemVer i.e. 2.86 (v2.860.0) -> 3.0.0 (v3.0.0)
        * pgrade ppport.h from 3.35 -> 3.42
---
 devel/p5-autobox/Makefile | 7 +++++--
 devel/p5-autobox/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/devel/p5-autobox/Makefile b/devel/p5-autobox/Makefile
index 86560f919079..d02f84fd1c4d 100644
--- a/devel/p5-autobox/Makefile
+++ b/devel/p5-autobox/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	autobox
-PORTVERSION=	2.84
-PORTREVISION=	1
+PORTVERSION=	3.0.2
+DISTVERSIONPREFIX=	v
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:CHOCOLATE
@@ -19,6 +19,9 @@ RUN_DEPENDS=	p5-Scope-Guard>=0.20:devel/p5-Scope-Guard
 USES=		perl5
 USE_PERL5=	configure
 
+TEST_DEPENDS=  p5-Test-Fatal>=0:devel/p5-Test-Fatal \
+			p5-IPC-System-Simple>=0:devel/p5-IPC-System-Simple
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/autobox/autobox.so
 
diff --git a/devel/p5-autobox/distinfo b/devel/p5-autobox/distinfo
index 3e172a112f12..e88567746d6f 100644
--- a/devel/p5-autobox/distinfo
+++ b/devel/p5-autobox/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1480342073
-SHA256 (autobox-2.84.tar.gz) = 98dd2754f226684a72ccba3a95956b7eaff2871568e4dd9746e6fb6daae0b96b
-SIZE (autobox-2.84.tar.gz) = 80411
+TIMESTAMP = 1745739362
+SHA256 (autobox-v3.0.2.tar.gz) = 70751531ba78d768d6f4f77a32b1ea2d1959e76e37b6f89e5ce6930c06c60bf6
+SIZE (autobox-v3.0.2.tar.gz) = 160384