git: 5df837016dca - main - devel/py-tavalidate: new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Sep 2026 17:19:30 UTC
The branch main has been updated by michaelo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5df837016dcaa47c666e766e89c47a773b56ef82
commit 5df837016dcaa47c666e766e89c47a773b56ef82
Author: Pete Diamond <lazeraman@gmail.com>
AuthorDate: 2026-09-21 13:13:52 +0000
Commit: Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2026-09-21 17:18:54 +0000
devel/py-tavalidate: new port
Tavalidate provides helper functions for Tavern, the YAML-based API
testing tool. It adds assertions for XML responses, letting a test
compare a response against an expected document using placeholders such
as !anyint and !anystr instead of exact values.
It can also save responses to disk for later inspection.
PR: 298694
---
devel/Makefile | 1 +
devel/py-tavalidate/Makefile | 23 +++++++++++++++++++++++
devel/py-tavalidate/distinfo | 3 +++
devel/py-tavalidate/pkg-descr | 6 ++++++
4 files changed, 33 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 709bb825643f..4d3effb5e6dc 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6316,6 +6316,7 @@
SUBDIR += py-tasklib
SUBDIR += py-tatsu
SUBDIR += py-tatsu-lts
+ SUBDIR += py-tavalidate
SUBDIR += py-tavern
SUBDIR += py-tblib
SUBDIR += py-tdworkflow
diff --git a/devel/py-tavalidate/Makefile b/devel/py-tavalidate/Makefile
new file mode 100644
index 000000000000..327cd74539c3
--- /dev/null
+++ b/devel/py-tavalidate/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= tavalidate
+DISTVERSION= 0.0.6
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= lazeraman@gmail.com
+COMMENT= Utilities to validate and save Tavern responses
+WWW= https://github.com/sohoffice/tavalidate
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.0.0:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-box>=0:devel/py-python-box@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517 unittest
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-tavalidate/distinfo b/devel/py-tavalidate/distinfo
new file mode 100644
index 000000000000..7cb98d699bcf
--- /dev/null
+++ b/devel/py-tavalidate/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1789706447
+SHA256 (tavalidate-0.0.6.tar.gz) = bbf75c33e4edf1fdaa094f0e204c4771c5d1eaa309e37010a445e0826291cccc
+SIZE (tavalidate-0.0.6.tar.gz) = 4561
diff --git a/devel/py-tavalidate/pkg-descr b/devel/py-tavalidate/pkg-descr
new file mode 100644
index 000000000000..3756226f4b02
--- /dev/null
+++ b/devel/py-tavalidate/pkg-descr
@@ -0,0 +1,6 @@
+Tavalidate provides helper functions for Tavern, the YAML-based API
+testing tool. It adds assertions for XML responses, letting a test
+compare a response against an expected document using placeholders such
+as !anyint and !anystr instead of exact values.
+
+It can also save responses to disk for later inspection.