git: 6966b808b8ca - main - www/rubygem-httparty-gitlab: Add rubygem-httparty-gitlab 0.22.0 (copied from rubygem-httparty)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Apr 2025 05:43:00 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6966b808b8cab8694216750e73f9b61b3ff924a2
commit 6966b808b8cab8694216750e73f9b61b3ff924a2
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-04-18 05:10:12 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-04-18 05:37:00 +0000
www/rubygem-httparty-gitlab: Add rubygem-httparty-gitlab 0.22.0 (copied from rubygem-httparty)
---
www/Makefile | 1 +
www/rubygem-httparty-gitlab/Makefile | 28 ++++++++++++++++++++++++++++
www/rubygem-httparty-gitlab/distinfo | 3 +++
www/rubygem-httparty-gitlab/pkg-descr | 9 +++++++++
4 files changed, 41 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index fc63cd0781ee..23272fb469d2 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2154,6 +2154,7 @@
SUBDIR += rubygem-http4
SUBDIR += rubygem-http_router
SUBDIR += rubygem-httparty
+ SUBDIR += rubygem-httparty-gitlab
SUBDIR += rubygem-httparty021
SUBDIR += rubygem-httpclient
SUBDIR += rubygem-httpi
diff --git a/www/rubygem-httparty-gitlab/Makefile b/www/rubygem-httparty-gitlab/Makefile
new file mode 100644
index 000000000000..e8869344024c
--- /dev/null
+++ b/www/rubygem-httparty-gitlab/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= httparty
+PORTVERSION= 0.22.0
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -gitlab
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= Ruby Library that Makes HTTP Fun Again
+WWW= https://www.johnnunemaker.com/httparty/ \
+ https://github.com/jnunemaker/httparty
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS= rubygem-csv>=0:devel/rubygem-csv \
+ rubygem-mini_mime>=1.0.0:mail/rubygem-mini_mime \
+ rubygem-multi_xml>=0.5.2:textproc/rubygem-multi_xml
+
+USES= cpe gem
+
+NO_ARCH= yes
+
+CPE_VENDOR= john_nunemaker
+
+post-install:
+ @${RM} ${STAGEDIR}${PREFIX}/bin/httparty
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-httparty-gitlab/distinfo b/www/rubygem-httparty-gitlab/distinfo
new file mode 100644
index 000000000000..df6ccd2b7d36
--- /dev/null
+++ b/www/rubygem-httparty-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1715843886
+SHA256 (rubygem/httparty-0.22.0.gem) = 78652a5c9471cf0093d3b2083c2295c9c8f12b44c65112f1846af2b71430fa6c
+SIZE (rubygem/httparty-0.22.0.gem) = 47616
diff --git a/www/rubygem-httparty-gitlab/pkg-descr b/www/rubygem-httparty-gitlab/pkg-descr
new file mode 100644
index 000000000000..7e7ee4388b40
--- /dev/null
+++ b/www/rubygem-httparty-gitlab/pkg-descr
@@ -0,0 +1,9 @@
+httparty is a Ruby library that makes HTTP fun again!
+
+Its features:
+* Easy get, post, put, delete requests
+* Basic http authentication
+* Default request query string parameters (i.e. for API keys that are needed on
+ each request)
+* Automatic parsing of JSON and XML into ruby hashes based on response
+ content-type