BSD Ports

devel/hs-versions 6.0.7nb3 NetBSD

Types and parsers for software version numbers

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
devel
Package size
612.5 KiB, 9100.6 KiB installed

Description

A library for parsing and comparing software version numbers. We like to give version numbers to our software in a myriad of ways. Some ways follow strict guidelines for incrementing and comparison. Some follow conventional wisdom and are generally self-consistent. Some are just plain asinine. This library provides a means of parsing and comparing any style of versioning, be it a nice Semantic Version like this:

1.2.3-r1+git123

...or a monstrosity like this:

2:10.2+0.0093r3+1-1

Please switch to Semantic Versioning if you aren't currently using it. It provides consistency in version incrementing and has the best constraints on comparisons.

This library implements version 2.0.0 of the SemVer spec.

Install

Binary package:

pkgin install hs-versions

From pkgsrc:

cd /usr/pkgsrc/devel/hs-versions && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_646.0.7nb3
NetBSD 10.1 aarch646.0.7nb3
SmartOS / illumos x86_646.0.7nb3
macOS 15 arm646.0.7nb3

Dependencies

Run dependencies 4
Required by 1