diff options
Diffstat (limited to 'devel/py-tblib')
| -rw-r--r-- | devel/py-tblib/Makefile | 15 | ||||
| -rw-r--r-- | devel/py-tblib/distinfo | 6 | ||||
| -rw-r--r-- | devel/py-tblib/files/patch-pyproject.toml | 20 | ||||
| -rw-r--r-- | devel/py-tblib/pkg-descr | 21 | 
4 files changed, 48 insertions, 14 deletions
| diff --git a/devel/py-tblib/Makefile b/devel/py-tblib/Makefile index be93f9a6699b..82086f443e84 100644 --- a/devel/py-tblib/Makefile +++ b/devel/py-tblib/Makefile @@ -1,19 +1,22 @@  PORTNAME=	tblib -PORTVERSION=	1.7.0 -PORTREVISION=	1 +PORTVERSION=	3.2.0  CATEGORIES=	devel python  MASTER_SITES=	PYPI  PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX} -MAINTAINER=	dbaio@FreeBSD.org -COMMENT=	Traceback serialization library in Python -WWW=		https://pypi.org/project/tblib/ +MAINTAINER=	sunpoet@FreeBSD.org +COMMENT=	Traceback serialization library +WWW=		https://python-tblib.readthedocs.io/en/latest/ \ +		https://github.com/ionelmc/python-tblib  LICENSE=	BSD2CLAUSE  LICENSE_FILE=	${WRKSRC}/LICENSE +BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ +		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +  USES=		python -USE_PYTHON=	autoplist distutils +USE_PYTHON=	autoplist concurrent pep517  NO_ARCH=	yes diff --git a/devel/py-tblib/distinfo b/devel/py-tblib/distinfo index d2c09980689f..bf0e54d7b0e3 100644 --- a/devel/py-tblib/distinfo +++ b/devel/py-tblib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1596305987 -SHA256 (tblib-1.7.0.tar.gz) = 059bd77306ea7b419d4f76016aef6d7027cc8a0785579b5aad198803435f882c -SIZE (tblib-1.7.0.tar.gz) = 33074 +TIMESTAMP = 1761578096 +SHA256 (tblib-3.2.0.tar.gz) = 62ae1b8808cfd7c1c15b871d4022abb46188c49d21ace87a02a88707dc7aa1b1 +SIZE (tblib-3.2.0.tar.gz) = 33384 diff --git a/devel/py-tblib/files/patch-pyproject.toml b/devel/py-tblib/files/patch-pyproject.toml new file mode 100644 index 000000000000..90192992f42c --- /dev/null +++ b/devel/py-tblib/files/patch-pyproject.toml @@ -0,0 +1,20 @@ +--- pyproject.toml.orig	2025-10-21 08:22:05 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ requires = [ + [build-system] + requires = [ +-    "setuptools>=80", ++    "setuptools>=61", + ] + build-backend = "setuptools.build_meta" +  +@@ -10,8 +10,7 @@ version = "3.2.0" + ] + name = "tblib" + version = "3.2.0" +-license = "BSD-2-Clause" +-license-files = ["LICENSE"] ++license = {text = "BSD-2-Clause"} + description = "Traceback serialization library." + authors = [ +     { name = "Ionel Cristian Mărieș", email = "contact@ionelmc.ro" }, diff --git a/devel/py-tblib/pkg-descr b/devel/py-tblib/pkg-descr index b2b23b7c681f..5d6a1ca95ad9 100644 --- a/devel/py-tblib/pkg-descr +++ b/devel/py-tblib/pkg-descr @@ -1,5 +1,16 @@ -Pickle tracebacks and raise exceptions with pickled tracebacks in -different processes. This allows better error handling when running -code over multiple processes (imagine multiprocessing, billiard, -futures, celery etc). -Parse traceback strings and raise with the parsed tracebacks. +Serialization library for Exceptions and Tracebacks. + +It allows you to: +- Pickle tracebacks and raise exceptions with pickled tracebacks in different +  processes. This allows better error handling when running code over multiple +  processes (imagine multiprocessing, billiard, futures, celery etc). +- Create traceback objects from strings (the from_string method). No pickling is +  used. +- Serialize tracebacks to/from plain dicts (the from_dict and to_dict methods). +  No pickling is used. +- Raise the tracebacks created from the aforementioned sources. +- Pickle an Exception together with its traceback and exception chain (raise ... +  from ...) (Python 3 only) + +Again, note that using the pickle support is completely optional. You are solely +responsible for security problems should you decide to use the pickle support. | 
