From nobody Mon Sep 30 13:41:16 2024 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 4XHMfj5GMcz5YJ7f; Mon, 30 Sep 2024 13:41:17 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XHMfj0gVxz4X86; Mon, 30 Sep 2024 13:41:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727703677; 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=RPe/NA6kXlGjcvUrgikX7E3Z+OgGUyPcf7pbGbxcpc0=; b=r+/aLXf/iOYW4cEolSg3oiNLNsPH5YA03bAl4FqTQ0KP/12XsMq27T/8zJ+Fhwf1G6Ayi3 Y3DGVUck+RU4x+8PygaiBLnTA1106k3hMuA9B38AMvk2T2guOQvSdouvxwkbSV2OmCDa3/ Dru3pqfupEa1Y6kN1MvNy7dKGsbq19lGooKqYeXq7PDhAsxwB4waD74B9DIW/9rHY9dgJD /DwY9OUck/0JnaJRwepuqXQSX84DtPF3uI+hVNQ/xq4OwZwH/Cuzy3qcY+PpQFU2aHLlQ4 RsaEtln5bHYiwwx+8WHYN2iZFG+OwUO0ev3JA+qAskUqZzx1ZEPwEOqbioaZeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727703677; 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=RPe/NA6kXlGjcvUrgikX7E3Z+OgGUyPcf7pbGbxcpc0=; b=H1B8NYl2bxKLSJltprAMaStsNptfN34aHJY9i2MH3qRSDYzrjbJS7EfiH8A5gdJSScAOX5 7pRlyH0yax5ig/GyytFRaIXa97ZVJr1rS+e6UVKz6VARgcOJ5ush1doJFi2lNbqjnJcJ4x Xfvqp9/EhxO4uGh/H23OYz+6dyFTX91lBwXwEeGa2U/OKyxpTOi5QV5JoOVD4dy+fggC0k AoMFxGQowxwLzxF5T5n7e4K4AZdbVn41lG7izt52uMIojjU1S+oL0boQJ+SoZ6+kJZHJAS VEDSdOLtaxrY8J1JPIzx9yXaVc+t28J/2wAXlj+vG7zVT+HzM3e/sW52H3Ln3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727703677; a=rsa-sha256; cv=none; b=bbB9NnfXGSS3gKPT3ldlZQ6YNEYJ04VGl0sWI+bDnKuhwbAjbLdqCnIN1TDq6KTcArkIva +XY6ZQP84/DeJVpXKGnYRyfVVUCPBqLx+9tK+uoYg/CqrrUEIt6NLXua1JL9HUh9AbmgIF erZumMdI8pHm97D6Yv6nmzNIA+pjGwjuEs5Br3y+lYtLElMZrvxnZjnkiwCX8T+oltWwvl Pd7xll6roBYtqoGaOvJofS27O4wIR9L9ZDEmDTyIkj0iA5Z2JWiN7ybQCEjEPRLzYu+zWg +mdw7/Jn2KnkNBsEaUdZC4tFvwSLed2PDyM1nezFCWJo/GBaXPXtbD+UuKOiKw== 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 4XHMfj0HPFzvfP; Mon, 30 Sep 2024 13:41:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48UDfGBl010216; Mon, 30 Sep 2024 13:41:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48UDfGtK010213; Mon, 30 Sep 2024 13:41:16 GMT (envelope-from git) Date: Mon, 30 Sep 2024 13:41:16 GMT Message-Id: <202409301341.48UDfGtK010213@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: 029625db0669 - main - devel/py-pprintpp: Add py-pprintpp 0.4.0 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: 029625db0669b1275010bd646e4f04618a833954 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=029625db0669b1275010bd646e4f04618a833954 commit 029625db0669b1275010bd646e4f04618a833954 Author: Po-Chuan Hsieh AuthorDate: 2024-09-30 12:43:25 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-09-30 13:36:21 +0000 devel/py-pprintpp: Add py-pprintpp 0.4.0 pprint++ is a drop-in replacement for pprint that's actually pretty. --- devel/Makefile | 1 + devel/py-pprintpp/Makefile | 22 ++++++++++++++++++++++ devel/py-pprintpp/distinfo | 3 +++ devel/py-pprintpp/files/patch-setup.py | 11 +++++++++++ devel/py-pprintpp/pkg-descr | 1 + 5 files changed, 38 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 0fdb045e19a5..54801feb46de 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5420,6 +5420,7 @@ SUBDIR += py-pox SUBDIR += py-poyo SUBDIR += py-ppft + SUBDIR += py-pprintpp SUBDIR += py-prance SUBDIR += py-pre-commit SUBDIR += py-pre-commit-hooks diff --git a/devel/py-pprintpp/Makefile b/devel/py-pprintpp/Makefile new file mode 100644 index 000000000000..10040b8ca8b5 --- /dev/null +++ b/devel/py-pprintpp/Makefile @@ -0,0 +1,22 @@ +PORTNAME= pprintpp +PORTVERSION= 0.4.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Drop-in replacement for pprint that's actually pretty +WWW= https://github.com/wolever/pprintpp + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-pprintpp/distinfo b/devel/py-pprintpp/distinfo new file mode 100644 index 000000000000..c0cf4d8cf162 --- /dev/null +++ b/devel/py-pprintpp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1727314490 +SHA256 (pprintpp-0.4.0.tar.gz) = ea826108e2c7f49dc6d66c752973c3fc9749142a798d6b254e1e301cfdbc6403 +SIZE (pprintpp-0.4.0.tar.gz) = 17995 diff --git a/devel/py-pprintpp/files/patch-setup.py b/devel/py-pprintpp/files/patch-setup.py new file mode 100644 index 000000000000..557b5fe3e6c3 --- /dev/null +++ b/devel/py-pprintpp/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2018-07-01 01:42:25 UTC ++++ setup.py +@@ -8,7 +8,7 @@ try: + os.chdir(os.path.dirname(sys.argv[0]) or ".") + + try: +- long_description = open("README.rst", "U").read() ++ long_description = open("README.rst", "r", encoding="UTF-8").read() + except IOError: + long_description = "See https://github.com/wolever/pprintpp" + diff --git a/devel/py-pprintpp/pkg-descr b/devel/py-pprintpp/pkg-descr new file mode 100644 index 000000000000..ef6f5f6659c4 --- /dev/null +++ b/devel/py-pprintpp/pkg-descr @@ -0,0 +1 @@ +pprint++ is a drop-in replacement for pprint that's actually pretty.