Date: Thu, 27 Apr 2023 15:52:17 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: da5b87c03362 - main - www/rubygem-httparty020: Add rubygem-httparty020 0.20.0 (copied from rubygem-httparty) Message-ID: <202304271552.33RFqH6Z025589@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=da5b87c0336201fc7f8257074e7560bfe81d8775 commit da5b87c0336201fc7f8257074e7560bfe81d8775 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-27 15:28:06 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-27 15:28:06 +0000 www/rubygem-httparty020: Add rubygem-httparty020 0.20.0 (copied from rubygem-httparty) - Update WWW - Update version requirement of RUN_DEPENDS - Add PORTSCOUT --- www/Makefile | 1 + www/rubygem-httparty020/Makefile | 29 +++++++++++++++++++++++++++++ www/rubygem-httparty020/distinfo | 3 +++ www/rubygem-httparty020/pkg-descr | 9 +++++++++ 4 files changed, 42 insertions(+) diff --git a/www/Makefile b/www/Makefile index daaf57926983..bfdcd08ed62e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2006,6 +2006,7 @@ SUBDIR += rubygem-http4 SUBDIR += rubygem-http_router SUBDIR += rubygem-httparty + SUBDIR += rubygem-httparty020 SUBDIR += rubygem-httpclient SUBDIR += rubygem-httpi SUBDIR += rubygem-hurley diff --git a/www/rubygem-httparty020/Makefile b/www/rubygem-httparty020/Makefile new file mode 100644 index 000000000000..8532760f940e --- /dev/null +++ b/www/rubygem-httparty020/Makefile @@ -0,0 +1,29 @@ +PORTNAME= httparty +PORTVERSION= 0.20.0 +CATEGORIES= www rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 020 + +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-mime-types>=3.0<4:misc/rubygem-mime-types \ + rubygem-multi_xml>=0.5.2:textproc/rubygem-multi_xml + +USES= cpe gem + +NO_ARCH= yes + +CPE_VENDOR= john_nunemaker + +PORTSCOUT= limit:^0\.20\. + +post-install: + ${RM} ${STAGEDIR}${PREFIX}/bin/httparty + +.include <bsd.port.mk> diff --git a/www/rubygem-httparty020/distinfo b/www/rubygem-httparty020/distinfo new file mode 100644 index 000000000000..5235a8bdd11b --- /dev/null +++ b/www/rubygem-httparty020/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650557179 +SHA256 (rubygem/httparty-0.20.0.gem) = 490d2a028a5accc611f1685d479d80ef80b129140d24a93c53c119f578614867 +SIZE (rubygem/httparty-0.20.0.gem) = 47104 diff --git a/www/rubygem-httparty020/pkg-descr b/www/rubygem-httparty020/pkg-descr new file mode 100644 index 000000000000..7e7ee4388b40 --- /dev/null +++ b/www/rubygem-httparty020/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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304271552.33RFqH6Z025589>