git: fb346969bf67 - main - devel/rubygem-semver_dialects2: Add rubygem-semver_dialects2 2.0.2 (copied from rubygem-semver_dialects)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 May 2024 17:23:28 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb346969bf6724c0b15a911ba5d807c14b544ca6 commit fb346969bf6724c0b15a911ba5d807c14b544ca6 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-19 15:45:38 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-19 17:15:02 +0000 devel/rubygem-semver_dialects2: Add rubygem-semver_dialects2 2.0.2 (copied from rubygem-semver_dialects) - Add PORTSCOUT --- devel/Makefile | 1 + devel/rubygem-semver_dialects2/Makefile | 24 ++++++++++++++++++++++++ devel/rubygem-semver_dialects2/distinfo | 3 +++ devel/rubygem-semver_dialects2/pkg-descr | 20 ++++++++++++++++++++ 4 files changed, 48 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index fd6ff82e07cd..3b5fd147f60b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7520,6 +7520,7 @@ SUBDIR += rubygem-semver_dialects SUBDIR += rubygem-semver_dialects1 SUBDIR += rubygem-semver_dialects12 + SUBDIR += rubygem-semver_dialects2 SUBDIR += rubygem-semverse SUBDIR += rubygem-sentry-rails SUBDIR += rubygem-sentry-raven diff --git a/devel/rubygem-semver_dialects2/Makefile b/devel/rubygem-semver_dialects2/Makefile new file mode 100644 index 000000000000..9ae2044d2fa9 --- /dev/null +++ b/devel/rubygem-semver_dialects2/Makefile @@ -0,0 +1,24 @@ +PORTNAME= semver_dialects +PORTVERSION= 2.0.2 +CATEGORIES= devel rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 2 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Parse, process and compare semantic versions +WWW= https://gitlab.com/gitlab-org/ruby/gems/semver_dialects + +LICENSE= MIT + +RUN_DEPENDS= rubygem-deb_version>=1.0.1<1.1:devel/rubygem-deb_version \ + rubygem-pastel>=0.8.0<0.9:devel/rubygem-pastel \ + rubygem-thor>=1.3<2:devel/rubygem-thor \ + rubygem-tty-command>=0.10.1<0.11:devel/rubygem-tty-command + +USES= gem + +NO_ARCH= yes + +PORTSCOUT= limit:^2\. + +.include <bsd.port.mk> diff --git a/devel/rubygem-semver_dialects2/distinfo b/devel/rubygem-semver_dialects2/distinfo new file mode 100644 index 000000000000..4c8e47f50bd8 --- /dev/null +++ b/devel/rubygem-semver_dialects2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1711466372 +SHA256 (rubygem/semver_dialects-2.0.2.gem) = 60059c9f416f931b5212d862fad2879d6b9affb8e0b9afb0d91b793639c116fe +SIZE (rubygem/semver_dialects-2.0.2.gem) = 13824 diff --git a/devel/rubygem-semver_dialects2/pkg-descr b/devel/rubygem-semver_dialects2/pkg-descr new file mode 100644 index 000000000000..15df7c75a1ec --- /dev/null +++ b/devel/rubygem-semver_dialects2/pkg-descr @@ -0,0 +1,20 @@ +semver_dialects is a gem for generic semantic version matcher that supports +different semantic version dialects: +- pypi +- composer/packagist +- maven +- gem +- go +- npm +- nuget +- conan + +semver_dialects ... +- provides a unified interface to the language specific dialects. +- matches semantic versions in a language agnostic way. +- is able to collapse a list of concrete version into version ranges. +- invert ranges. +- can cope with scattered, non-consecutive ranges. +- can parse and produce different version syntaxes. +- matches version gracefully and handles input versions/constraints in a + best-effort manner.