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 May 14 07:02:04 UTC 2025

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

Log Message:
py-exceptiongroup: updated to 1.3.0

1.3.0

- Added ``**kwargs`` to function and method signatures as appropriate to match the
  signatures in the standard library
- In line with the stdlib typings in typeshed, updated ``(Base)ExceptionGroup`` generic
  types to define defaults for their generic arguments (defaulting to
  ``BaseExceptionGroup[BaseException]`` and ``ExceptionGroup[Exception]``)
- Changed ``BaseExceptionGroup.__init__()`` to directly call
  ``BaseException.__init__()`` instead of the superclass ``__init__()`` in order to
  emulate the CPython behavior (broken or not)
- Changed the ``exceptions`` attribute to always return the same tuple of exceptions,
  created from the original exceptions sequence passed to ``BaseExceptionGroup`` to
  match CPython behavior


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-exceptiongroup/Makefile
cvs rdiff -u -r1.13 -r1.14 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.15 pkgsrc/devel/py-exceptiongroup/Makefile:1.16
--- pkgsrc/devel/py-exceptiongroup/Makefile:1.15        Sun Mar  2 09:01:43 2025
+++ pkgsrc/devel/py-exceptiongroup/Makefile     Wed May 14 07:02:04 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.15 2025/03/02 09:01:43 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2025/05/14 07:02:04 adam Exp $
 
-DISTNAME=      exceptiongroup-1.2.2
+DISTNAME=      exceptiongroup-1.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=e/exceptiongroup/}
 
@@ -11,12 +10,14 @@ HOMEPAGE=   https://github.com/agronholm/e
 COMMENT=       Backport of PEP 654 (exception groups)
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.11:../../devel/py-flit_core
 TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_scm-[0-9]*:../../devel/py-flit_scm
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 313
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.6.0:../../devel/py-typing-extensions
+.endif
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-exceptiongroup/distinfo
diff -u pkgsrc/devel/py-exceptiongroup/distinfo:1.13 pkgsrc/devel/py-exceptiongroup/distinfo:1.14
--- pkgsrc/devel/py-exceptiongroup/distinfo:1.13        Fri Jul 19 08:16:29 2024
+++ pkgsrc/devel/py-exceptiongroup/distinfo     Wed May 14 07:02:04 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2024/07/19 08:16:29 adam Exp $
+$NetBSD: distinfo,v 1.14 2025/05/14 07:02:04 adam Exp $
 
-BLAKE2s (exceptiongroup-1.2.2.tar.gz) = 5b88aa453abf915fbdec9073c7fea44f3dd9bf6765226af2bc3fc2afac031664
-SHA512 (exceptiongroup-1.2.2.tar.gz) = dedee1401577d1047a99078552cf24346c55f1e9a281845f327d8ace30b22659877743ce1c8b60fa605988abcac14432138020e9d1c109df911f86993cbe2082
-Size (exceptiongroup-1.2.2.tar.gz) = 28883 bytes
+BLAKE2s (exceptiongroup-1.3.0.tar.gz) = 819a8462de4020d6603e4677d5329d4b7e34740f900be624909d4632a104fa73
+SHA512 (exceptiongroup-1.3.0.tar.gz) = b8cbdaf7e7199240b931ca37676a2d5c3465e6ed09efcc23fe660c9fd911d5dde092fb66dfa70ec82dc49404e669bbdb5c55b2b26ef816c189e54797b6225833
+Size (exceptiongroup-1.3.0.tar.gz) = 29749 bytes



Home | Main Index | Thread Index | Old Index