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: wiz
Date: Sun Jul 3 12:36:06 UTC 2022
Added Files:
pkgsrc/devel/py-exceptiongroup: DESCR Makefile PLIST distinfo
Log Message:
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)
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-exceptiongroup/DESCR \
pkgsrc/devel/py-exceptiongroup/Makefile \
pkgsrc/devel/py-exceptiongroup/PLIST \
pkgsrc/devel/py-exceptiongroup/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/py-exceptiongroup/DESCR
diff -u /dev/null pkgsrc/devel/py-exceptiongroup/DESCR:1.1
--- /dev/null Sun Jul 3 12:36:06 2022
+++ pkgsrc/devel/py-exceptiongroup/DESCR Sun Jul 3 12:36:06 2022
@@ -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)
Index: pkgsrc/devel/py-exceptiongroup/Makefile
diff -u /dev/null pkgsrc/devel/py-exceptiongroup/Makefile:1.1
--- /dev/null Sun Jul 3 12:36:06 2022
+++ pkgsrc/devel/py-exceptiongroup/Makefile Sun Jul 3 12:36:06 2022
@@ -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"
Index: pkgsrc/devel/py-exceptiongroup/PLIST
diff -u /dev/null pkgsrc/devel/py-exceptiongroup/PLIST:1.1
--- /dev/null Sun Jul 3 12:36:06 2022
+++ pkgsrc/devel/py-exceptiongroup/PLIST Sun Jul 3 12:36:06 2022
@@ -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
Index: pkgsrc/devel/py-exceptiongroup/distinfo
diff -u /dev/null pkgsrc/devel/py-exceptiongroup/distinfo:1.1
--- /dev/null Sun Jul 3 12:36:06 2022
+++ pkgsrc/devel/py-exceptiongroup/distinfo Sun Jul 3 12:36:06 2022
@@ -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