ports/net/rubygem-fog-google-gitlab/Makefile
Matthias Fechner edc8d0390e www/gitlab: fix regression from 335fc7c38d
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.
2024-11-22 15:15:15 +02:00

33 lines
1.4 KiB
Makefile

PORTNAME= fog-google
PORTVERSION= 1.24.1
CATEGORIES= net rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -gitlab
MAINTAINER= mfechner@FreeBSD.org
COMMENT= Module for the 'fog' gem to support Google Cloud
WWW= https://github.com/fog/fog-google
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= rubygem-addressable>=2.7.0:www/rubygem-addressable \
rubygem-fog-core250>=0<2.6:devel/rubygem-fog-core250 \
rubygem-fog-json>=1.2<2:devel/rubygem-fog-json \
rubygem-fog-xml>=0.1.0<0.2:textproc/rubygem-fog-xml \
rubygem-google-apis-compute_v1-gitlab>=0.53<1:devel/rubygem-google-apis-compute_v1-gitlab \
rubygem-google-apis-dns_v1-gitlab>=0.28<1:dns/rubygem-google-apis-dns_v1-gitlab \
rubygem-google-apis-iamcredentials_v1-gitlab>=0.15<1:devel/rubygem-google-apis-iamcredentials_v1-gitlab \
rubygem-google-apis-monitoring_v3-gitlab>=0.37<1:devel/rubygem-google-apis-monitoring_v3-gitlab \
rubygem-google-apis-pubsub_v1-gitlab>=0.30<1:devel/rubygem-google-apis-pubsub_v1-gitlab \
rubygem-google-apis-sqladmin_v1beta4-gitlab>=0.38<1:devel/rubygem-google-apis-sqladmin_v1beta4-gitlab \
rubygem-google-apis-storage_v1-gitlab>=0.19<1:devel/rubygem-google-apis-storage_v1-gitlab \
rubygem-google-cloud-env-gitlab>=1.2<3.0:net/rubygem-google-cloud-env-gitlab
USES= gem shebangfix
SHEBANG_FILES= .github/scripts/setup_creds.sh
NO_ARCH= yes
.include <bsd.port.mk>