git: 4a7258e5f491 - main - www/rubygem-faraday-typhoeus: Add rubygem-faraday-typhoeus 1.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 08 Apr 2024 06:49:38 UTC
The branch main has been updated by sunpoet:

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

commit 4a7258e5f4915ce681de8f67e3320f11af4af698
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-08 06:44:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-08 06:44:54 +0000

    www/rubygem-faraday-typhoeus: Add rubygem-faraday-typhoeus 1.1.0
    
    Faraday Typhoeus Adapter is a Faraday 2 adapter for the Typhoeus parallel HTTP
    client. It supports parallel HTTP requests and streaming.
---
 www/Makefile                           |  1 +
 www/rubygem-faraday-typhoeus/Makefile  | 20 ++++++++++++++++++++
 www/rubygem-faraday-typhoeus/distinfo  |  3 +++
 www/rubygem-faraday-typhoeus/pkg-descr |  2 ++
 4 files changed, 26 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 80e8a240b304..f371936f83be 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2011,6 +2011,7 @@
     SUBDIR += rubygem-faraday-rack1
     SUBDIR += rubygem-faraday-retry
     SUBDIR += rubygem-faraday-retry1
+    SUBDIR += rubygem-faraday-typhoeus
     SUBDIR += rubygem-faraday0
     SUBDIR += rubygem-faraday1
     SUBDIR += rubygem-faraday_middleware
diff --git a/www/rubygem-faraday-typhoeus/Makefile b/www/rubygem-faraday-typhoeus/Makefile
new file mode 100644
index 000000000000..17fbb24fd378
--- /dev/null
+++ b/www/rubygem-faraday-typhoeus/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	faraday-typhoeus
+PORTVERSION=	1.1.0
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Faraday adapter for Typhoeus
+WWW=		https://github.com/dleavitt/faraday-typhoeus
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS=	rubygem-faraday>=2.0<3:www/rubygem-faraday \
+		rubygem-typhoeus>=1.4<2:www/rubygem-typhoeus
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-faraday-typhoeus/distinfo b/www/rubygem-faraday-typhoeus/distinfo
new file mode 100644
index 000000000000..fa6bcb958365
--- /dev/null
+++ b/www/rubygem-faraday-typhoeus/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1712427880
+SHA256 (rubygem/faraday-typhoeus-1.1.0.gem) = 24c6147c213818dde3ebc50ae47ab92f9a7e554903aa362707126f749c6890e7
+SIZE (rubygem/faraday-typhoeus-1.1.0.gem) = 8704
diff --git a/www/rubygem-faraday-typhoeus/pkg-descr b/www/rubygem-faraday-typhoeus/pkg-descr
new file mode 100644
index 000000000000..480902381a36
--- /dev/null
+++ b/www/rubygem-faraday-typhoeus/pkg-descr
@@ -0,0 +1,2 @@
+Faraday Typhoeus Adapter is a Faraday 2 adapter for the Typhoeus parallel HTTP
+client. It supports parallel HTTP requests and streaming.