pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-semantic_version



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Sep 18 20:30:32 UTC 2019

Modified Files:
        pkgsrc/devel/py-semantic_version: Makefile PLIST distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-semantic_version/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-semantic_version/PLIST \
    pkgsrc/devel/py-semantic_version/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-semantic_version/Makefile
diff -u pkgsrc/devel/py-semantic_version/Makefile:1.2 pkgsrc/devel/py-semantic_version/Makefile:1.3
--- pkgsrc/devel/py-semantic_version/Makefile:1.2       Tue Oct 23 09:04:19 2018
+++ pkgsrc/devel/py-semantic_version/Makefile   Wed Sep 18 20:30:32 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2018/10/23 09:04:19 adam Exp $
+# $NetBSD: Makefile,v 1.3 2019/09/18 20:30:32 adam Exp $
 
-DISTNAME=      semantic_version-2.6.0
+DISTNAME=      semantic_version-2.8.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/semantic_version/}

Index: pkgsrc/devel/py-semantic_version/PLIST
diff -u pkgsrc/devel/py-semantic_version/PLIST:1.1 pkgsrc/devel/py-semantic_version/PLIST:1.2
--- pkgsrc/devel/py-semantic_version/PLIST:1.1  Sun Oct 21 19:51:41 2018
+++ pkgsrc/devel/py-semantic_version/PLIST      Wed Sep 18 20:30:32 2019
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2018/10/21 19:51:41 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/09/18 20:30:32 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/semantic_version/__init__.py
 ${PYSITELIB}/semantic_version/__init__.pyc
@@ -9,9 +10,6 @@ ${PYSITELIB}/semantic_version/__init__.p
 ${PYSITELIB}/semantic_version/base.py
 ${PYSITELIB}/semantic_version/base.pyc
 ${PYSITELIB}/semantic_version/base.pyo
-${PYSITELIB}/semantic_version/compat.py
-${PYSITELIB}/semantic_version/compat.pyc
-${PYSITELIB}/semantic_version/compat.pyo
 ${PYSITELIB}/semantic_version/django_fields.py
 ${PYSITELIB}/semantic_version/django_fields.pyc
 ${PYSITELIB}/semantic_version/django_fields.pyo
Index: pkgsrc/devel/py-semantic_version/distinfo
diff -u pkgsrc/devel/py-semantic_version/distinfo:1.1 pkgsrc/devel/py-semantic_version/distinfo:1.2
--- pkgsrc/devel/py-semantic_version/distinfo:1.1       Sun Oct 21 19:51:41 2018
+++ pkgsrc/devel/py-semantic_version/distinfo   Wed Sep 18 20:30:32 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/10/21 19:51:41 minskim Exp $
+$NetBSD: distinfo,v 1.2 2019/09/18 20:30:32 adam Exp $
 
-SHA1 (semantic_version-2.6.0.tar.gz) = 9e1bae88b7775f2f9097292bb87a847a7fee32fa
-RMD160 (semantic_version-2.6.0.tar.gz) = e078cd3af2d6cfbfada40a3d51b005ad9148251e
-SHA512 (semantic_version-2.6.0.tar.gz) = 805449e7219aaa59d28cc267c27a6abab5cbbbfd52c72d66f24bcace39c9f864e4ed944a3dc614e14a700a5bc92272fa6420312f3169b01a4cfd9ddf3ffb42d6
-Size (semantic_version-2.6.0.tar.gz) = 13919 bytes
+SHA1 (semantic_version-2.8.2.tar.gz) = fe89b8d2c921d0ff7c656194e354b08285702613
+RMD160 (semantic_version-2.8.2.tar.gz) = 18b7d64db94b0afdac7651a26454e70ff0f539e3
+SHA512 (semantic_version-2.8.2.tar.gz) = f54ad2bb2e8392e154718c3dff8e7a7fa7663d7df0ab4b196444e0ad22440fe9d9a3abe9043824c0e0121f9051121b8c9d67f76a615aa5348c321e217b3a5dcd
+Size (semantic_version-2.8.2.tar.gz) = 49243 bytes



Home | Main Index | Thread Index | Old Index