From 10972a5418da31fcdb6452af18cfc0a36de7cebc Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 29 Dec 2019 12:47:06 +0000 Subject: [PATCH] Add rubygem-ms_rest 0.11.1 MsRestAzure is a library which supports the Azure clients (SDKs) generated with Autorest tool. It contains core logic and helper classes for error handling and authentication. Also it includes azure specific logic like long polling functionality and Azure application authentication. Usually it is not supposed to be used as a standalone gem but only as a dependency for generated client gems. WWW: https://github.com/Azure/azure-sdk-for-ruby WWW: https://github.com/Azure/azure-sdk-for-ruby/tree/master/runtime/ms_rest_azure --- devel/Makefile | 1 + devel/rubygem-ms_rest_azure/Makefile | 26 +++++++++++++++++++ devel/rubygem-ms_rest_azure/distinfo | 3 +++ .../rubygem-ms_rest_azure/files/patch-gemspec | 11 ++++++++ devel/rubygem-ms_rest_azure/pkg-descr | 9 +++++++ 5 files changed, 50 insertions(+) create mode 100644 devel/rubygem-ms_rest_azure/Makefile create mode 100644 devel/rubygem-ms_rest_azure/distinfo create mode 100644 devel/rubygem-ms_rest_azure/files/patch-gemspec create mode 100644 devel/rubygem-ms_rest_azure/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 6a193cddc0c9..9d76253daa40 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6026,6 +6026,7 @@ SUBDIR += rubygem-mongo SUBDIR += rubygem-mono_logger SUBDIR += rubygem-ms_rest + SUBDIR += rubygem-ms_rest_azure SUBDIR += rubygem-msgpack SUBDIR += rubygem-mspec SUBDIR += rubygem-multi_json diff --git a/devel/rubygem-ms_rest_azure/Makefile b/devel/rubygem-ms_rest_azure/Makefile new file mode 100644 index 000000000000..9c978bd42a95 --- /dev/null +++ b/devel/rubygem-ms_rest_azure/Makefile @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= ms_rest_azure +PORTVERSION= 0.11.1 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Azure Client Library for Ruby + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-concurrent-ruby>=1.0<2:devel/rubygem-concurrent-ruby \ + rubygem-faraday>=0.9<1:www/rubygem-faraday \ + rubygem-faraday-cookie_jar>=0.0.6<0.1:devel/rubygem-faraday-cookie_jar \ + rubygem-ms_rest>=0.7.4<0.8:devel/rubygem-ms_rest \ + rubygem-unf_ext>=0.0.7.2<0.0.8:textproc/rubygem-unf_ext + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include diff --git a/devel/rubygem-ms_rest_azure/distinfo b/devel/rubygem-ms_rest_azure/distinfo new file mode 100644 index 000000000000..3802443c09d1 --- /dev/null +++ b/devel/rubygem-ms_rest_azure/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1577523860 +SHA256 (rubygem/ms_rest_azure-0.11.1.gem) = 7f5b49d0c7398c515b48ee3150448b9f8586a24feb382ad655c0f2fe6150bb8c +SIZE (rubygem/ms_rest_azure-0.11.1.gem) = 20480 diff --git a/devel/rubygem-ms_rest_azure/files/patch-gemspec b/devel/rubygem-ms_rest_azure/files/patch-gemspec new file mode 100644 index 000000000000..b4ae10b0b341 --- /dev/null +++ b/devel/rubygem-ms_rest_azure/files/patch-gemspec @@ -0,0 +1,11 @@ +--- ms_rest_azure.gemspec.orig 2019-12-28 11:39:10 UTC ++++ ms_rest_azure.gemspec +@@ -27,7 +27,7 @@ Gem::Specification.new do |s| + s.add_development_dependency(%q.freeze, ["~> 10.0"]) + s.add_development_dependency(%q.freeze, ["~> 3.3"]) + s.add_runtime_dependency(%q.freeze, ["~> 1.0"]) +- s.add_runtime_dependency(%q.freeze, ["= 0.0.7.2"]) ++ s.add_runtime_dependency(%q.freeze, ["~> 0.0.7.2"]) + s.add_runtime_dependency(%q.freeze, ["~> 0.9"]) + s.add_runtime_dependency(%q.freeze, ["~> 0.0.6"]) + s.add_runtime_dependency(%q.freeze, ["~> 0.7.4"]) diff --git a/devel/rubygem-ms_rest_azure/pkg-descr b/devel/rubygem-ms_rest_azure/pkg-descr new file mode 100644 index 000000000000..5b21e2daef1b --- /dev/null +++ b/devel/rubygem-ms_rest_azure/pkg-descr @@ -0,0 +1,9 @@ +MsRestAzure is a library which supports the Azure clients (SDKs) generated with +Autorest tool. It contains core logic and helper classes for error handling and +authentication. Also it includes azure specific logic like long polling +functionality and Azure application authentication. Usually it is not supposed +to be used as a standalone gem but only as a dependency for generated client +gems. + +WWW: https://github.com/Azure/azure-sdk-for-ruby +WWW: https://github.com/Azure/azure-sdk-for-ruby/tree/master/runtime/ms_rest_azure