From nobody Sat Apr 23 15:45:12 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D234719915B4; Sat, 23 Apr 2022 15:45:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KlwZw5Yv1z3Hld; Sat, 23 Apr 2022 15:45:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650728712; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UslmC1m4RA8NoJfymbjRFvBBe3dgP6U8fIoVekEjvpI=; b=FScBiuthZFHbWpCrbB+UWj2sNQGEaZSRsGgZYDS61lgbJrqUA/N29o64nfHY4bfmA7pfWV ruoh3MkgUSa3+jfzb7WKlsXoiMBNwOsBg/MAlSUKXpGQJJb31pW9/+WTTXm2Hdcc5R6tVp dGXyodFUps4Zdu1MkWSc/a/g+PV5v2Rp/fnHSU5TXW65D3Y1QpcA2NDQEHQwrbHgCpeCvs JiykjBXWH5c2znOYKHY6P92m+Xg+nFf/9p8mIXnND5h1dEtrkVcmHHxLy2QG30lC6nsFE6 n1OTxk5ZjByIf1P4B2OJQu0dKUAEvufYrzV9rT5bfETmsYSMQ/5GYv8CTon3vQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 947DA14923; Sat, 23 Apr 2022 15:45:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23NFjCZp055749; Sat, 23 Apr 2022 15:45:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23NFjCSN055748; Sat, 23 Apr 2022 15:45:12 GMT (envelope-from git) Date: Sat, 23 Apr 2022 15:45:12 GMT Message-Id: <202204231545.23NFjCSN055748@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: 7f27c7e0fb14 - main - devel/py-colored-traceback: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7f27c7e0fb14e8f02ac6e40e13a2c1224a3fd7a6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650728712; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UslmC1m4RA8NoJfymbjRFvBBe3dgP6U8fIoVekEjvpI=; b=RHH6RjXwcW4FC6wSKj2bFvzB+hQEEMygL8uyGpC7KOnxsdqxS4d171bp3KOfZaWob9sg4R PaPNJuiXlWWJvPFnH8QegBq59OaecVWuYPHtJT3fo109aEOyS4EagP5p9vSXG+K9mEbN3P vayaIwZD21dO9uiCegmfGoXSoU4culZE03kU6WECwCRMWMQCD9Kt6HvJXR+4EdeB4hd+1m Nxtfhz8d8bDaWZscMIt2N31x7iI1JsukOD3J4/68od/tymDMoTnL+klJip5nipivOZ96P0 F2G1yGxTh5g0mY+OzIvSlyMDDSBLQXQSqR94irMtGpAyrCRtbgzYTkgEFLo+eQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650728712; a=rsa-sha256; cv=none; b=TC7OVLNTKmt4hz3QknV70bbt8WaybaO5mJOhK6ulc5CxLp0W1nD2516F6NnI0tYaq/drtU 1Fxa2pmepncI16GYh10ERDJ76pwozJOuFg6sutNPrYNlWZvkQPu+pRZx3PMiVg7BLRWMYY +hBRB974uJg+NEnceyhfD4FUTzIWQmuun7ICuswPhUb2Yj9MOFio6TNWVIGHUzYdApZ3S/ ZMc0SDku4+R+BrRs1QfSHo9UWff4ef0puiV77oE/QrC87kw3EQSZTsCCkzplf7N4bugZsc RNPHuMCxI2jVNiqZFAk/IL6GiCJJCJewyjMBcWpCq5jojvlZbBaroaWj/9RP9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=7f27c7e0fb14e8f02ac6e40e13a2c1224a3fd7a6 commit 7f27c7e0fb14e8f02ac6e40e13a2c1224a3fd7a6 Author: Emanuel Haupt AuthorDate: 2022-04-23 15:44:17 +0000 Commit: Emanuel Haupt 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 + +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 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/