ports/devel/rubygem-google-apis-core-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

27 lines
879 B
Makefile

PORTNAME= google-apis-core
PORTVERSION= 0.15.1
CATEGORIES= devel rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -gitlab
MAINTAINER= mfechner@FreeBSD.org
COMMENT= Common utility and base classes for legacy Google REST clients
WWW= https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core \
https://github.com/googleapis/google-api-ruby-client
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= rubygem-addressable>=2.5.1<3:www/rubygem-addressable \
rubygem-googleauth-gitlab>=1.9<2:security/rubygem-googleauth-gitlab \
rubygem-httpclient>=2.8.3<3.0:www/rubygem-httpclient \
rubygem-mini_mime>=1.0<2:mail/rubygem-mini_mime \
rubygem-mutex_m>=0:devel/rubygem-mutex_m \
rubygem-representable>=3.0<4:textproc/rubygem-representable \
rubygem-retriable>=2.0<4.0:devel/rubygem-retriable
USES= gem
NO_ARCH= yes
.include <bsd.port.mk>