git: 2ab001165aa6 - main - www/rubygem-patron: Add rubygem-patron 0.13.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 23 Jan 2022 19:26:18 UTC
The branch main has been updated by sunpoet:

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

commit 2ab001165aa6f785ca7018710bdd207d2447d8b6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-23 18:09:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-23 18:09:47 +0000

    www/rubygem-patron: Add rubygem-patron 0.13.3
    
    Patron is a Ruby HTTP client library based on libcurl. It does not try to expose
    the full "power" (read complexity) of libcurl but instead tries to provide a
    sane API while taking advantage of libcurl under the hood.
    
    WWW: https://github.com/toland/patron
---
 www/Makefile                 |  1 +
 www/rubygem-patron/Makefile  | 19 +++++++++++++++++++
 www/rubygem-patron/distinfo  |  3 +++
 www/rubygem-patron/pkg-descr |  5 +++++
 4 files changed, 28 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index efe7f583fa5f..2d291358247c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2038,6 +2038,7 @@
     SUBDIR += rubygem-ostatus2
     SUBDIR += rubygem-pagerduty
     SUBDIR += rubygem-passenger
+    SUBDIR += rubygem-patron
     SUBDIR += rubygem-platform-api
     SUBDIR += rubygem-propshaft
     SUBDIR += rubygem-protocol-hpack
diff --git a/www/rubygem-patron/Makefile b/www/rubygem-patron/Makefile
new file mode 100644
index 000000000000..d705cc9da7f0
--- /dev/null
+++ b/www/rubygem-patron/Makefile
@@ -0,0 +1,19 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	patron
+PORTVERSION=	0.13.3
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Ruby HTTP client library based on libcurl
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libcurl.so:ftp/curl
+
+USES=		gem
+USE_RUBY=	yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-patron/distinfo b/www/rubygem-patron/distinfo
new file mode 100644
index 000000000000..7f9c9ab7e926
--- /dev/null
+++ b/www/rubygem-patron/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1642102125
+SHA256 (rubygem/patron-0.13.3.gem) = 29ba41f9e936b54a41726cfebbfc464c09ff8099a51883aba0f823d45b7b4314
+SIZE (rubygem/patron-0.13.3.gem) = 65024
diff --git a/www/rubygem-patron/pkg-descr b/www/rubygem-patron/pkg-descr
new file mode 100644
index 000000000000..2c7d93fd3f00
--- /dev/null
+++ b/www/rubygem-patron/pkg-descr
@@ -0,0 +1,5 @@
+Patron is a Ruby HTTP client library based on libcurl. It does not try to expose
+the full "power" (read complexity) of libcurl but instead tries to provide a
+sane API while taking advantage of libcurl under the hood.
+
+WWW: https://github.com/toland/patron