aboutsummaryrefslogtreecommitdiff
path: root/net/rubygem-octokit-gitlab/Makefile
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2024-11-22 12:08:43 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2024-11-22 13:15:15 +0000
commitedc8d0390e04766c7102c04cdba727b8c0fd22d6 (patch)
treee9fa78df8edac36c0c97c44afc4ca0514aaabe04 /net/rubygem-octokit-gitlab/Makefile
parent2c08bdde941541c19d159fe8f51cfc01085c744a (diff)
www/gitlab: fix regression from 335fc7c38d61142727cb9f01fd9e401c476e4ad8
Gitlab requires net-http 0.4.1: Because faraday >= 2, < 2.5 could not be found in locally installed gems and faraday >= 2.5, < 2.12.1 could not be found in locally installed gems, faraday >= 2, < 2.12.1 cannot be used. And because faraday >= 2.12.1 depends on faraday-net_http >= 2.0, < 3.5, faraday >= 2 requires faraday-net_http >= 2.0, < 3.5. Because faraday-net_http >= 3.4.0 depends on net-http >= 0.5.0 and faraday-net_http >= 2.0, < 3.4.0 could not be found in locally installed gems, faraday-net_http >= 2.0 requires net-http >= 0.5.0. Thus, faraday >= 2 requires net-http >= 0.5.0. So, because Gemfile depends on faraday ~> 2 and Gemfile depends on net-http = 0.4.1, version solving has failed. While fixing the problem, moved gitlab used packages to own package names with a PKGNAMESUFFIX of `-gitlab`. This should make the gitlab package much more stable if updates in the ports are done.
Diffstat (limited to 'net/rubygem-octokit-gitlab/Makefile')
-rw-r--r--net/rubygem-octokit-gitlab/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/rubygem-octokit-gitlab/Makefile b/net/rubygem-octokit-gitlab/Makefile
new file mode 100644
index 000000000000..93359febda3c
--- /dev/null
+++ b/net/rubygem-octokit-gitlab/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= octokit
+PORTVERSION= 9.2.0
+CATEGORIES= net rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -gitlab
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= Simple wrapper for the GitHub API
+WWW= https://octokit.github.io/octokit.rb/ \
+ https://github.com/octokit/octokit.rb
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS= rubygem-faraday-gitlab>=1<3:www/rubygem-faraday-gitlab \
+ rubygem-sawyer>=0.9<1:www/rubygem-sawyer
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>