git: d3c040225bdf - main - devel/py-printree: New port: Pretty print python objects in a tree format

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 16 May 2024 19:02:40 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d3c040225bdf47841dd52c4d6678f7c8742aaa56

commit d3c040225bdf47841dd52c4d6678f7c8742aaa56
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-16 19:02:10 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-16 19:02:38 +0000

    devel/py-printree: New port: Pretty print python objects in a tree format
---
 devel/Makefile              |  1 +
 devel/py-printree/Makefile  | 21 +++++++++++++++++++++
 devel/py-printree/distinfo  |  3 +++
 devel/py-printree/pkg-descr |  1 +
 4 files changed, 26 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 7d3aa9651cb6..e8dfac1688fb 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5316,6 +5316,7 @@
     SUBDIR += py-prettyprinter
     SUBDIR += py-prettytable
     SUBDIR += py-prettytable0
+    SUBDIR += py-printree
     SUBDIR += py-process-tests
     SUBDIR += py-proglog
     SUBDIR += py-progress
diff --git a/devel/py-printree/Makefile b/devel/py-printree/Makefile
new file mode 100644
index 000000000000..ec97740e6763
--- /dev/null
+++ b/devel/py-printree/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	printree
+DISTVERSION=	0.2.0
+CATEGORIES=	devel science
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Pretty print python objects in a tree format
+WWW=		https://github.com/chrizzFTD/printree
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-printree/distinfo b/devel/py-printree/distinfo
new file mode 100644
index 000000000000..f957c9963ff7
--- /dev/null
+++ b/devel/py-printree/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1715885773
+SHA256 (printree-0.2.0.tar.gz) = 36924fd545c1e197914ce8318a9c7c2b67b6258e381fe9935a40149ed885f588
+SIZE (printree-0.2.0.tar.gz) = 7958
diff --git a/devel/py-printree/pkg-descr b/devel/py-printree/pkg-descr
new file mode 100644
index 000000000000..8f2c10854779
--- /dev/null
+++ b/devel/py-printree/pkg-descr
@@ -0,0 +1 @@
+Tree-like formatting for arbitrary python data structures.