pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-exceptiongroup devel/py-exceptiongroup: impor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f8288e0b095
branches:  trunk
changeset: 381268:3f8288e0b095
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jul 03 12:36:06 2022 +0000

description:
devel/py-exceptiongroup: import py-exceptiongroup-1.0.0rc8

This is a backport of the BaseExceptionGroup and ExceptionGroup
classes from Python 3.11.

It contains the following:

    The exceptiongroup.BaseExceptionGroup and exceptiongroup.ExceptionGroup
    classes
    A utility function (exceptiongroup.catch()) for catching
    exceptions possibly nested in an exception group
    Patches to the TracebackException class that properly formats
    exception groups (installed on import)
    An exception hook that handles formatting of exception groups
    through TracebackException (installed on import)

diffstat:

 devel/py-exceptiongroup/DESCR    |  13 +++++++++++++
 devel/py-exceptiongroup/Makefile |  25 +++++++++++++++++++++++++
 devel/py-exceptiongroup/PLIST    |  19 +++++++++++++++++++
 devel/py-exceptiongroup/distinfo |   5 +++++
 4 files changed, 62 insertions(+), 0 deletions(-)

diffs (78 lines):

diff -r 391b343e0ffa -r 3f8288e0b095 devel/py-exceptiongroup/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-exceptiongroup/DESCR     Sun Jul 03 12:36:06 2022 +0000
@@ -0,0 +1,13 @@
+This is a backport of the BaseExceptionGroup and ExceptionGroup
+classes from Python 3.11.
+
+It contains the following:
+
+    The exceptiongroup.BaseExceptionGroup and exceptiongroup.ExceptionGroup
+    classes
+    A utility function (exceptiongroup.catch()) for catching
+    exceptions possibly nested in an exception group
+    Patches to the TracebackException class that properly formats
+    exception groups (installed on import)
+    An exception hook that handles formatting of exception groups
+    through TracebackException (installed on import)
diff -r 391b343e0ffa -r 3f8288e0b095 devel/py-exceptiongroup/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-exceptiongroup/Makefile  Sun Jul 03 12:36:06 2022 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2022/07/03 12:36:06 wiz Exp $
+
+DISTNAME=      exceptiongroup-1.0.0rc8
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=e/exceptiongroup/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://pypi.org/project/exceptiongroup/
+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
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+# 'tests' directory not in pypi distfile
+#do-test:
+#      cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 391b343e0ffa -r 3f8288e0b095 devel/py-exceptiongroup/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-exceptiongroup/PLIST     Sun Jul 03 12:36:06 2022 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2022/07/03 12:36:06 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/exceptiongroup/__init__.py
+${PYSITELIB}/exceptiongroup/__init__.pyc
+${PYSITELIB}/exceptiongroup/_catch.py
+${PYSITELIB}/exceptiongroup/_catch.pyc
+${PYSITELIB}/exceptiongroup/_exceptions.py
+${PYSITELIB}/exceptiongroup/_exceptions.pyc
+${PYSITELIB}/exceptiongroup/_formatting.py
+${PYSITELIB}/exceptiongroup/_formatting.pyc
+${PYSITELIB}/exceptiongroup/_version.py
+${PYSITELIB}/exceptiongroup/_version.pyc
+${PYSITELIB}/exceptiongroup/py.typed
diff -r 391b343e0ffa -r 3f8288e0b095 devel/py-exceptiongroup/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-exceptiongroup/distinfo  Sun Jul 03 12:36:06 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/07/03 12:36:06 wiz Exp $
+
+BLAKE2s (exceptiongroup-1.0.0rc8.tar.gz) = 6face31dae9fbfce81c8ed8f91bdf49ac4418abb3e11e06c5d7a9f6c403e5f2c
+SHA512 (exceptiongroup-1.0.0rc8.tar.gz) = 73d4efc9b9265afe64c550ad56f9965597c3c26d29cfd05f4e30a9c0e8775e2dd91d4dacbc8c79a647c6c3072936ee2856afeda1831ede171f3772b3bdababa0
+Size (exceptiongroup-1.0.0rc8.tar.gz) = 11299 bytes



Home | Main Index | Thread Index | Old Index