aboutsummaryrefslogtreecommitdiff
path: root/misc/py-python-pygtrie
diff options
context:
space:
mode:
Diffstat (limited to 'misc/py-python-pygtrie')
-rw-r--r--misc/py-python-pygtrie/Makefile24
-rw-r--r--misc/py-python-pygtrie/distinfo3
-rw-r--r--misc/py-python-pygtrie/pkg-descr4
3 files changed, 31 insertions, 0 deletions
diff --git a/misc/py-python-pygtrie/Makefile b/misc/py-python-pygtrie/Makefile
new file mode 100644
index 000000000000..bd1d12b1b3dd
--- /dev/null
+++ b/misc/py-python-pygtrie/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= python-pygtrie
+PORTVERSION= 2.5.0
+CATEGORIES= misc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pygtrie-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Pure Python trie data structure implementation
+WWW= https://github.com/mina86/pygtrie
+
+LICENSE= APACHE20
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} test.py
+
+# tests as of 2.5.0: 450 tests in 2.674s, OK
+
+.include <bsd.port.mk>
diff --git a/misc/py-python-pygtrie/distinfo b/misc/py-python-pygtrie/distinfo
new file mode 100644
index 000000000000..ab47e7e6d513
--- /dev/null
+++ b/misc/py-python-pygtrie/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1759556431
+SHA256 (pygtrie-2.5.0.tar.gz) = 203514ad826eb403dab1d2e2ddd034e0d1534bbe4dbe0213bb0593f66beba4e2
+SIZE (pygtrie-2.5.0.tar.gz) = 39266
diff --git a/misc/py-python-pygtrie/pkg-descr b/misc/py-python-pygtrie/pkg-descr
new file mode 100644
index 000000000000..abecc4aed868
--- /dev/null
+++ b/misc/py-python-pygtrie/pkg-descr
@@ -0,0 +1,4 @@
+A trie is a tree-like data structure whose nodes store the letters of an
+alphabet. By structuring the nodes in a particular way, words and strings
+can be retrieved from the structure by traversing down a branch path of
+the tree.