BSD Ports

devel/rubygem-semver_dialects 3.7.0 MidnightBSD

Parse, process and compare semantic versions

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
e8528d1927
License
mit
Categories
devel, rubygems

Description

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.

In the other systems

SystemPortVersion
MidnightBSDdevel/rubygem-semver_dialects3.7.0
FreeBSDdevel/rubygem-semver_dialects4.1.3
DragonFlydevel/rubygem-semver_dialects3.7.0
HardenedBSDdevel/rubygem-semver_dialects4.1.3
GhostBSDdevel/rubygem-semver_dialects3.7.0

Install

Binary package:

mport install semver_dialects

From mports:

cd /usr/mports/devel/rubygem-semver_dialects && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	semver_dialects>0:devel/rubygem-semver_dialects

Dependencies

As this port's Makefile names them.

Build 4

Runtime 4

Build dependencies 4
Run dependencies 4

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/semver_dialects-3.7.0.gem220166110b05266f7c8ce7794869d4d9dd3e15c3e5878eb1ffe5f0cea00060141dd1e
Master sites 1
  • RG

Commit history 1

DateCommitCreditsLog message
e8528d1927 Lucas Holt devel/rubygem-semver_dialects: install RUN_DEPENDS at build time
The gemdeps QA check runs ${LOCALBASE}/bin/gem list, so the runtime gems have to be installed before fake-qa. The build cluster installs BUILD_DEPENDS but not RUN_DEPENDS, so the check reported dependencies as unsatisfied even though they had built successfully in the same run. This matches the convention already used by most rubygem ports. AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>