From 15212304dfec05d48c7252703fb12c466b7f2432 Mon Sep 17 00:00:00 2001 From: Matthias Fechner Date: Tue, 25 Feb 2025 14:46:11 +0200 Subject: [PATCH] www/gitlab: new ports required by gitlab 17.9 --- devel/Makefile | 1 + devel/rubygem-CFPropertyList-gitlab/Makefile | 3 ++- devel/rubygem-async-gitlab/Makefile | 25 +++++++++++++++++++ devel/rubygem-async-gitlab/distinfo | 3 +++ devel/rubygem-async-gitlab/pkg-descr | 2 ++ textproc/Makefile | 2 +- .../rubygem-opensearch-ruby-gitlab/Makefile | 23 +++++++++++++++++ .../rubygem-opensearch-ruby-gitlab/distinfo | 3 +++ .../rubygem-opensearch-ruby-gitlab/pkg-descr | 4 +++ textproc/rubygem-rexml-gitlab/Makefile | 20 --------------- textproc/rubygem-rexml-gitlab/distinfo | 3 --- textproc/rubygem-rexml-gitlab/pkg-descr | 9 ------- textproc/rubygem-xml-simple-gitlab/Makefile | 3 ++- 13 files changed, 66 insertions(+), 35 deletions(-) create mode 100644 devel/rubygem-async-gitlab/Makefile create mode 100644 devel/rubygem-async-gitlab/distinfo create mode 100644 devel/rubygem-async-gitlab/pkg-descr create mode 100644 textproc/rubygem-opensearch-ruby-gitlab/Makefile create mode 100644 textproc/rubygem-opensearch-ruby-gitlab/distinfo create mode 100644 textproc/rubygem-opensearch-ruby-gitlab/pkg-descr delete mode 100644 textproc/rubygem-rexml-gitlab/Makefile delete mode 100644 textproc/rubygem-rexml-gitlab/distinfo delete mode 100644 textproc/rubygem-rexml-gitlab/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 9a7167e5a10e..3bfac8d3f500 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6467,6 +6467,7 @@ SUBDIR += rubygem-ast SUBDIR += rubygem-astrolabe SUBDIR += rubygem-async + SUBDIR += rubygem-async-gitlab SUBDIR += rubygem-async-io SUBDIR += rubygem-async212 SUBDIR += rubygem-atomic diff --git a/devel/rubygem-CFPropertyList-gitlab/Makefile b/devel/rubygem-CFPropertyList-gitlab/Makefile index 818044f72514..db076235b6ca 100644 --- a/devel/rubygem-CFPropertyList-gitlab/Makefile +++ b/devel/rubygem-CFPropertyList-gitlab/Makefile @@ -1,5 +1,6 @@ PORTNAME= CFPropertyList PORTVERSION= 3.0.7 +PORTREVISION= 1 CATEGORIES= devel rubygems MASTER_SITES= RG PKGNAMESUFFIX= -gitlab @@ -13,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-base64>=0:converters/rubygem-base64 \ rubygem-nkf>=0:net/rubygem-nkf \ - rubygem-rexml-gitlab>=0:textproc/rubygem-rexml-gitlab + rubygem-rexml>=0:textproc/rubygem-rexml USES= gem diff --git a/devel/rubygem-async-gitlab/Makefile b/devel/rubygem-async-gitlab/Makefile new file mode 100644 index 000000000000..a67f7c95c2a5 --- /dev/null +++ b/devel/rubygem-async-gitlab/Makefile @@ -0,0 +1,25 @@ +PORTNAME= async +PORTVERSION= 2.22.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Modern asynchronous I/O framework for Ruby +WWW= https://socketry.github.io/async/ \ + https://github.com/socketry/async + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/license.md + +RUN_DEPENDS= rubygem-console>=1.29<2:devel/rubygem-console \ + rubygem-fiber-annotation>=0:devel/rubygem-fiber-annotation \ + rubygem-io-event>=1.7<2:devel/rubygem-io-event \ + rubygem-metrics>=0.12<1:devel/rubygem-metrics \ + rubygem-traces>=0.15<1:devel/rubygem-traces + +USES= gem + +NO_ARCH= yes + +.include diff --git a/devel/rubygem-async-gitlab/distinfo b/devel/rubygem-async-gitlab/distinfo new file mode 100644 index 000000000000..ebbf8b9cabe9 --- /dev/null +++ b/devel/rubygem-async-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1740383648 +SHA256 (rubygem/async-2.22.0.gem) = 63abba84615ec0fa31e4e0e1eea1ef26bf7908137a85ae27612fda2c6f51cc2d +SIZE (rubygem/async-2.22.0.gem) = 35840 diff --git a/devel/rubygem-async-gitlab/pkg-descr b/devel/rubygem-async-gitlab/pkg-descr new file mode 100644 index 000000000000..f49edf3e8f18 --- /dev/null +++ b/devel/rubygem-async-gitlab/pkg-descr @@ -0,0 +1,2 @@ +Async is a composable asynchronous I/O framework for Ruby based on nio4r and +timers. diff --git a/textproc/Makefile b/textproc/Makefile index 2fdea433c056..095ebe71482a 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1908,6 +1908,7 @@ SUBDIR += rubygem-nokogiri-diff SUBDIR += rubygem-nokogumbo SUBDIR += rubygem-octopress-escape-code + SUBDIR += rubygem-opensearch-ruby-gitlab SUBDIR += rubygem-opml SUBDIR += rubygem-org-ruby SUBDIR += rubygem-ox @@ -1943,7 +1944,6 @@ SUBDIR += rubygem-representable SUBDIR += rubygem-reverse_markdown SUBDIR += rubygem-rexml - SUBDIR += rubygem-rexml-gitlab SUBDIR += rubygem-ri_cal SUBDIR += rubygem-rly SUBDIR += rubygem-rmmseg-cpp diff --git a/textproc/rubygem-opensearch-ruby-gitlab/Makefile b/textproc/rubygem-opensearch-ruby-gitlab/Makefile new file mode 100644 index 000000000000..3b89098af84d --- /dev/null +++ b/textproc/rubygem-opensearch-ruby-gitlab/Makefile @@ -0,0 +1,23 @@ +PORTNAME= opensearch-ruby +PORTVERSION= 3.4.0 +CATEGORIES= textproc rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -gitlab + +MAINTAINER= mfechner@FreeBSD.org +COMMENT= Ruby client for OpenSearch +WWW= https://github.com/opensearch-project/opensearch-ruby + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-faraday-gitlab>=1.0<3:www/rubygem-faraday-gitlab \ + rubygem-multi_json>=1.0:devel/rubygem-multi_json + +USES= gem + +NO_ARCH= yes + +PLIST_FILES= bin/opensearch_ruby_console + +.include diff --git a/textproc/rubygem-opensearch-ruby-gitlab/distinfo b/textproc/rubygem-opensearch-ruby-gitlab/distinfo new file mode 100644 index 000000000000..6bb6b8eb691c --- /dev/null +++ b/textproc/rubygem-opensearch-ruby-gitlab/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1740389157 +SHA256 (rubygem/opensearch-ruby-3.4.0.gem) = 0a8621686bed3c59b4c23e08cbaef873685a3fe4568e9d2703155ca92b8ca05d +SIZE (rubygem/opensearch-ruby-3.4.0.gem) = 132096 diff --git a/textproc/rubygem-opensearch-ruby-gitlab/pkg-descr b/textproc/rubygem-opensearch-ruby-gitlab/pkg-descr new file mode 100644 index 000000000000..d7354f1fd1ad --- /dev/null +++ b/textproc/rubygem-opensearch-ruby-gitlab/pkg-descr @@ -0,0 +1,4 @@ +OpenSearch Ruby is a Ruby client for OpenSearch. +You can use the client to execute OpenSearch API +commands, and build OpenSearch queries and aggregations +using the included OpenSearch DSL. diff --git a/textproc/rubygem-rexml-gitlab/Makefile b/textproc/rubygem-rexml-gitlab/Makefile deleted file mode 100644 index d39e751aff30..000000000000 --- a/textproc/rubygem-rexml-gitlab/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -PORTNAME= rexml -PORTVERSION= 3.3.9 -CATEGORIES= textproc rubygems -MASTER_SITES= RG -PKGNAMESUFFIX= -gitlab - -MAINTAINER= mfechner@FreeBSD.org -COMMENT= XML toolkit for Ruby -WWW= https://github.com/ruby/rexml - -LICENSE= BSD2CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE.txt - -USES= cpe gem - -NO_ARCH= yes - -CPE_VENDOR= ruby-lang - -.include diff --git a/textproc/rubygem-rexml-gitlab/distinfo b/textproc/rubygem-rexml-gitlab/distinfo deleted file mode 100644 index c8516a2fb213..000000000000 --- a/textproc/rubygem-rexml-gitlab/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1735207203 -SHA256 (rubygem/rexml-3.3.9.gem) = d71875b85299f341edf47d44df0212e7658cbdf35aeb69cefdb63f57af3137c9 -SIZE (rubygem/rexml-3.3.9.gem) = 104448 diff --git a/textproc/rubygem-rexml-gitlab/pkg-descr b/textproc/rubygem-rexml-gitlab/pkg-descr deleted file mode 100644 index bf3143c3967e..000000000000 --- a/textproc/rubygem-rexml-gitlab/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -REXML was inspired by the Electric XML library for Java, which features an -easy-to-use API, small size, and speed. Hopefully, REXML, designed with the same -philosophy, has these same features. I've tried to keep the API as intuitive as -possible, and have followed the Ruby methodology for method naming and code -flow, rather than mirroring the Java API. - -REXML supports both tree and stream document parsing. Stream parsing is faster -(about 1.5 times as fast). However, with stream parsing, you don't get access to -features such as XPath. diff --git a/textproc/rubygem-xml-simple-gitlab/Makefile b/textproc/rubygem-xml-simple-gitlab/Makefile index 9b08289123c4..ec1c6d6360fe 100644 --- a/textproc/rubygem-xml-simple-gitlab/Makefile +++ b/textproc/rubygem-xml-simple-gitlab/Makefile @@ -1,5 +1,6 @@ PORTNAME= xml-simple PORTVERSION= 1.1.9 +PORTREVISION= 1 CATEGORIES= textproc rubygems MASTER_SITES= RG PKGNAMESUFFIX= -gitlab @@ -11,7 +12,7 @@ WWW= https://github.com/maik/xml-simple LICENSE= BSD2CLAUSE RUBY LICENSE_COMB= dual -RUN_DEPENDS= rubygem-rexml-gitlab>=0:textproc/rubygem-rexml-gitlab +RUN_DEPENDS= rubygem-rexml>=0:textproc/rubygem-rexml USES= gem