www/gitlab: fixed regressions from

9c7ec30e93
b38ff7a19b

Could not find compatible versions

Because every version of gitlab-backup-cli depends on bigdecimal ~> 3.1
  and bigdecimal >= 3.1, < 4.A could not be found in locally installed gems,
  gitlab-backup-cli cannot be used.
So, because Gemfile depends on gitlab-backup-cli >= 0,
  version solving has failed.
*** Error code 6
This commit is contained in:
Matthias Fechner
2025-12-31 13:14:59 +01:00
parent f023b6cd94
commit 2e3318cf86
8 changed files with 29 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-base64>=0:converters/rubygem-base64 \
rubygem-benchmark>=0.3:benchmarks/rubygem-benchmark \
rubygem-bigdecimal>=0:math/rubygem-bigdecimal \
rubygem-bigdecimal-gitlab>=0:math/rubygem-bigdecimal-gitlab \
rubygem-concurrent-ruby>=1.3.1<2:devel/rubygem-concurrent-ruby \
rubygem-connection_pool>=2.2.5:net/rubygem-connection_pool \
rubygem-drb>=0:devel/rubygem-drb \

View File

@@ -1,5 +1,6 @@
PORTNAME= dry-types
PORTVERSION= 1.8.3
PORTREVISION= 2
CATEGORIES= devel rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -gitlab
@@ -11,7 +12,7 @@ WWW= https://github.com/dry-rb/dry-types
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-bigdecimal>=3.0<4:math/rubygem-bigdecimal \
RUN_DEPENDS= rubygem-bigdecimal-gitlab>=3.0<4:math/rubygem-bigdecimal-gitlab \
rubygem-concurrent-ruby>=1.0<2:devel/rubygem-concurrent-ruby \
rubygem-dry-core-gitlab>=1.0<2:devel/rubygem-dry-core-gitlab \
rubygem-dry-inflector>=1.0<2:devel/rubygem-dry-inflector \

View File

@@ -1,5 +1,6 @@
PORTNAME= json-schema
PORTVERSION= 5.2.2
PORTREVISION= 2
CATEGORIES= devel rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -gitlab
@@ -12,7 +13,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= rubygem-addressable>=2.8<3:www/rubygem-addressable \
rubygem-bigdecimal>=3.1<4:math/rubygem-bigdecimal
rubygem-bigdecimal-gitlab>=3.1<4:math/rubygem-bigdecimal-gitlab
USES= gem

View File

@@ -1176,6 +1176,7 @@
SUBDIR += rubiks
SUBDIR += rubygem-algebra
SUBDIR += rubygem-bigdecimal
SUBDIR += rubygem-bigdecimal-gitlab
SUBDIR += rubygem-cmath
SUBDIR += rubygem-enumerable-statistics
SUBDIR += rubygem-expression_parser

View File

@@ -0,0 +1,17 @@
PORTNAME= bigdecimal
PORTVERSION= 3.3.1
CATEGORIES= math rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= -gitlab
MAINTAINER= mfechner@FreeBSD.org
COMMENT= Arbitrary-precision decimal floating-point number class
WWW= https://github.com/ruby/bigdecimal
LICENSE= BSD2CLAUSE RUBY
LICENSE_COMB= dual
LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE
USES= gem
.include <bsd.port.mk>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1767182576
SHA256 (rubygem/bigdecimal-3.3.1.gem) = eaa01e228be54c4f9f53bf3cc34fe3d5e845c31963e7fcc5bedb05a4e7d52218
SIZE (rubygem/bigdecimal-3.3.1.gem) = 84992

View File

@@ -0,0 +1 @@
BigDecimal provides an arbitrary-precision decimal floating-point number class.

View File

@@ -334,7 +334,8 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \
rubygem-google-cloud-storage_transfer-gitlab>=1.2.0<1.3:net/rubygem-google-cloud-storage_transfer-gitlab \
rubygem-minitest>=5.11<6:devel/rubygem-minitest \
rubygem-grpc-tools>=1.69.0<1.70:net/rubygem-grpc-tools \
rubygem-opensearch-ruby-gitlab>=0:textproc/rubygem-opensearch-ruby-gitlab
rubygem-opensearch-ruby-gitlab>=0:textproc/rubygem-opensearch-ruby-gitlab \
rubygem-bigdecimal-gitlab>=3.1<4:math/rubygem-bigdecimal-gitlab
BUILD_DEPENDS= gem:devel/ruby-gems \
${MY_DEPENDS}