Date: Sat, 23 Apr 2022 15:45:12 GMT From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 7f27c7e0fb14 - main - devel/py-colored-traceback: Add new port Message-ID: <202204231545.23NFjCSN055748@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=7f27c7e0fb14e8f02ac6e40e13a2c1224a3fd7a6 commit 7f27c7e0fb14e8f02ac6e40e13a2c1224a3fd7a6 Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2022-04-23 15:44:17 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2022-04-23 15:44:17 +0000 devel/py-colored-traceback: Add new port Automatically color Python's uncaught exception tracebacks. This one's for anybody who's ever struggled to read python's stacktraces on the terminal. Something about the two-lines-per-frame approach really just makes them tough to scan visually. WWW: https://pypi.org/project/colored-traceback/ --- devel/Makefile | 1 + devel/py-colored-traceback/Makefile | 19 +++++++++++++++++++ devel/py-colored-traceback/distinfo | 3 +++ devel/py-colored-traceback/pkg-descr | 7 +++++++ 4 files changed, 30 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 632b0d1fd014..f105d2ab7333 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4378,6 +4378,7 @@ SUBDIR += py-cog SUBDIR += py-collective.monkeypatcher SUBDIR += py-colorama + SUBDIR += py-colored-traceback SUBDIR += py-coloredlogs SUBDIR += py-colorful SUBDIR += py-colorlog diff --git a/devel/py-colored-traceback/Makefile b/devel/py-colored-traceback/Makefile new file mode 100644 index 000000000000..8b7824f16e13 --- /dev/null +++ b/devel/py-colored-traceback/Makefile @@ -0,0 +1,19 @@ +# Created by: Emanuel Haupt <ehaupt@FreeBSD.org> + +PORTNAME= colored-traceback +PORTVERSION= 0.3.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Automatically color Python’s uncaught exception tracebacks + +LICENSE= ISCL + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +.include <bsd.port.mk> diff --git a/devel/py-colored-traceback/distinfo b/devel/py-colored-traceback/distinfo new file mode 100644 index 000000000000..370487202197 --- /dev/null +++ b/devel/py-colored-traceback/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1649850765 +SHA256 (colored-traceback-0.3.0.tar.gz) = 6da7ce2b1da869f6bb54c927b415b95727c4bb6d9a84c4615ea77d9872911b05 +SIZE (colored-traceback-0.3.0.tar.gz) = 3837 diff --git a/devel/py-colored-traceback/pkg-descr b/devel/py-colored-traceback/pkg-descr new file mode 100644 index 000000000000..39c5c86c880b --- /dev/null +++ b/devel/py-colored-traceback/pkg-descr @@ -0,0 +1,7 @@ +Automatically color Python's uncaught exception tracebacks. + +This one's for anybody who's ever struggled to read python's stacktraces +on the terminal. Something about the two-lines-per-frame approach really +just makes them tough to scan visually. + +WWW: https://pypi.org/project/colored-traceback/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204231545.23NFjCSN055748>