From 8f7e9bcae048cdd1ebeba553583c666ef64e0769 Mon Sep 17 00:00:00 2001 From: sthen Date: Sun, 27 Nov 2022 10:54:46 +0000 Subject: [PATCH] import ports/devel/py-jaraco-context, ok bket A context manager that will catch certain exceptions and provide an indication they occurred. --- devel/py-jaraco-context/Makefile | 23 +++++++++++++++++++++++ devel/py-jaraco-context/distinfo | 2 ++ devel/py-jaraco-context/pkg/DESCR | 2 ++ devel/py-jaraco-context/pkg/PLIST | 11 +++++++++++ 4 files changed, 38 insertions(+) create mode 100644 devel/py-jaraco-context/Makefile create mode 100644 devel/py-jaraco-context/distinfo create mode 100644 devel/py-jaraco-context/pkg/DESCR create mode 100644 devel/py-jaraco-context/pkg/PLIST diff --git a/devel/py-jaraco-context/Makefile b/devel/py-jaraco-context/Makefile new file mode 100644 index 00000000000..cc04539c0f3 --- /dev/null +++ b/devel/py-jaraco-context/Makefile @@ -0,0 +1,23 @@ +COMMENT= catch certain exceptions and provide an indication + +MODPY_EGG_VERSION= 4.1.2 +DISTNAME= jaraco.context-${MODPY_EGG_VERSION} +PKGNAME= py-${DISTNAME} + +CATEGORIES= devel + +# https://github.com/jaraco/jaraco.context +HOMEPAGE= https://jaracocontext.readthedocs.io/ + +# MIT +PERMIT_PACKAGE= Yes + +MODULES= lang/python + +MODPY_PI= Yes +MODPY_PYBUILD= setuptools_scm + +FLAVORS= python3 +FLAVOR= python3 + +.include diff --git a/devel/py-jaraco-context/distinfo b/devel/py-jaraco-context/distinfo new file mode 100644 index 00000000000..a9fc483c1b7 --- /dev/null +++ b/devel/py-jaraco-context/distinfo @@ -0,0 +1,2 @@ +SHA256 (jaraco.context-4.1.2.tar.gz) = pY6U3WeHFjmrwJG1fTKEJEmyMHd1cO8rzsPcFrkSYT4= +SIZE (jaraco.context-4.1.2.tar.gz) = 8315 diff --git a/devel/py-jaraco-context/pkg/DESCR b/devel/py-jaraco-context/pkg/DESCR new file mode 100644 index 00000000000..82acf595cd3 --- /dev/null +++ b/devel/py-jaraco-context/pkg/DESCR @@ -0,0 +1,2 @@ +A context manager that will catch certain exceptions and provide an +indication they occurred. diff --git a/devel/py-jaraco-context/pkg/PLIST b/devel/py-jaraco-context/pkg/PLIST new file mode 100644 index 00000000000..d0fdf4f69a2 --- /dev/null +++ b/devel/py-jaraco-context/pkg/PLIST @@ -0,0 +1,11 @@ +lib/python${MODPY_VERSION}/site-packages/jaraco/ +lib/python${MODPY_VERSION}/site-packages/jaraco.context-${MODPY_EGG_VERSION}.dist-info/ +lib/python${MODPY_VERSION}/site-packages/jaraco.context-${MODPY_EGG_VERSION}.dist-info/LICENSE +lib/python${MODPY_VERSION}/site-packages/jaraco.context-${MODPY_EGG_VERSION}.dist-info/METADATA +lib/python${MODPY_VERSION}/site-packages/jaraco.context-${MODPY_EGG_VERSION}.dist-info/RECORD +lib/python${MODPY_VERSION}/site-packages/jaraco.context-${MODPY_EGG_VERSION}.dist-info/WHEEL +lib/python${MODPY_VERSION}/site-packages/jaraco.context-${MODPY_EGG_VERSION}.dist-info/top_level.txt +${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/jaraco/${MODPY_PYCACHE}/ +lib/python${MODPY_VERSION}/site-packages/jaraco/${MODPY_PYCACHE}context.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION} +lib/python${MODPY_VERSION}/site-packages/jaraco/${MODPY_PYCACHE}context.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/jaraco/context.py