git: 0f0180796a3e - main - devel/py-cwltest: New port: Common Workflow Language testing framework
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Mar 2026 04:20:05 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0f0180796a3e7338a8a29162a7bf82c3d9c7c69b
commit 0f0180796a3e7338a8a29162a7bf82c3d9c7c69b
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-03-03 23:37:05 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-03-04 04:20:02 +0000
devel/py-cwltest: New port: Common Workflow Language testing framework
---
devel/Makefile | 1 +
devel/py-cwltest/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++
devel/py-cwltest/distinfo | 3 +++
devel/py-cwltest/pkg-descr | 2 ++
4 files changed, 47 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 9ab5791d17e8..e87c72540b7c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4778,6 +4778,7 @@
SUBDIR += py-custodian
SUBDIR += py-cvss
SUBDIR += py-cwcwidth
+ SUBDIR += py-cwltest
SUBDIR += py-cxx
SUBDIR += py-cycler
SUBDIR += py-cyclopts
diff --git a/devel/py-cwltest/Makefile b/devel/py-cwltest/Makefile
new file mode 100644
index 000000000000..6668d9c7f465
--- /dev/null
+++ b/devel/py-cwltest/Makefile
@@ -0,0 +1,41 @@
+PORTNAME= cwltest
+DISTVERSION= 2.6.20251216093331
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Common Workflow Language testing framework
+WWW= https://github.com/common-workflow-language/cwltest
+
+LICENSE= APACHE20
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8.0.4:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}schema-salad>=8.7:devel/py-schema-salad@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}junit-xml>=1.9:devel/py-junit-xml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}defusedxml>0:devel/py-defusedxml@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR}
+
+USES= python shebangfix
+USE_PYTHON= pep517 autoplist concurrent pytest
+
+SHEBANG_FILES= ${WRKSRC}/tests/test-data/mock_cwl_runner.py
+
+NO_ARCH= yes
+
+TEST_ENV= PATH="${WRKDIR}/.local/bin:${PATH}"
+# cwltool is not available as a port yet, so skip tests that require it
+TEST_ARGS= -p pytester tests/test_*.py -k "not test_plugin"
+TEST_ENV= ${MAKE_ENV} \
+ PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
+ PATH=${STAGEDIR}${PREFIX}/bin:${PATH}
+
+# tests as of 2.6.20251216093331:
+# Results (10.82s):
+# 126 passed
+# 9 deselected
+
+.include <bsd.port.mk>
diff --git a/devel/py-cwltest/distinfo b/devel/py-cwltest/distinfo
new file mode 100644
index 000000000000..7145f721fc7a
--- /dev/null
+++ b/devel/py-cwltest/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1772566408
+SHA256 (cwltest-2.6.20251216093331.tar.gz) = 77865fee9798b3be4b41c53093a3ace79f7f11a1cfda42ea2399fc2467dc7572
+SIZE (cwltest-2.6.20251216093331.tar.gz) = 73523
diff --git a/devel/py-cwltest/pkg-descr b/devel/py-cwltest/pkg-descr
new file mode 100644
index 000000000000..90fe363854de
--- /dev/null
+++ b/devel/py-cwltest/pkg-descr
@@ -0,0 +1,2 @@
+Common Workflow Language testing framework. This package provides a testing
+framework for Common Workflow Language (CWL) tools and workflows.