pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-packaging py-packaging: updated to 20.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07133bc1e756
branches:  trunk
changeset: 440895:07133bc1e756
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Oct 21 08:56:52 2020 +0000

description:
py-packaging: updated to 20.4

20.4:

Canonicalize version before comparing specifiers.
Change type hint for canonicalize_name to return packaging.utils.NormalizedName. This enables the use of static typing tools (like mypy) to detect mixing of normalized and un-normalized names.

20.3:

Fix changelog for 20.2.

20.2:

Fix a bug that caused a 32-bit OS that runs on a 64-bit ARM CPU (e.g. ARM-v8, aarch64), to report the wrong bitness.

20.1:

Fix a bug caused by reuse of an exhausted iterator.

20.0:

Add type hints
Add proper trove classifiers for PyPy support
Scale back depending on ctypes for manylinux support detection
Use sys.implementation.name where appropriate for packaging.tags
Expand upon the API provded by packaging.tags: interpreter_name(), mac_platforms(), compatible_tags(), cpython_tags(), generic_tags()
Officially support Python 3.8
Add major, minor, and micro aliases to packaging.version.Version
Properly mark packaging has being fully typed by adding a py.typed file

diffstat:

 devel/py-packaging/Makefile |   4 ++--
 devel/py-packaging/PLIST    |   6 +++++-
 devel/py-packaging/distinfo |  10 +++++-----
 3 files changed, 12 insertions(+), 8 deletions(-)

diffs (50 lines):

diff -r 25358a5559ee -r 07133bc1e756 devel/py-packaging/Makefile
--- a/devel/py-packaging/Makefile       Wed Oct 21 08:47:42 2020 +0000
+++ b/devel/py-packaging/Makefile       Wed Oct 21 08:56:52 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2020/05/16 17:27:43 adam Exp $
+# $NetBSD: Makefile,v 1.10 2020/10/21 08:56:52 adam Exp $
 
-DISTNAME=      packaging-19.2
+DISTNAME=      packaging-20.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/packaging/}
diff -r 25358a5559ee -r 07133bc1e756 devel/py-packaging/PLIST
--- a/devel/py-packaging/PLIST  Wed Oct 21 08:47:42 2020 +0000
+++ b/devel/py-packaging/PLIST  Wed Oct 21 08:56:52 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/08/09 07:42:59 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/10/21 08:56:52 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -16,9 +16,13 @@
 ${PYSITELIB}/packaging/_structures.py
 ${PYSITELIB}/packaging/_structures.pyc
 ${PYSITELIB}/packaging/_structures.pyo
+${PYSITELIB}/packaging/_typing.py
+${PYSITELIB}/packaging/_typing.pyc
+${PYSITELIB}/packaging/_typing.pyo
 ${PYSITELIB}/packaging/markers.py
 ${PYSITELIB}/packaging/markers.pyc
 ${PYSITELIB}/packaging/markers.pyo
+${PYSITELIB}/packaging/py.typed
 ${PYSITELIB}/packaging/requirements.py
 ${PYSITELIB}/packaging/requirements.pyc
 ${PYSITELIB}/packaging/requirements.pyo
diff -r 25358a5559ee -r 07133bc1e756 devel/py-packaging/distinfo
--- a/devel/py-packaging/distinfo       Wed Oct 21 08:47:42 2020 +0000
+++ b/devel/py-packaging/distinfo       Wed Oct 21 08:56:52 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2019/09/19 16:49:32 adam Exp $
+$NetBSD: distinfo,v 1.7 2020/10/21 08:56:52 adam Exp $
 
-SHA1 (packaging-19.2.tar.gz) = ae4aeb07c330d623c3d8fa8414c6080d2c9a4192
-RMD160 (packaging-19.2.tar.gz) = 30b0253aea8753bc2c3ce664fe839fe26dc8f27e
-SHA512 (packaging-19.2.tar.gz) = af7312a85292f577d3e6e57154f10fb380bbdee749344ba4b226a09f22bf5ca664ed63c62cd5b4dea0be5eb5cff5c17ad04415aab8c925fa90dcae2e1c6dee5a
-Size (packaging-19.2.tar.gz) = 59110 bytes
+SHA1 (packaging-20.4.tar.gz) = b99fa7af153646722b2d1817bb09906cc5a94bc6
+RMD160 (packaging-20.4.tar.gz) = 570cb61f1cb0b903dc777f98673c259d8b393130
+SHA512 (packaging-20.4.tar.gz) = d53912041a9950efb5d221fc968adc328c2ef1e54ec9806d2158fd6db1b170e37afb05213f5750b10c59927504083ca3781c958caa0c802b1c7c0fe1ac1682a4
+Size (packaging-20.4.tar.gz) = 74402 bytes



Home | Main Index | Thread Index | Old Index