pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-aws-error-utils



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sat Oct 26 02:50:29 UTC 2024

Added Files:
        pkgsrc/devel/py-aws-error-utils: DESCR Makefile PLIST distinfo

Log Message:
Add py-aws-error-utils: Error-handling functions for boto3/botocore

All AWS service exceptions are raised by boto3 as a
botocore.exceptions.ClientError, with the contents of the exception
indicating what kind of exception happened. This is not very pythonic,
and the contents themselves are rather opaque, most being held in dicts
rather than as properties. The functions in this package help dealing
with that, to make your code less verbose and require less memorization
of ClientError contents.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-aws-error-utils/DESCR \
    pkgsrc/devel/py-aws-error-utils/Makefile \
    pkgsrc/devel/py-aws-error-utils/PLIST \
    pkgsrc/devel/py-aws-error-utils/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-aws-error-utils/DESCR
diff -u /dev/null pkgsrc/devel/py-aws-error-utils/DESCR:1.1
--- /dev/null   Sat Oct 26 02:50:29 2024
+++ pkgsrc/devel/py-aws-error-utils/DESCR       Sat Oct 26 02:50:29 2024
@@ -0,0 +1,7 @@
+All AWS service exceptions are raised by boto3 as a
+botocore.exceptions.ClientError, with the contents of the exception
+indicating what kind of exception happened. This is not very pythonic,
+and the contents themselves are rather opaque, most being held in dicts
+rather than as properties. The functions in this package help dealing
+with that, to make your code less verbose and require less memorization
+of ClientError contents.
Index: pkgsrc/devel/py-aws-error-utils/Makefile
diff -u /dev/null pkgsrc/devel/py-aws-error-utils/Makefile:1.1
--- /dev/null   Sat Oct 26 02:50:29 2024
+++ pkgsrc/devel/py-aws-error-utils/Makefile    Sat Oct 26 02:50:29 2024
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2024/10/26 02:50:29 schmonz Exp $
+
+DISTNAME=      aws_error_utils-2.7.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=a/aws_error_utils/}
+
+MAINTAINER=    schmonz%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/benkehoe/aws-error-utils
+COMMENT=       Error-handling functions for boto3/botocore
+LICENSE=       apache-2.0
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=1.0.0:../../devel/py-poetry-core
+DEPENDS+=      ${PYPKGPREFIX}-botocore-[0-9]*:../../net/py-botocore
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-aws-error-utils/PLIST
diff -u /dev/null pkgsrc/devel/py-aws-error-utils/PLIST:1.1
--- /dev/null   Sat Oct 26 02:50:29 2024
+++ pkgsrc/devel/py-aws-error-utils/PLIST       Sat Oct 26 02:50:29 2024
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2024/10/26 02:50:29 schmonz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/aws_error_utils/__init__.py
+${PYSITELIB}/aws_error_utils/__init__.pyc
+${PYSITELIB}/aws_error_utils/__init__.pyo
+${PYSITELIB}/aws_error_utils/aws_error_utils.py
+${PYSITELIB}/aws_error_utils/aws_error_utils.pyc
+${PYSITELIB}/aws_error_utils/aws_error_utils.pyo
+${PYSITELIB}/aws_error_utils/py.typed
Index: pkgsrc/devel/py-aws-error-utils/distinfo
diff -u /dev/null pkgsrc/devel/py-aws-error-utils/distinfo:1.1
--- /dev/null   Sat Oct 26 02:50:29 2024
+++ pkgsrc/devel/py-aws-error-utils/distinfo    Sat Oct 26 02:50:29 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/10/26 02:50:29 schmonz Exp $
+
+BLAKE2s (aws_error_utils-2.7.0.tar.gz) = aa57838f34456a922d3a50cbb5dad0b5363af1d2b7ae534a805c031d9b34a91e
+SHA512 (aws_error_utils-2.7.0.tar.gz) = b8c917da0a703f3e532f10ca084d1428aacc86a7cdcdf8b3059223f7f77ce190a583fd475438d3d9d09c5a1f3da051bbdcaa8fb16a2932ce23d5f8aaf384538c
+Size (aws_error_utils-2.7.0.tar.gz) = 10803 bytes



Home | Main Index | Thread Index | Old Index