Skip to content

Commit

Permalink
devel/rubygem-semver_dialects: Add rubygem-semver_dialects 1.2.1
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sunpoet committed Apr 27, 2023
1 parent aba6011 commit 533831a
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -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
Expand Down
20 changes: 20 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
20 changes: 20 additions & 0 deletions 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.

0 comments on commit 533831a

Please sign in to comment.