git: d4a0579bb1e8 - main - www/Mojo-UserAgent-Mockable: Add Mojo-UserAgent-Mockable 1.59

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 14 Mar 2025 09:57:11 UTC
The branch main has been updated by sunpoet:

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

commit d4a0579bb1e8cba8c1ef0ca6a107b3869266b509
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-03-14 09:37:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-03-14 09:53:58 +0000

    www/Mojo-UserAgent-Mockable: Add Mojo-UserAgent-Mockable 1.59
    
    Mojo::UserAgent::Mockable is a Mojo User-Agent that can record and play back
    requests without Internet connectivity, similar to LWP::UserAgent::Mockable.
---
 www/Makefile                             |  1 +
 www/p5-Mojo-UserAgent-Mockable/Makefile  | 41 ++++++++++++++++++++++++++++++++
 www/p5-Mojo-UserAgent-Mockable/distinfo  |  3 +++
 www/p5-Mojo-UserAgent-Mockable/pkg-descr |  2 ++
 www/p5-Mojo-UserAgent-Mockable/pkg-plist |  8 +++++++
 5 files changed, 55 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index d136cff6142b..263241e9e18d 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1042,6 +1042,7 @@
     SUBDIR += p5-Mojo-IOLoop-Delay
     SUBDIR += p5-Mojo-IOLoop-ForkCall
     SUBDIR += p5-Mojo-Server-FastCGI
+    SUBDIR += p5-Mojo-UserAgent-Mockable
     SUBDIR += p5-Mojo-Weixin
     SUBDIR += p5-MojoMojo
     SUBDIR += p5-MojoX-Log-Dispatch-Simple
diff --git a/www/p5-Mojo-UserAgent-Mockable/Makefile b/www/p5-Mojo-UserAgent-Mockable/Makefile
new file mode 100644
index 000000000000..3168aac86f06
--- /dev/null
+++ b/www/p5-Mojo-UserAgent-Mockable/Makefile
@@ -0,0 +1,41 @@
+PORTNAME=	Mojo-UserAgent-Mockable
+PORTVERSION=	1.59
+CATEGORIES=	www perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:POPEFELIX
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Mojo User-Agent that can record and play back requests without Internet connectivity
+WWW=		https://metacpan.org/dist/Mojo-UserAgent-Mockable
+
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Class-Load>=0:devel/p5-Class-Load \
+		p5-JSON-MaybeXS>=0:converters/p5-JSON-MaybeXS \
+		p5-Mojolicious>=7.22:www/p5-Mojolicious \
+		p5-Path-Tiny>=0:devel/p5-Path-Tiny \
+		p5-Safe-Isa>=0:devel/p5-Safe-Isa \
+		p5-Try-Tiny>=0:lang/p5-Try-Tiny
+TEST_DEPENDS=	p5-Array-Compare>=0:misc/p5-Array-Compare \
+		p5-Devel-Hide>=0:devel/p5-Devel-Hide \
+		p5-IO-Socket-SSL>=2.009:security/p5-IO-Socket-SSL \
+		p5-Module-Util>=0:devel/p5-Module-Util \
+		p5-Mojolicious-Plugin-BasicAuthPlus>=0:www/p5-Mojolicious-Plugin-BasicAuthPlus \
+		p5-Moose>=0:devel/p5-Moose \
+		p5-Pod-Coverage-TrustPod>=0:devel/p5-Pod-Coverage-TrustPod \
+		p5-Test-Exception>=0:devel/p5-Test-Exception \
+		p5-Test-JSON>=0:devel/p5-Test-JSON \
+		p5-Test-Most>=0:devel/p5-Test-Most \
+		p5-Test-Pod>=0:devel/p5-Test-Pod \
+		p5-Test-Pod-Coverage>=0:devel/p5-Test-Pod-Coverage
+
+USES=		perl5
+USE_PERL5=	configure
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/p5-Mojo-UserAgent-Mockable/distinfo b/www/p5-Mojo-UserAgent-Mockable/distinfo
new file mode 100644
index 000000000000..1e1715a28765
--- /dev/null
+++ b/www/p5-Mojo-UserAgent-Mockable/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1740836000
+SHA256 (Mojo-UserAgent-Mockable-1.59.tar.gz) = b7227aab5fdd3b58b0df29e8c71a44fed2130c5831de38bd012a58254146c520
+SIZE (Mojo-UserAgent-Mockable-1.59.tar.gz) = 102361
diff --git a/www/p5-Mojo-UserAgent-Mockable/pkg-descr b/www/p5-Mojo-UserAgent-Mockable/pkg-descr
new file mode 100644
index 000000000000..fbccc5788caf
--- /dev/null
+++ b/www/p5-Mojo-UserAgent-Mockable/pkg-descr
@@ -0,0 +1,2 @@
+Mojo::UserAgent::Mockable is a Mojo User-Agent that can record and play back
+requests without Internet connectivity, similar to LWP::UserAgent::Mockable.
diff --git a/www/p5-Mojo-UserAgent-Mockable/pkg-plist b/www/p5-Mojo-UserAgent-Mockable/pkg-plist
new file mode 100644
index 000000000000..786875185321
--- /dev/null
+++ b/www/p5-Mojo-UserAgent-Mockable/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Mojo/UserAgent/Mockable.pm
+%%SITE_PERL%%/Mojo/UserAgent/Mockable/Proxy.pm
+%%SITE_PERL%%/Mojo/UserAgent/Mockable/Request/Compare.pm
+%%SITE_PERL%%/Mojo/UserAgent/Mockable/Serializer.pm
+%%PERL5_MAN3%%/Mojo::UserAgent::Mockable.3.gz
+%%PERL5_MAN3%%/Mojo::UserAgent::Mockable::Proxy.3.gz
+%%PERL5_MAN3%%/Mojo::UserAgent::Mockable::Request::Compare.3.gz
+%%PERL5_MAN3%%/Mojo::UserAgent::Mockable::Serializer.3.gz