pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-exceptiongroup



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Nov 22 12:59:23 UTC 2023

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

Log Message:
py-exceptiongroup: updated to 1.2.0

1.2.0

Added special monkeypatching if Apport has overridden sys.excepthook so it will format exception groups correctly (PR by John Litborn)
Added a backport of contextlib.suppress() from Python 3.12.1 which also handles suppressing exceptions inside exception groups
Fixed bare raise in a handler reraising the original naked exception rather than an exception group which is what is raised when you do a raise in an except* handler


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-exceptiongroup/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-exceptiongroup/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-exceptiongroup/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-exceptiongroup/Makefile
diff -u pkgsrc/devel/py-exceptiongroup/Makefile:1.11 pkgsrc/devel/py-exceptiongroup/Makefile:1.12
--- pkgsrc/devel/py-exceptiongroup/Makefile:1.11        Sat Oct 28 19:56:59 2023
+++ pkgsrc/devel/py-exceptiongroup/Makefile     Wed Nov 22 12:59:23 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2023/10/28 19:56:59 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2023/11/22 12:59:23 adam Exp $
 
-DISTNAME=      exceptiongroup-1.1.3
+DISTNAME=      exceptiongroup-1.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=e/exceptiongroup/}
 
@@ -11,15 +10,11 @@ HOMEPAGE=   https://github.com/agronholm/e
 COMMENT=       Backport of PEP 654 (exception groups)
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-flit_scm-[0-9]*:../../devel/py-flit_scm
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_scm-[0-9]*:../../devel/py-flit_scm
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-exceptiongroup/PLIST
diff -u pkgsrc/devel/py-exceptiongroup/PLIST:1.2 pkgsrc/devel/py-exceptiongroup/PLIST:1.3
--- pkgsrc/devel/py-exceptiongroup/PLIST:1.2    Sat Oct 28 19:56:59 2023
+++ pkgsrc/devel/py-exceptiongroup/PLIST        Wed Nov 22 12:59:23 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2023/10/28 19:56:59 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/11/22 12:59:23 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -15,6 +15,9 @@ ${PYSITELIB}/exceptiongroup/_exceptions.
 ${PYSITELIB}/exceptiongroup/_formatting.py
 ${PYSITELIB}/exceptiongroup/_formatting.pyc
 ${PYSITELIB}/exceptiongroup/_formatting.pyo
+${PYSITELIB}/exceptiongroup/_suppress.py
+${PYSITELIB}/exceptiongroup/_suppress.pyc
+${PYSITELIB}/exceptiongroup/_suppress.pyo
 ${PYSITELIB}/exceptiongroup/_version.py
 ${PYSITELIB}/exceptiongroup/_version.pyc
 ${PYSITELIB}/exceptiongroup/_version.pyo

Index: pkgsrc/devel/py-exceptiongroup/distinfo
diff -u pkgsrc/devel/py-exceptiongroup/distinfo:1.10 pkgsrc/devel/py-exceptiongroup/distinfo:1.11
--- pkgsrc/devel/py-exceptiongroup/distinfo:1.10        Tue Aug 22 20:43:45 2023
+++ pkgsrc/devel/py-exceptiongroup/distinfo     Wed Nov 22 12:59:23 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2023/08/22 20:43:45 adam Exp $
+$NetBSD: distinfo,v 1.11 2023/11/22 12:59:23 adam Exp $
 
-BLAKE2s (exceptiongroup-1.1.3.tar.gz) = f75d69048a2b1efa2579088a4283cb851e2a2bfa439f9cc3ba63f75787e6d9cc
-SHA512 (exceptiongroup-1.1.3.tar.gz) = de0d1af73bfbc361d97ededff5237f0a0d3b937084db830c50c0097474f87fcd98ccb0ab80bd1e54551cefd3649d2f9dbdc8b78ab3466e85fc0018ac77e4e3cf
-Size (exceptiongroup-1.1.3.tar.gz) = 23776 bytes
+BLAKE2s (exceptiongroup-1.2.0.tar.gz) = d90bc347ac3467d167ef691985c8d24963756ad529cf704ac5f7d25312cc6192
+SHA512 (exceptiongroup-1.2.0.tar.gz) = 8c7724d2f55108f6f77a40989c55d546af6eb0c2024a38f4180ff7724906f4d98343a681eba5e9646c9dbe5456252d58dade5dde241f20c0025b09637b66404c
+Size (exceptiongroup-1.2.0.tar.gz) = 26264 bytes



Home | Main Index | Thread Index | Old Index