git: 58adde93816a - main - devel/py-itertree: New port: Python tree structure for data storage and iterations

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 23 Feb 2023 20:45:55 UTC
The branch main has been updated by yuri:

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

commit 58adde93816ac504a8542478c92313a342902f1f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-02-23 16:23:12 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-02-23 20:45:50 +0000

    devel/py-itertree: New port: Python tree structure for data storage and iterations
---
 devel/Makefile              |  1 +
 devel/py-itertree/Makefile  | 26 ++++++++++++++++++++++++++
 devel/py-itertree/distinfo  |  3 +++
 devel/py-itertree/pkg-descr |  6 ++++++
 4 files changed, 36 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 3eb45773467b..35cb112d5125 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4739,6 +4739,7 @@
     SUBDIR += py-itemadapter
     SUBDIR += py-itemloaders
     SUBDIR += py-iteration-utilities
+    SUBDIR += py-itertree
     SUBDIR += py-itypes
     SUBDIR += py-janus
     SUBDIR += py-jaraco
diff --git a/devel/py-itertree/Makefile b/devel/py-itertree/Makefile
new file mode 100644
index 000000000000..6fd6b17b1ef6
--- /dev/null
+++ b/devel/py-itertree/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	itertree
+DISTVERSION=	0.8.2
+CATEGORIES=	devel
+#MASTER_SITES=	PYPI # no tests
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Python tree structure for data storage and iterations
+WWW=		https://github.com/BR1py/itertree
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	pep517 autoplist pytest
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	BR1py
+
+NO_ARCH=	yes
+
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+.include <bsd.port.mk>
diff --git a/devel/py-itertree/distinfo b/devel/py-itertree/distinfo
new file mode 100644
index 000000000000..83bac1f5e06c
--- /dev/null
+++ b/devel/py-itertree/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1677181097
+SHA256 (BR1py-itertree-0.8.2_GH0.tar.gz) = a03f559df502799b5a301806a555e1b35c9bc398f906af55db84e49dd44db364
+SIZE (BR1py-itertree-0.8.2_GH0.tar.gz) = 349975
diff --git a/devel/py-itertree/pkg-descr b/devel/py-itertree/pkg-descr
new file mode 100644
index 000000000000..e60699fb6d47
--- /dev/null
+++ b/devel/py-itertree/pkg-descr
@@ -0,0 +1,6 @@
+itertree allows to:
+* store data in a tree like structure
+* has good performance
+* has a reach feature set especially
+* supportys serialization
+* supports links to sub-trees