devel/py-lexid 2021.1006nb2 NetBSD
Variable width build numbers with lexical ordering
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, python
- Package size
- 10.2 KiB, 28.8 KiB installed
Description
lexid is a micro library to increment lexically ordered numerical ids.
Throughout the sequence of ids, this expression will always be true, whether you are dealing with integers or strings:
older\_id < newer\_id
The left most character/digit is only used to maintain lexical order, so that the position in the sequence is maintained in the remaining digits.
Such ids can be useful as build or version numbers, which are often displayed by tooling which does not understand their correct ordering.
Install
Binary package:
pkgin install py311-lexid
From pkgsrc:
cd /usr/pkgsrc/devel/py-lexid && 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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2021.1006nb2 |
| NetBSD 10.1 aarch64 | 2021.1006nb2 |
| SmartOS / illumos x86_64 | 2021.1006nb2 |
| macOS 15 arm64 | 2021.1006nb2 |
Dependencies
Run dependencies 1
Required by 1
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-lexid-2021.1006nb2,py313-lexid-2021.1006nb2,py314-lexid-2021.1006nb2