Path to this page:
./
devel/py-looseversion,
Python extension for comparing version strings
Branch: CURRENT,
Version: 1.3.0nb1,
Package name: py311-looseversion-1.3.0nb1,
Maintainer: gutteridgeA 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.
Master sites:
Filesize: 8.593 KB
Version history: (Expand)
- (2023-10-28) Updated to version: py311-looseversion-1.3.0nb1
- (2023-07-08) Updated to version: py310-looseversion-1.3.0
- (2023-05-29) Updated to version: py310-looseversion-1.2.0
- (2023-03-12) Updated to version: py310-looseversion-1.1.2
- (2023-01-25) Package added to pkgsrc.se, version py310-looseversion-1.0.3 (created)
CVS history: (Expand)
2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | |
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation
This follows the recommended bootstrap method (flit_core, build, installer).
However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
|
2023-07-08 15:11:04 by David H. Gutteridge | Files touched by this commit (2) | |
Log message:
py-looseversion: update to 1.3.0
### 1.3.0 (5 Jul 2023)
- 2023.07.05
- Restore Python 3 semantics for `LooseVersion`, creating `LooseVersion2`
to restore Python 2 semantics.
|
2023-05-29 03:49:06 by David H. Gutteridge | Files touched by this commit (2) | |
Log message:
py-looseversion: update to 1.2.0
### 1.2.0 (25 May 2023)
- 2023.05.25
- Test on Python 3.12
- Enable installation on Python 2+
- Ensure consistent semantics between Python 2 and 3
|
2023-03-12 03:58:53 by David H. Gutteridge | Files touched by this commit (3) | |
Log message:
py-looseversion: update to 1.1.2
### 1.1.2 (22 Feb 2023)
- 2023.02.22
- Revert unintended change in internal version representation
### 1.1.1 (19 Feb 2023)
- 2023.02.19
- Restructure package so stubs get installed and detected
### 1.1.0 (19 Feb 2023)
- 2023.02.19
- Add type annotations and stubs.
|
2023-01-25 06:26:18 by David H. Gutteridge | Files touched by this commit (4) |
Log message:
py-looseversion: add version 1.0.3
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.
|