Path to this page:
./
devel/py-semantic_version,
Semantic version comparison for Python
Branch: CURRENT,
Version: 2.8.5,
Package name: py37-semantic_version-2.8.5,
Maintainer: minskimThis small python library provides a few tools to handle SemVer in
Python. It follows strictly the 2.0.0 version of the SemVer scheme.
Required to run:[
devel/py-setuptools] [
lang/python37]
Required to build:[
pkgtools/cwrappers]
Master sites:
SHA1: b010996983ae7c4f8266e9a98bfd4386590278c3
RMD160: 78d943d6de791eef4ab8e933ea7bcc9d5269c9f6
Filesize: 48.837 KB
Version history: (Expand)
- (2020-06-01) Updated to version: py37-semantic_version-2.8.5
- (2020-03-20) Updated to version: py37-semantic_version-2.8.4
- (2019-12-15) Updated to version: py37-semantic_version-2.8.3
- (2019-09-19) Updated to version: py37-semantic_version-2.8.2
- (2018-10-22) Package added to pkgsrc.se, version py27-semantic_version-2.6.0 (created)
CVS history: (Expand)
2020-06-01 18:03:03 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-semantic_version: updated to 2.8.5
2.8.5:
Properly handle wildcards in ``SimpleSpec`` (e.g. ``==1.2.*``).
|
2020-03-20 10:31:27 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-semantic_version: updated to 2.8.4
2.8.4:
*Bugfix:*
Properly coerce versions with leading zeroes in components (e.g.
``1.01.007``)
|
2019-12-15 12:36:38 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-semantic_version: updated to 2.8.3
2.8.3:
New:
Add Clause.prettyprint() for debugging
Bugfix:
Fix handling of prerelease ranges within NpmSpec
|
2019-09-18 22:30:32 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-semantic_version: updated to 2.8.2
2.8.2
*Bugfix:*
* Restore computation of ``Spec.specs`` for single-term expressions
(``>=0.1.2``)
2.8.1
*Bugfix:*
* Restored attribute ``Spec.specs``, removed by mistake during the refactor.
2.8.0
*New:*
* Restore support for Python 2.
2.7.1
*Bugfix:*
* Fix parsing of npm-based caret expressions.
2.7.0
This release brings a couple of significant changes:
- Allow to define several range description syntaxes (``SimpleSpec``, \
``NpmSpec``, ...)
- Fix bugs and unexpected behaviours in the ``SimpleSpec`` implementation.
Backwards compatibility has been kept, but users should adjust their code for \
the new features:
- Use ``SimpleSpec`` instead of ``Spec``
- Replace calls to ``Version('1.2', partial=True)`` with ``SimpleSpec('~1.2')``
- ``iter(some_spec)`` is deprecated.
*New:*
* Allow creation of a ``Version`` directly from parsed components, as \
keyword arguments
(``Version(major=1, minor=2, patch=3)``)
* Add ``Version.truncate()`` to build a truncated copy of a ``Version``
* Add ``NpmSpec(...)``, following strict NPM matching rules \
(https://docs.npmjs.com/misc/semver)
* Add ``Spec.parse('xxx', syntax='<syntax>')`` for simpler \
multi-syntax support
* Add ``Version().precedence_key``, for use in ``sort(versions, key=lambda \
v: v.precedence_key)`` calls.
The contents of this attribute is an implementation detail.
*Bugfix:*
* Fix inconsistent behaviour regarding versions with a prerelease specification.
*Deprecated:*
* Deprecate the ``Spec`` class (Removed in 3.1); use the ``SimpleSpec`` \
class instead
* Deprecate the internal ``SpecItem`` class (Removed in 3.0).
* Deprecate the ``partial=True`` form of ``Version``; use ``SimpleSpec`` instead.
*Removed:*
* Remove support for Python2 (End of life 4 months after this release)
*Refactor:*
* Switch spec computation to a two-step process: convert the spec to a \
combination
of simple comparisons with clear semantics, then use those.
|
2018-10-23 11:04:19 by Adam Ciarcinski | Files touched by this commit (1) |
Log message:
py-semantic_version: small fixes to Makefile
|
2018-10-21 21:51:41 by Min Sik Kim | Files touched by this commit (4) |
Log message:
devel/py-semantic_version: Import version 2.6.0
This small python library provides a few tools to handle SemVer in
Python. It follows strictly the 2.0.0 version of the SemVer scheme.
|