aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-07-09 02:14:49 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-07-09 05:20:15 +0000
commit20221c14e678869e962bccdf2e01ae84d26ba848 (patch)
tree8831ac72fb45622f42d7664001b3aa81a35f8f79
parent479ce2219d8833a922b9643b6a15d676c7a9a340 (diff)
math/py-apted: New port: APTED algorithm for the Tree Edit Distance
-rw-r--r--math/Makefile1
-rw-r--r--math/py-apted/Makefile21
-rw-r--r--math/py-apted/distinfo3
-rw-r--r--math/py-apted/pkg-descr4
4 files changed, 29 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 0fcbb4042b37..d67c8a9729f0 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -955,6 +955,7 @@
SUBDIR += py-animatplot-ng
SUBDIR += py-annoy
SUBDIR += py-apgl
+ SUBDIR += py-apted
SUBDIR += py-arviz
SUBDIR += py-arviz-base
SUBDIR += py-arviz-plots
diff --git a/math/py-apted/Makefile b/math/py-apted/Makefile
new file mode 100644
index 000000000000..b436e53647f3
--- /dev/null
+++ b/math/py-apted/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= apted
+PORTVERSION= 1.0.3
+CATEGORIES= math python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= APTED algorithm for the Tree Edit Distance
+WWW= https://github.com/JoaoFelipe/apted
+
+LICENSE= MIT
+
+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 <bsd.port.mk>
diff --git a/math/py-apted/distinfo b/math/py-apted/distinfo
new file mode 100644
index 000000000000..5433bc2d9295
--- /dev/null
+++ b/math/py-apted/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1783064069
+SHA256 (apted-1.0.3.tar.gz) = befa5181e2d4457fa88e54995a82604ee048bb2fbc781ea97d8e1856b4715ce9
+SIZE (apted-1.0.3.tar.gz) = 24547
diff --git a/math/py-apted/pkg-descr b/math/py-apted/pkg-descr
new file mode 100644
index 000000000000..5ce73528e53d
--- /dev/null
+++ b/math/py-apted/pkg-descr
@@ -0,0 +1,4 @@
+APTED implements the APTED (All Path Tree Edit Distance) algorithm for
+computing the tree edit distance between ordered trees. It provides an
+efficient algorithm for measuring structural similarity between
+hierarchical data representations such as document structures.