git: 161e64866729 - main - devel/rubygem-semver_dialects12: Add rubygem-semver_dialects12 1.2.1 (copied from rubygem-semver_dialects)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 11 Sep 2023 03:13:51 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=161e648667296635e8fec67f8a27b09a302d2a39

commit 161e648667296635e8fec67f8a27b09a302d2a39
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-11 02:51:24 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-11 03:03:57 +0000

    devel/rubygem-semver_dialects12: Add rubygem-semver_dialects12 1.2.1 (copied from rubygem-semver_dialects)
    
    - Add PORTSCOUT
---
 devel/Makefile                            |  1 +
 devel/rubygem-semver_dialects12/Makefile  | 23 +++++++++++++++++++++++
 devel/rubygem-semver_dialects12/distinfo  |  3 +++
 devel/rubygem-semver_dialects12/pkg-descr | 20 ++++++++++++++++++++
 4 files changed, 47 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 704c0199bc53..7feec2cd1503 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7296,6 +7296,7 @@
     SUBDIR += rubygem-semi_semantic
     SUBDIR += rubygem-semver2
     SUBDIR += rubygem-semver_dialects
+    SUBDIR += rubygem-semver_dialects12
     SUBDIR += rubygem-semverse
     SUBDIR += rubygem-sentry-rails
     SUBDIR += rubygem-sentry-raven
diff --git a/devel/rubygem-semver_dialects12/Makefile b/devel/rubygem-semver_dialects12/Makefile
new file mode 100644
index 000000000000..ebedef33210b
--- /dev/null
+++ b/devel/rubygem-semver_dialects12/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	semver_dialects
+PORTVERSION=	1.2.1
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	12
+
+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
+
+PORTSCOUT=	limit:^1\.2\.
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-semver_dialects12/distinfo b/devel/rubygem-semver_dialects12/distinfo
new file mode 100644
index 000000000000..0195a48f976c
--- /dev/null
+++ b/devel/rubygem-semver_dialects12/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_dialects12/pkg-descr b/devel/rubygem-semver_dialects12/pkg-descr
new file mode 100644
index 000000000000..15df7c75a1ec
--- /dev/null
+++ b/devel/rubygem-semver_dialects12/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.