pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-cbor2
Module Name: pkgsrc
Committed By: adam
Date: Tue Jan 23 18:27:50 UTC 2024
Modified Files:
pkgsrc/devel/py-cbor2: Makefile PLIST distinfo
Log Message:
py-cbor2: updated to 5.6.0
5.6.0
- Added the ``cbor2`` command line tool (for ``pipx run cbor2``)
- Added support for native date encoding (bschoenmaeckers)
- Made the C extension mandatory when the environment variable ``CBOR2_BUILD_C_EXTENSION`` is set
to ``1``.
- Fixed ``SystemError`` in the C extension when decoding a ``Fractional`` with a bad
number of arguments or a non-tuple value
- Fixed ``SystemError`` in the C extension when the decoder object hook raises an
exception
- Fixed a segmentation fault when decoding invalid unicode data
- Fixed infinite recursion when trying to hash a CBOR tag whose value points to the tag
itself
- Fixed ``MemoryError`` when maliciously constructed bytestrings or string (declared to be absurdly
large) are being decoded
- Fixed ``UnicodeDecodeError`` from failed parsing of a UTF-8 text string not being wrapped as
``CBORDecodeValueError``
- Fixed ``TypeError`` or ``ZeroDivisionError`` from a failed decoding of ``Fraction`` not being
wrapped as ``CBORDecodeValueError``
- Fixed ``TypeError`` or ``ValueError`` from a failed decoding of ``UUID`` not being wrapped as
``CBORDecodeValueError``
- Fixed ``TypeError`` from a failed decoding of ``MIMEMessage`` not being wrapped as
``CBORDecodeValueError``
- Fixed ``OverflowError``, ``OSError`` or ``ValueError`` from a failed decoding of epoch-based
``datetime`` not being wrapped as ``CBORDecodeValueError``
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-cbor2/Makefile \
pkgsrc/devel/py-cbor2/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-cbor2/PLIST
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-cbor2/Makefile
diff -u pkgsrc/devel/py-cbor2/Makefile:1.5 pkgsrc/devel/py-cbor2/Makefile:1.6
--- pkgsrc/devel/py-cbor2/Makefile:1.5 Wed Nov 8 14:09:43 2023
+++ pkgsrc/devel/py-cbor2/Makefile Tue Jan 23 18:27:50 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2023/11/08 14:09:43 adam Exp $
+# $NetBSD: Makefile,v 1.6 2024/01/23 18:27:50 adam Exp $
-DISTNAME= cbor2-5.5.1
+DISTNAME= cbor2-5.6.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cbor2/}
@@ -18,5 +18,9 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[
PYTHON_VERSIONS_INCOMPATIBLE= 27
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} cbor2 cbor2-${PYVERSSUFFIX} || ${TRUE}
+
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-cbor2/distinfo
diff -u pkgsrc/devel/py-cbor2/distinfo:1.5 pkgsrc/devel/py-cbor2/distinfo:1.6
--- pkgsrc/devel/py-cbor2/distinfo:1.5 Wed Nov 8 14:09:43 2023
+++ pkgsrc/devel/py-cbor2/distinfo Tue Jan 23 18:27:50 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2023/11/08 14:09:43 adam Exp $
+$NetBSD: distinfo,v 1.6 2024/01/23 18:27:50 adam Exp $
-BLAKE2s (cbor2-5.5.1.tar.gz) = 76dd7fb6e23d64bf524cbf7f01eae4f3e43d7bc04881fdad81fadc15be4628ba
-SHA512 (cbor2-5.5.1.tar.gz) = 7878b997ae5bdf44cb04b7cef8445a94f11c1722819ea85073bd56f99976cf2c1c1180e72d9ae9cd7dd7d06a6aa55dc1cb3f919a869098a9feede210f8355fb4
-Size (cbor2-5.5.1.tar.gz) = 94221 bytes
+BLAKE2s (cbor2-5.6.0.tar.gz) = cc057fa4a7c160512fe9d3a4cce9684e492d9c655a69923c35d05f14d1865bf4
+SHA512 (cbor2-5.6.0.tar.gz) = fc3fe284b2cc10008dbebd61be9819f05dd636bff5d231ced1af46b0314bad502f465d87faa10140e312056e1c25a82ecbd0024b55230b816b9e024605051495
+Size (cbor2-5.6.0.tar.gz) = 99116 bytes
Index: pkgsrc/devel/py-cbor2/PLIST
diff -u pkgsrc/devel/py-cbor2/PLIST:1.2 pkgsrc/devel/py-cbor2/PLIST:1.3
--- pkgsrc/devel/py-cbor2/PLIST:1.2 Mon Oct 30 14:16:14 2023
+++ pkgsrc/devel/py-cbor2/PLIST Tue Jan 23 18:27:50 2024
@@ -1,8 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2023/10/30 14:16:14 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2024/01/23 18:27:50 adam Exp $
+bin/cbor2-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/_cbor2.so
${PYSITELIB}/cbor2/__init__.py
Home |
Main Index |
Thread Index |
Old Index