summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-09-18 20:30:32 +0000
committeradam <adam@pkgsrc.org>2019-09-18 20:30:32 +0000
commit6fb0dd5ff411f171ff7a31c337cd7efb5e625768 (patch)
treea9ace43beffb0a71016fd4f485ed88e30f9197fa /devel
parentd97e2e128f5dbdf268c980624dc3743b172bfc32 (diff)
downloadpkgsrc-6fb0dd5ff411f171ff7a31c337cd7efb5e625768.tar.gz
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.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-semantic_version/Makefile4
-rw-r--r--devel/py-semantic_version/PLIST6
-rw-r--r--devel/py-semantic_version/distinfo10
3 files changed, 9 insertions, 11 deletions
diff --git a/devel/py-semantic_version/Makefile b/devel/py-semantic_version/Makefile
index c5c08934c71..16403c83047 100644
--- a/devel/py-semantic_version/Makefile
+++ b/devel/py-semantic_version/Makefile
@@ -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/}
diff --git a/devel/py-semantic_version/PLIST b/devel/py-semantic_version/PLIST
index eb5f6c323c5..17e2cde2ead 100644
--- a/devel/py-semantic_version/PLIST
+++ b/devel/py-semantic_version/PLIST
@@ -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__.pyo
${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
diff --git a/devel/py-semantic_version/distinfo b/devel/py-semantic_version/distinfo
index 4ab8ac3c454..ec5c488e640 100644
--- a/devel/py-semantic_version/distinfo
+++ b/devel/py-semantic_version/distinfo
@@ -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