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:           Mon Oct 30 14:16:14 UTC 2023

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

Log Message:
py-cbor2: updated to 5.5.0

5.5.0 (2023-10-21)

- The ``cbor2.encoder``, ``cbor2.decoder`` or ``cbor2.types`` modules were deprecated – import
  their contents directly from ``cbor2`` from now on. The old modules will be removed in the next
  major release.
- Added support for Python 3.12
- Added type annotations
- Dropped support for Python 3.7
- Fixed bug in the ``fp`` attribute of the built-in version of ``CBORDecoder`` and
  ``CBOREncoder`` where the getter returns an invalid pointer if the ``read`` method of
  the file was a built-in method


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-cbor2/Makefile \
    pkgsrc/devel/py-cbor2/distinfo
cvs rdiff -u -r1.1 -r1.2 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.3 pkgsrc/devel/py-cbor2/Makefile:1.4
--- pkgsrc/devel/py-cbor2/Makefile:1.3  Sun Dec 18 10:14:32 2022
+++ pkgsrc/devel/py-cbor2/Makefile      Mon Oct 30 14:16:14 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2022/12/18 10:14:32 adam Exp $
+# $NetBSD: Makefile,v 1.4 2023/10/30 14:16:14 adam Exp $
 
-DISTNAME=      cbor2-5.4.6
+DISTNAME=      cbor2-5.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cbor2/}
@@ -10,14 +10,13 @@ HOMEPAGE=   https://cbor2.readthedocs.org/
 COMMENT=       CBOR (de)serializer with extensive tag support
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=1.7.0:../../devel/py-setuptools_scm
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.4:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-cbor2/distinfo
diff -u pkgsrc/devel/py-cbor2/distinfo:1.3 pkgsrc/devel/py-cbor2/distinfo:1.4
--- pkgsrc/devel/py-cbor2/distinfo:1.3  Sun Dec 18 10:14:32 2022
+++ pkgsrc/devel/py-cbor2/distinfo      Mon Oct 30 14:16:14 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2022/12/18 10:14:32 adam Exp $
+$NetBSD: distinfo,v 1.4 2023/10/30 14:16:14 adam Exp $
 
-BLAKE2s (cbor2-5.4.6.tar.gz) = e30c9e9f77bcdf30c40fee4ad38e079ab0f307527f0298c004e37bf1f175478d
-SHA512 (cbor2-5.4.6.tar.gz) = 44fb3e2e2249c79b1454487670d53eb672ffae4c22374d2a2bb9e314ac15470e4e7913e4eb1981a8bd4d722e6827328dde7e57c5f0556843e951c4723ae5bd8e
-Size (cbor2-5.4.6.tar.gz) = 86909 bytes
+BLAKE2s (cbor2-5.5.0.tar.gz) = ee730e0765ae2bed7a9a42e7b28a049ff2f9f4e37adba21f727254517a0e3b1c
+SHA512 (cbor2-5.5.0.tar.gz) = 64b9ef0e358ac02113f85a2e633ed52900c4d5d6c89f889d9322f181e29fbdf9462663b5eaec7a255d5e6d47c82c4902cb7ff56999251c5ec070c7b610e615b3
+Size (cbor2-5.5.0.tar.gz) = 94286 bytes

Index: pkgsrc/devel/py-cbor2/PLIST
diff -u pkgsrc/devel/py-cbor2/PLIST:1.1 pkgsrc/devel/py-cbor2/PLIST:1.2
--- pkgsrc/devel/py-cbor2/PLIST:1.1     Sat Oct  8 13:19:22 2022
+++ pkgsrc/devel/py-cbor2/PLIST Mon Oct 30 14:16:14 2023
@@ -1,19 +1,29 @@
-@comment $NetBSD: PLIST,v 1.1 2022/10/08 13:19:22 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2023/10/30 14:16:14 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/_cbor2.so
 ${PYSITELIB}/cbor2/__init__.py
 ${PYSITELIB}/cbor2/__init__.pyc
 ${PYSITELIB}/cbor2/__init__.pyo
+${PYSITELIB}/cbor2/_decoder.py
+${PYSITELIB}/cbor2/_decoder.pyc
+${PYSITELIB}/cbor2/_decoder.pyo
+${PYSITELIB}/cbor2/_encoder.py
+${PYSITELIB}/cbor2/_encoder.pyc
+${PYSITELIB}/cbor2/_encoder.pyo
+${PYSITELIB}/cbor2/_types.py
+${PYSITELIB}/cbor2/_types.pyc
+${PYSITELIB}/cbor2/_types.pyo
 ${PYSITELIB}/cbor2/decoder.py
 ${PYSITELIB}/cbor2/decoder.pyc
 ${PYSITELIB}/cbor2/decoder.pyo
 ${PYSITELIB}/cbor2/encoder.py
 ${PYSITELIB}/cbor2/encoder.pyc
 ${PYSITELIB}/cbor2/encoder.pyo
+${PYSITELIB}/cbor2/py.typed
 ${PYSITELIB}/cbor2/tool.py
 ${PYSITELIB}/cbor2/tool.pyc
 ${PYSITELIB}/cbor2/tool.pyo



Home | Main Index | Thread Index | Old Index