ports/devel/rubygem-gapic-common-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

26 lines
909 B
Makefile

PORTNAME= gapic-common
PORTVERSION= 0.23.0
CATEGORIES= devel rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -gitlab
MAINTAINER= mfechner@FreeBSD.org
COMMENT= Common code for GAPIC-generated API clients
WWW= https://github.com/googleapis/gapic-generator-ruby/tree/master/gapic-common \
https://github.com/googleapis/gapic-generator-ruby
LICENSE= APACHE20
RUN_DEPENDS= rubygem-faraday-gitlab>=1.9<3:www/rubygem-faraday-gitlab \
rubygem-faraday-retry-gitlab>=1.0<3:www/rubygem-faraday-retry-gitlab \
rubygem-google-protobuf>=3.25<5.0:devel/rubygem-google-protobuf \
rubygem-googleapis-common-protos>=1.6<2:devel/rubygem-googleapis-common-protos \
rubygem-googleapis-common-protos-types>=1.15<2:devel/rubygem-googleapis-common-protos-types \
rubygem-googleauth-gitlab>=1.11<2:security/rubygem-googleauth-gitlab \
rubygem-grpc>=1.65<2:net/rubygem-grpc
USES= gem
NO_ARCH= yes
.include <bsd.port.mk>