aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-21 17:22:17 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-21 18:12:10 +0000
commit5cf7ecbecc5cb58569a1618eba13c7449ee55cdf (patch)
tree36a490eb720b4fca3277372d8ab74cf3e058345b
parent2ab8036cc6ff16687e50480edcca53af7d4fd7af (diff)
downloadports-5cf7ecbecc5cb58569a1618eba13c7449ee55cdf.tar.gz
ports-5cf7ecbecc5cb58569a1618eba13c7449ee55cdf.zip
www/rubygem-rest-client: Update to 2.1.0
- Update version requirement of RUN_DEPENDS Changes: https://github.com/rest-client/rest-client/blob/master/history.md
-rw-r--r--www/rubygem-rest-client/Makefile14
-rw-r--r--www/rubygem-rest-client/distinfo6
-rw-r--r--www/rubygem-rest-client/files/patch-gemspec11
3 files changed, 22 insertions, 9 deletions
diff --git a/www/rubygem-rest-client/Makefile b/www/rubygem-rest-client/Makefile
index 3cdad55d1f40..5418cbcbd137 100644
--- a/www/rubygem-rest-client/Makefile
+++ b/www/rubygem-rest-client/Makefile
@@ -1,7 +1,7 @@
# Created by: Renaud Chaput <renchap@cocoa-x.com>
PORTNAME= rest-client
-PORTVERSION= 2.0.2
+PORTVERSION= 2.1.0
CATEGORIES= www rubygems
MASTER_SITES= RG
@@ -11,13 +11,15 @@ COMMENT= Simple Simple HTTP and REST client for Ruby
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= rubygem-http-cookie>=1.0.2:www/rubygem-http-cookie \
- rubygem-mime-types>=1.16:misc/rubygem-mime-types \
- rubygem-netrc>=0.8:net/rubygem-netrc
+RUN_DEPENDS= rubygem-http-accept>=1.7.0:www/rubygem-http-accept \
+ rubygem-http-cookie>=1.0.2<2.0:www/rubygem-http-cookie \
+ rubygem-mime-types>=1.16<4.0:misc/rubygem-mime-types \
+ rubygem-netrc>=0.8<1:net/rubygem-netrc
-NO_ARCH= yes
-USE_RUBY= yes
USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
PLIST_FILES= bin/restclient
diff --git a/www/rubygem-rest-client/distinfo b/www/rubygem-rest-client/distinfo
index b6d626e9d6c4..aff57822befb 100644
--- a/www/rubygem-rest-client/distinfo
+++ b/www/rubygem-rest-client/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1503784190
-SHA256 (rubygem/rest-client-2.0.2.gem) = 1295e486591f8ef7786451e28d24f8aa0a04cc47767cd1859b729575b2d0ecc3
-SIZE (rubygem/rest-client-2.0.2.gem) = 149504
+TIMESTAMP = 1626714760
+SHA256 (rubygem/rest-client-2.1.0.gem) = 35a6400bdb14fae28596618e312776c158f7ebbb0ccad752ff4fa142bf2747e3
+SIZE (rubygem/rest-client-2.1.0.gem) = 147456
diff --git a/www/rubygem-rest-client/files/patch-gemspec b/www/rubygem-rest-client/files/patch-gemspec
new file mode 100644
index 000000000000..d05fec045009
--- /dev/null
+++ b/www/rubygem-rest-client/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- rest-client.gemspec.orig 2021-07-19 21:01:10 UTC
++++ rest-client.gemspec
+@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
+ s.add_development_dependency(%q<pry-doc>.freeze, ["~> 0"])
+ s.add_development_dependency(%q<rdoc>.freeze, [">= 2.4.2", "< 6.0"])
+ s.add_development_dependency(%q<rubocop>.freeze, ["~> 0.49"])
+- s.add_runtime_dependency(%q<http-accept>.freeze, [">= 1.7.0", "< 2.0"])
++ s.add_runtime_dependency(%q<http-accept>.freeze, [">= 1.7.0"])
+ s.add_runtime_dependency(%q<http-cookie>.freeze, [">= 1.0.2", "< 2.0"])
+ s.add_runtime_dependency(%q<mime-types>.freeze, [">= 1.16", "< 4.0"])
+ s.add_runtime_dependency(%q<netrc>.freeze, ["~> 0.8"])