git: 7ed166cbef9b - main - www/rubygem-http4: Add rubygem-http4 4.4.1 (copied from rubygem-http)
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun May 16 15:26:06 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7ed166cbef9bf25e7a026c9133bb9998d064a58a
commit 7ed166cbef9bf25e7a026c9133bb9998d064a58a
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-16 15:13:11 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-16 15:23:51 +0000
www/rubygem-http4: Add rubygem-http4 4.4.1 (copied from rubygem-http)
- Add PORTSCOUT
---
www/Makefile | 1 +
www/rubygem-http4/Makefile | 27 +++++++++++++++++++++++++++
www/rubygem-http4/distinfo | 3 +++
www/rubygem-http4/pkg-descr | 8 ++++++++
4 files changed, 39 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index e4e6cf1c1f0b..c0e96c1ba4e3 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1911,6 +1911,7 @@
SUBDIR += rubygem-http-cookie
SUBDIR += rubygem-http-form_data
SUBDIR += rubygem-http3
+ SUBDIR += rubygem-http4
SUBDIR += rubygem-http_router
SUBDIR += rubygem-httparty
SUBDIR += rubygem-httpclient
diff --git a/www/rubygem-http4/Makefile b/www/rubygem-http4/Makefile
new file mode 100644
index 000000000000..744051044b2e
--- /dev/null
+++ b/www/rubygem-http4/Makefile
@@ -0,0 +1,27 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME= http
+PORTVERSION= 4.4.1
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 4
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Simple Ruby DSL for making HTTP requests
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-addressable>=2.3<3:www/rubygem-addressable \
+ rubygem-http-cookie>=1.0<2:www/rubygem-http-cookie \
+ rubygem-http-form_data>=2.2<3:www/rubygem-http-form_data \
+ rubygem-http-parser>=1.2.0<1.3:net/rubygem-http-parser
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:^4\.
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-http4/distinfo b/www/rubygem-http4/distinfo
new file mode 100644
index 000000000000..8fa673039a3a
--- /dev/null
+++ b/www/rubygem-http4/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1620928557
+SHA256 (rubygem/http-4.4.1.gem) = be10f1d054fcc732ac32410553767ac3e4141b4182a4d8f5bf93d23cedae1b7d
+SIZE (rubygem/http-4.4.1.gem) = 75776
diff --git a/www/rubygem-http4/pkg-descr b/www/rubygem-http4/pkg-descr
new file mode 100644
index 000000000000..d1c18c447537
--- /dev/null
+++ b/www/rubygem-http4/pkg-descr
@@ -0,0 +1,8 @@
+The HTTP Gem is an easy-to-use client library for making requests from Ruby. It
+uses a simple method chaining system for building requests, similar to Python's
+Requests.
+
+Under the hood, The HTTP Gem uses http_parser.rb, a fast HTTP parsing native
+extension based on the Node.js parser and a Java port thereof.
+
+WWW: https://github.com/httprb/http
More information about the dev-commits-ports-all
mailing list