From nobody Mon Jan 1 23:43:24 2024 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 4T3sxT2Cbqz55sSW; Mon, 1 Jan 2024 23:43:25 +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 4T3sxT0VKZz4ffH; Mon, 1 Jan 2024 23:43:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704152605; 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=sI1lDPryxqe+gHaNx94Y99kVmMJuWVgYgfFkRUzpCHs=; b=poWrUpjmYZdjEI45/JmrkdCNjzFBQcWi0KMTGR0DYqAh+oJ8gdiuu3ekC3mrwEgAeidhst BUZrG49434YrY0msWmGg7ItaHkwdkYcwk8ZOQQuzjFPZtY2jkSeixtp3oFxBbNMM1UKAKH SklweIT7xjGO8we27wDszKSSFOBH1xlsdW15Uu4jTFtlMtc5bGGHOKW3X6DUFbnyL5hvas Tj+kdUMzy/FWCwuMhmco5+UoVEbmUV3s6IDCvgR70yED3ba+E5NWKCjjHlOpNPXUq4Lwm4 3tG6uKa6L3TeS7ZKe+16eisXmUhKkf26Q9bpFweJPQMRMgs5hwUage8gZ1gczg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704152605; a=rsa-sha256; cv=none; b=mO1UsN3JfDEsAokYqKx/2tL1LkKbnRF77c8tNOXfxl++b9twO+dPuadYqcy0DszqSHSsOi 5P22MFt6IB7amgQAWj2tznjfGKb5rK0M4agFRi8XaAXYWz6oJ1XVv9ptkF9w5XTHExw5AE IcCVUxd/3mQBPAICU4twykk2dHcgCoUx+HhHv895EYzuZiEps7Jk1vk/J/5QYS6gmCyvvR xNVp+koMMLqmJtxnsrGqSrWylA+GER9ycpi2RkQtPnzqgV1So7rzRMbkz1iSG3Ie+Iz8XC 8ZuyTdLkPf5uyMzLQYOGFVEYVxEkLMglb+C0VY45ahxd9zN1hTrxA9j23Ciehg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704152605; 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=sI1lDPryxqe+gHaNx94Y99kVmMJuWVgYgfFkRUzpCHs=; b=i5fOPZ+7cFbvHpQ6LhyfbYqZIVHEz5G3ieQFv3LSMIpjnP+6CIbAnTxbDoCsEAVs6oQaNh qONPtFGQKQCbV4BWacb1FsOgKM0qJ7XfppKOCrCci/USEtXPonUU8bcTOyHM5QOZDldAp8 GFOwlsjyonMVd63hWlfOe2CPCf/1zRtZrkG559k1aLaCtmNUCP4Ai1HyZse9sgg9ovy3xF SG3LevInAJF1vVFVtSOJu8FTsbWOoHHOE/1uOtMDdQaSV5bD1GC7pIUGhhYhxcgqlgcEjN QnlJrbBE1dwJkPGP7Tsjm3QUJA5WTXC3Hmm4zePRuS6mRuZL+CaXFOTd+EwTgw== 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 4T3sxS6kDqzdS7; Mon, 1 Jan 2024 23:43:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 401NhO9E099832; Mon, 1 Jan 2024 23:43:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 401NhOEB099829; Mon, 1 Jan 2024 23:43:24 GMT (envelope-from git) Date: Mon, 1 Jan 2024 23:43:24 GMT Message-Id: <202401012343.401NhOEB099829@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 57185ef9a619 - main - textproc/py-ansiwrap: New port: Textwrap, but savvy to ANSI colors and styles 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 57185ef9a619e47eb830fa950917bd60f7f3f922 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=57185ef9a619e47eb830fa950917bd60f7f3f922 commit 57185ef9a619e47eb830fa950917bd60f7f3f922 Author: Yuri Victorovich AuthorDate: 2024-01-01 20:39:41 +0000 Commit: Yuri Victorovich CommitDate: 2024-01-01 23:43:15 +0000 textproc/py-ansiwrap: New port: Textwrap, but savvy to ANSI colors and styles --- textproc/Makefile | 1 + textproc/py-ansiwrap/Makefile | 24 ++++++++++++++++++++++++ textproc/py-ansiwrap/distinfo | 3 +++ textproc/py-ansiwrap/pkg-descr | 2 ++ 4 files changed, 30 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 83b074d9ae58..d9db352bbc8d 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1299,6 +1299,7 @@ SUBDIR += py-alabaster SUBDIR += py-ansi2html SUBDIR += py-ansicolors + SUBDIR += py-ansiwrap SUBDIR += py-anyascii SUBDIR += py-arabic-reshaper SUBDIR += py-asciinema diff --git a/textproc/py-ansiwrap/Makefile b/textproc/py-ansiwrap/Makefile new file mode 100644 index 000000000000..be99387c1eef --- /dev/null +++ b/textproc/py-ansiwrap/Makefile @@ -0,0 +1,24 @@ +PORTNAME= ansiwrap +DISTVERSION= 0.8.4 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Textwrap, but savvy to ANSI colors and styles +WWW= https://github.com/jonathaneunice/ansiwrap + +LICENSE= APACHE20 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}textwrap3>=0.9.2:textproc/py-textwrap3@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ansicolors>=1.1.8:textproc/py-ansicolors@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tox>=0:devel/py-tox@${PY_FLAVOR} + +USES= python zip +USE_PYTHON= distutils autoplist pytest + +NO_ARCH= yes + +.include diff --git a/textproc/py-ansiwrap/distinfo b/textproc/py-ansiwrap/distinfo new file mode 100644 index 000000000000..63ebdba83fca --- /dev/null +++ b/textproc/py-ansiwrap/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1704138692 +SHA256 (ansiwrap-0.8.4.zip) = ca0c740734cde59bf919f8ff2c386f74f9a369818cdc60efe94893d01ea8d9b7 +SIZE (ansiwrap-0.8.4.zip) = 17666 diff --git a/textproc/py-ansiwrap/pkg-descr b/textproc/py-ansiwrap/pkg-descr new file mode 100644 index 000000000000..9bb15d8150c2 --- /dev/null +++ b/textproc/py-ansiwrap/pkg-descr @@ -0,0 +1,2 @@ +ansiwrap wraps text, like the standard textwrap module. But it also correctly +wraps text that contains ANSI control sequences that colorize or style text.