From nobody Thu Apr 27 15:52:21 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q6gGt2J26z47KCr; Thu, 27 Apr 2023 15:52:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q6gGt1JSRz4FnX; Thu, 27 Apr 2023 15:52:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682610742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ufPgEdHvA8vNwkYp7G+koFsbEUiRVhTfgYWyx5Ooez4=; b=EdeE0jAIYZijzWzGr8WLpTRnh98mlFhdHlhq0JhhENSWBH0t7D2/tsAMx0wR+QOxgbOVj+ KFxOtSyaHnaVngFJKUCSzy1vYmWoB2Hk0BK+3ykVLlRXJUXL3HAGVPxIOyYJEiL4fSmY0J EuYXRvp04v5a2JAm4W3CbmwQEQcF2qB6v8Mluxdc/exiid73FcrECfo7JmX9dJsTDZd2hO NJr0IjRAG2EU5Sy3JJdb3QBTmKmMxgATqZDbjCU6YzcBVELdhupYrZpOkc20NLPYIEh1n8 ls31JcpMIVVCu2K1r5bi3aWdbGKNd1fVf7WbDzOFWxH5EfXDQxYUH6LIXOEItA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682610742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ufPgEdHvA8vNwkYp7G+koFsbEUiRVhTfgYWyx5Ooez4=; b=YkbYoOk4gIrY3SSwrdU1ZP5WQ9AwvM7aUQDgI5sCvgAWV+A0ny/eaN3ApKdueUXhHaq8WQ 6GZFe6S0arFLfF+O0JR3vZmTWxWr+twiValVXGVPEjJ0j8TZZMDTlv9WmYVP56o62fAsoa jR0SJme6d+fQGbDwzZSQtWbYtPnm156tlSsbzDN6jmWStbgNPTszqPHmoZZhvXSMXFQ9PP VZnN6ba18zyKzpZCaJQzTvb3PD1QMai6vx4NO+hb67Pl4A0AXRDFU50Li2Hr1SDSyhs9m1 2/bWY73s2X+/uE/nmVuG1JbnFoHzluxfUNCoUURUBEQzLL73QH8+Sa2oqYaTlw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682610742; a=rsa-sha256; cv=none; b=ofI54q9Iqv1zzbaXphVZgMuevQ53p/MvFWeXs0KioydvM54Q1TxZi52wYFVUcdILB9mdEB 9MAr88oi3GrJepiymKizoDlpia9EEl+odBZtqjU9u9du1zxjipBSq7zUGIYzITuyhZzDgS K4zJC8gNBNdxprYefmXGUi4Ms552F5nAljyLVKR00jjE7VKZUFK8RNSAYE45o7tu23FpCq 3nV6NIOlxC1KmFePOSTMdUAgq3A857S07qB101++3GT6j1QhVqE1bHWHjeiUTrOIrvB3O7 /M/PV1uHuYp8F8JqUcXIJ1FyTmcw9ZujLNtTIIsJE8lD3Pn5UhqYyIEvkrlagg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q6gGt0PM1zNvn; Thu, 27 Apr 2023 15:52:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33RFqLTU025682; Thu, 27 Apr 2023 15:52:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33RFqLWT025681; Thu, 27 Apr 2023 15:52:21 GMT (envelope-from git) Date: Thu, 27 Apr 2023 15:52:21 GMT Message-Id: <202304271552.33RFqLWT025681@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 533831a62c05 - main - devel/rubygem-semver_dialects: Add rubygem-semver_dialects 1.2.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 533831a62c05fa9d8e664d73fbe411a323a3f4cd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=533831a62c05fa9d8e664d73fbe411a323a3f4cd commit 533831a62c05fa9d8e664d73fbe411a323a3f4cd Author: Po-Chuan Hsieh AuthorDate: 2023-04-27 15:28:09 +0000 Commit: Po-Chuan Hsieh 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 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.