devel/py-looseversion 1.3.0nb1 NetBSD
Python extension for comparing version strings
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- python-software-foundation
- Categories
- devel, python
- Package size
- 10.1 KiB, 33.8 KiB installed
Description
A backwards/forwards-compatible fork of `distutils.version.LooseVersion`, for times when PEP-440 isn't what you need.
The goal of this package is to be a drop-in replacement for the original `LooseVersion`. It implements an identical interface and comparison logic to `LooseVersion`. The only major change is that a `looseversion.LooseVersion` is comparable to a `distutils.version.LooseVersion`, which means tools should not need to worry whether all dependencies that use LooseVersion have migrated.
If you are simply comparing versions of Python packages, consider moving to `packaging.version.Version', which follows PEP-440. `LooseVersion` is better suited to interacting with heterogeneous version schemes that do not follow PEP-440.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/py-looseversion | 1.3.0nb1 |
| FreeBSD | devel/py-looseversion | 1.3.0 |
| OpenBSD | devel/py-looseversion | 1.3.0p0 |
| DragonFly | devel/py-looseversion | 1.3.0 |
| HardenedBSD | devel/py-looseversion | 1.3.0 |
| GhostBSD | devel/py-looseversion | 1.3.0 |
Install
Binary package:
pkgin install py311-looseversion
From pkgsrc:
cd /usr/pkgsrc/devel/py-looseversion && 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 | 1.3.0nb1 |
| NetBSD 10.1 aarch64 | 1.3.0nb1 |
| SmartOS / illumos x86_64 | 1.3.0nb1 |
| macOS 15 arm64 | 1.3.0nb1 |
Dependencies
Run dependencies 1
Required by 2
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-looseversion-1.3.0nb1,py313-looseversion-1.3.0nb1,py314-looseversion-1.3.0nb1