Wed Sep 18 20:30:32 2019 UTC ()
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.


(adam)
diff -r1.2 -r1.3 pkgsrc/devel/py-semantic_version/Makefile
diff -r1.1 -r1.2 pkgsrc/devel/py-semantic_version/PLIST
diff -r1.1 -r1.2 pkgsrc/devel/py-semantic_version/distinfo

cvs diff -r1.2 -r1.3 pkgsrc/devel/py-semantic_version/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-semantic_version/Makefile 2018/10/23 09:04:19 1.2
+++ pkgsrc/devel/py-semantic_version/Makefile 2019/09/18 20:30:32 1.3
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.2 2018/10/23 09:04:19 adam Exp $ 1# $NetBSD: Makefile,v 1.3 2019/09/18 20:30:32 adam Exp $
2 2
3DISTNAME= semantic_version-2.6.0 3DISTNAME= semantic_version-2.8.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=s/semantic_version/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=s/semantic_version/}
7 7
8MAINTAINER= minskim@NetBSD.org 8MAINTAINER= minskim@NetBSD.org
9HOMEPAGE= https://github.com/rbarrois/python-semanticversion 9HOMEPAGE= https://github.com/rbarrois/python-semanticversion
10COMMENT= Semantic version comparison for Python 10COMMENT= Semantic version comparison for Python
11LICENSE= 2-clause-bsd 11LICENSE= 2-clause-bsd
12 12
13USE_LANGUAGES= # none 13USE_LANGUAGES= # none
14 14
15.include "../../lang/python/egg.mk" 15.include "../../lang/python/egg.mk"
16.include "../../mk/bsd.pkg.mk" 16.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/devel/py-semantic_version/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-semantic_version/PLIST 2018/10/21 19:51:41 1.1
+++ pkgsrc/devel/py-semantic_version/PLIST 2019/09/18 20:30:32 1.2
@@ -1,17 +1,15 @@ @@ -1,17 +1,15 @@
1@comment $NetBSD: PLIST,v 1.1 2018/10/21 19:51:41 minskim Exp $ 1@comment $NetBSD: PLIST,v 1.2 2019/09/18 20:30:32 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 5${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
5${PYSITELIB}/${EGG_INFODIR}/top_level.txt 6${PYSITELIB}/${EGG_INFODIR}/top_level.txt
6${PYSITELIB}/semantic_version/__init__.py 7${PYSITELIB}/semantic_version/__init__.py
7${PYSITELIB}/semantic_version/__init__.pyc 8${PYSITELIB}/semantic_version/__init__.pyc
8${PYSITELIB}/semantic_version/__init__.pyo 9${PYSITELIB}/semantic_version/__init__.pyo
9${PYSITELIB}/semantic_version/base.py 10${PYSITELIB}/semantic_version/base.py
10${PYSITELIB}/semantic_version/base.pyc 11${PYSITELIB}/semantic_version/base.pyc
11${PYSITELIB}/semantic_version/base.pyo 12${PYSITELIB}/semantic_version/base.pyo
12${PYSITELIB}/semantic_version/compat.py 
13${PYSITELIB}/semantic_version/compat.pyc 
14${PYSITELIB}/semantic_version/compat.pyo 
15${PYSITELIB}/semantic_version/django_fields.py 13${PYSITELIB}/semantic_version/django_fields.py
16${PYSITELIB}/semantic_version/django_fields.pyc 14${PYSITELIB}/semantic_version/django_fields.pyc
17${PYSITELIB}/semantic_version/django_fields.pyo 15${PYSITELIB}/semantic_version/django_fields.pyo

cvs diff -r1.1 -r1.2 pkgsrc/devel/py-semantic_version/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-semantic_version/distinfo 2018/10/21 19:51:41 1.1
+++ pkgsrc/devel/py-semantic_version/distinfo 2019/09/18 20:30:32 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.1 2018/10/21 19:51:41 minskim Exp $ 1$NetBSD: distinfo,v 1.2 2019/09/18 20:30:32 adam Exp $
2 2
3SHA1 (semantic_version-2.6.0.tar.gz) = 9e1bae88b7775f2f9097292bb87a847a7fee32fa 3SHA1 (semantic_version-2.8.2.tar.gz) = fe89b8d2c921d0ff7c656194e354b08285702613
4RMD160 (semantic_version-2.6.0.tar.gz) = e078cd3af2d6cfbfada40a3d51b005ad9148251e 4RMD160 (semantic_version-2.8.2.tar.gz) = 18b7d64db94b0afdac7651a26454e70ff0f539e3
5SHA512 (semantic_version-2.6.0.tar.gz) = 805449e7219aaa59d28cc267c27a6abab5cbbbfd52c72d66f24bcace39c9f864e4ed944a3dc614e14a700a5bc92272fa6420312f3169b01a4cfd9ddf3ffb42d6 5SHA512 (semantic_version-2.8.2.tar.gz) = f54ad2bb2e8392e154718c3dff8e7a7fa7663d7df0ab4b196444e0ad22440fe9d9a3abe9043824c0e0121f9051121b8c9d67f76a615aa5348c321e217b3a5dcd
6Size (semantic_version-2.6.0.tar.gz) = 13919 bytes 6Size (semantic_version-2.8.2.tar.gz) = 49243 bytes