aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-19 15:45:53 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-19 17:15:03 +0000
commit5bf945b54e664301e9e1d2199c542187454d8811 (patch)
tree64ec8caec99ece5641b5b606ef1b224fba460517
parent105f5bb28560918c95163a6640f0ca6eb9f11713 (diff)
www/rubygem-httparty021: Add rubygem-httparty021 0.21.0 (copied from rubygem-httparty)
- Add PORTSCOUT
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-httparty021/Makefile29
-rw-r--r--www/rubygem-httparty021/distinfo3
-rw-r--r--www/rubygem-httparty021/pkg-descr9
4 files changed, 42 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 7cb7a21a98b3..2fb285c57633 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2078,6 +2078,7 @@
SUBDIR += rubygem-http_router
SUBDIR += rubygem-httparty
SUBDIR += rubygem-httparty020
+ SUBDIR += rubygem-httparty021
SUBDIR += rubygem-httpclient
SUBDIR += rubygem-httpi
SUBDIR += rubygem-hurley
diff --git a/www/rubygem-httparty021/Makefile b/www/rubygem-httparty021/Makefile
new file mode 100644
index 000000000000..17fbb7ea902b
--- /dev/null
+++ b/www/rubygem-httparty021/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= httparty
+PORTVERSION= 0.21.0
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 021
+
+MAINTAINER= sunpoet@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-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
+
+PORTSCOUT= limit:^0\.21\.
+
+post-install:
+ ${RM} ${STAGEDIR}${PREFIX}/bin/httparty
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-httparty021/distinfo b/www/rubygem-httparty021/distinfo
new file mode 100644
index 000000000000..c16fcfefdbd8
--- /dev/null
+++ b/www/rubygem-httparty021/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1682354648
+SHA256 (rubygem/httparty-0.21.0.gem) = 00ef7bf9a71f30a3bff88edeb5b16a34bea883ab67c246b3f0db2d6794fe1214
+SIZE (rubygem/httparty-0.21.0.gem) = 47616
diff --git a/www/rubygem-httparty021/pkg-descr b/www/rubygem-httparty021/pkg-descr
new file mode 100644
index 000000000000..7e7ee4388b40
--- /dev/null
+++ b/www/rubygem-httparty021/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