From nobody Tue Jan 11 18:55:48 2022 X-Original-To: dev-commits-ports-main@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 398161950C3D; Tue, 11 Jan 2022 18:55:55 +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 4JYKf02gsQz4gV5; Tue, 11 Jan 2022 18:55:52 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 D2B2B1E640; Tue, 11 Jan 2022 18:55:48 +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 20BItmhY064595; Tue, 11 Jan 2022 18:55:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20BItmdL064593; Tue, 11 Jan 2022 18:55:48 GMT (envelope-from git) Date: Tue, 11 Jan 2022 18:55:48 GMT Message-Id: <202201111855.20BItmdL064593@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 1f5040115670 - main - textproc/py-ttp: Update to 0.8.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1f5040115670861c17fd14408eddcb224e51650c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641927353; 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=trmyp5ypIuQ37Suc/6gdAb9AxXp2cjf4aRVOSMqx0tg=; b=jacY5Sbzh70COuROXuzXoBgIi53WJdJmV6sOL20uQBL+er4IURm4XCgAtruvCe1zx3W5Yy xUmYTSwil+5IftB48yPrM+atL3fDhMqWT9Uf51aNz5R7+XPcl9zO6VudfoQaFN1NgNmxVy 6HrKb7J5g4Z/DzVDORHkNP2rDUpA0PuNsc7CdpWfIMBwH57RRG1JrZJLFuO4TEhsaX7DEr stjW2jYnkryp7001WIpNLsdZTGuHXPPvpM2ifU/mp4ZJPKO/bn/pQ0+d3V40oy85mtXuqV cEpiilp6UnKQFNTdInim/K5rpovlC7T7M4pik7Ck3gCKOujemfvgVWNWuhK44g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641927353; a=rsa-sha256; cv=none; b=pnMdLhW9DHfkDwTOiRJ38UP9o/O0p/q+oaeGJx1/kb6Ob77X3jT8ii6b9TNR5YL+vCdBw8 c0deK9PLZGQSnjCqYjzzLY6NpWxEAau4AWmSvoJxJLrUpka3tZC62UaK9p7I/a19DmciXT tjd10lhgM4p+Mo+T8qOyUjTySjHF3AHyhHF0Dy6b2JwMbQryxFDcE/6t3wvnyHG+CLAxhH iblY+oPUR7kas6LV/i1CaQ1mnfKujRox0rOLfoqdYBn4sIbZg5H/41/dPDLnIiyD56AnCl hP2jT8TFkGZn4haQz9ugVTOmVZzTmllNBBK5njiJhOd3mt3p6cFnOoxXkpdsdg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1f5040115670861c17fd14408eddcb224e51650c commit 1f5040115670861c17fd14408eddcb224e51650c Author: Po-Chuan Hsieh AuthorDate: 2022-01-11 17:17:53 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-01-11 18:44:44 +0000 textproc/py-ttp: Update to 0.8.2 Changes: https://github.com/dmulyalin/ttp/releases --- textproc/py-ttp/Makefile | 2 +- textproc/py-ttp/distinfo | 6 +++--- textproc/py-ttp/files/patch-ttp-returners-terminal_returner.py | 8 +++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/textproc/py-ttp/Makefile b/textproc/py-ttp/Makefile index cfd65b516f55..192cd3974b83 100644 --- a/textproc/py-ttp/Makefile +++ b/textproc/py-ttp/Makefile @@ -1,7 +1,7 @@ # Created by: Po-Chuan Hsieh PORTNAME= ttp -PORTVERSION= 0.8.1 +PORTVERSION= 0.8.2 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/textproc/py-ttp/distinfo b/textproc/py-ttp/distinfo index 4a6526f5e5e0..8ced61373398 100644 --- a/textproc/py-ttp/distinfo +++ b/textproc/py-ttp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1635181103 -SHA256 (ttp-0.8.1.tar.gz) = 33ceea28919c4e15c47e22b221569469b94c76475bd144ff19ac62fd9bd506ca -SIZE (ttp-0.8.1.tar.gz) = 66121 +TIMESTAMP = 1641046014 +SHA256 (ttp-0.8.2.tar.gz) = a3d8819d108f9bea8d79f46aa95dc4fcc13b7db488d2a2e7899a07c50e39617f +SIZE (ttp-0.8.2.tar.gz) = 66718 diff --git a/textproc/py-ttp/files/patch-ttp-returners-terminal_returner.py b/textproc/py-ttp/files/patch-ttp-returners-terminal_returner.py index e31a2489471c..83a1840c56d1 100644 --- a/textproc/py-ttp/files/patch-ttp-returners-terminal_returner.py +++ b/textproc/py-ttp/files/patch-ttp-returners-terminal_returner.py @@ -1,12 +1,14 @@ ---- ttp/returners/terminal_returner.py.orig 2020-10-29 23:14:41 UTC +--- ttp/returners/terminal_returner.py.orig 2021-12-17 23:00:10 UTC +++ ttp/returners/terminal_returner.py -@@ -33,12 +33,12 @@ def terminal_returner(data, **kwargs): +@@ -33,14 +33,14 @@ def terminal_returner(data, **kwargs): for yeallow_word in yeallow_words: data = data.replace(yeallow_word, fttr.format(Y, yeallow_word, N)) # print output - if _ttp_["python_major_version"] is 2: + if _ttp_["python_major_version"] == 2: - if isinstance(data, str) or isinstance(data, unicode): + if isinstance(data, str) or isinstance( + data, unicode + ): # pylint: disable=undefined-variable print(data) else: print(str(data).replace("\\n", "\n"))