git: 533831a62c05 - main - devel/rubygem-semver_dialects: Add rubygem-semver_dialects 1.2.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Apr 2023 15:52:21 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=533831a62c05fa9d8e664d73fbe411a323a3f4cd commit 533831a62c05fa9d8e664d73fbe411a323a3f4cd Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-04-27 15:28:09 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-04-27 15:28:09 +0000 devel/rubygem-semver_dialects: Add rubygem-semver_dialects 1.2.1 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. --- devel/Makefile | 1 + devel/rubygem-semver_dialects/Makefile | 20 ++++++++++++++++++++ devel/rubygem-semver_dialects/distinfo | 3 +++ devel/rubygem-semver_dialects/pkg-descr | 20 ++++++++++++++++++++ 4 files changed, 44 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index c8076d54cf92..42cc2d6507e0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7184,6 +7184,7 @@ SUBDIR += rubygem-semantic_range SUBDIR += rubygem-semi_semantic SUBDIR += rubygem-semver2 + SUBDIR += rubygem-semver_dialects SUBDIR += rubygem-semverse SUBDIR += rubygem-sentry-rails SUBDIR += rubygem-sentry-raven diff --git a/devel/rubygem-semver_dialects/Makefile b/devel/rubygem-semver_dialects/Makefile new file mode 100644 index 000000000000..62ef1e493ead --- /dev/null +++ b/devel/rubygem-semver_dialects/Makefile @@ -0,0 +1,20 @@ +PORTNAME= semver_dialects +PORTVERSION= 1.2.1 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Parse, process and compare semantic versions +WWW= https://gitlab.com/gitlab-org/vulnerability-research/foss/semver_dialects + +LICENSE= MIT + +RUN_DEPENDS= rubygem-pastel>=0.8.0<0.9:devel/rubygem-pastel \ + rubygem-thor>=1.2.0<1.3:devel/rubygem-thor \ + rubygem-tty-command>=0.10.1<0.11:devel/rubygem-tty-command + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/rubygem-semver_dialects/distinfo b/devel/rubygem-semver_dialects/distinfo new file mode 100644 index 000000000000..0195a48f976c --- /dev/null +++ b/devel/rubygem-semver_dialects/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1682354460 +SHA256 (rubygem/semver_dialects-1.2.1.gem) = 60a1f67659f79c51a667e8858ec9b089c1e4ce4f6d2a0f0b4ac101916946eb23 +SIZE (rubygem/semver_dialects-1.2.1.gem) = 13312 diff --git a/devel/rubygem-semver_dialects/pkg-descr b/devel/rubygem-semver_dialects/pkg-descr new file mode 100644 index 000000000000..15df7c75a1ec --- /dev/null +++ b/devel/rubygem-semver_dialects/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.