Date: Sat, 11 Apr 2026 07:21:18 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 2a8886aa64fe - main - lang/py-textX: update 3.1=?utf-8?Q?=2E1 =E2=86=92 4?=.3.0 Message-ID: <69d9f66e.398ab.18625447@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2a8886aa64fe98fa422a2898206dd9d71561c79a commit 2a8886aa64fe98fa422a2898206dd9d71561c79a Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-04-11 06:53:37 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-04-11 07:21:07 +0000 lang/py-textX: update 3.1.1 → 4.3.0 --- lang/py-textX/Makefile | 42 ++++++++++++++++++++++++++++++++++-------- lang/py-textX/distinfo | 6 +++--- 2 files changed, 37 insertions(+), 11 deletions(-) diff --git a/lang/py-textX/Makefile b/lang/py-textX/Makefile index 1c19486b5022..41eee4e7c12c 100644 --- a/lang/py-textX/Makefile +++ b/lang/py-textX/Makefile @@ -1,26 +1,52 @@ -PORTNAME= textX -PORTVERSION= 3.1.1 -PORTREVISION= 1 +PORTNAME= textx +DISTVERSION= 4.3.0 CATEGORIES= lang python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Meta-language for DSL implementation inspired by Xtext -WWW= https://textx.github.io/textX/stable/ +WWW= https://textx.github.io/textX/ \ + https://github.com/textX/textX/ LICENSE= MIT -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.8.0:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arpeggio>=2.0.0:devel/py-arpeggio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=7.0:devel/py-click@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}memory-profiler>0:devel/py-memory-profiler@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}memory-profiler>0:devel/py-memory-profiler@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist concurrent pytest # 25 tests fails, see https://github.com/textX/textX/issues/394 +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_ENV= ${MAKE_ENV} \ + PATH=${STAGEDIR}${PREFIX}/bin:${WRKDIR}/test-prefix${PREFIX}/bin:${PATH} \ + PWD=${WRKSRC} \ + PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ + PYTHONNOUSERSITE=1 \ + PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}:${WRKDIR}/test-prefix${PYTHON_SITELIBDIR} + +do-test: + @${MKDIR} ${WRKDIR}/test-dist ${WRKDIR}/test-prefix + @cd ${WRKSRC} && \ + for project in \ + ./tests/functional/registration/projects/types_dsl \ + ./tests/functional/registration/projects/flow_dsl \ + ./tests/functional/registration/projects/flow_codegen \ + ./tests/functional/registration/projects/data_dsl \ + ./tests/functional/subcommands/example_project; do \ + ${SETENV} ${MAKE_ENV} PYTHONNOUSERSITE=1 ${PYTHON_CMD} -m build \ + --wheel --no-isolation --outdir ${WRKDIR}/test-dist $$project; \ + done + @for wheel in ${WRKDIR}/test-dist/*.whl; do \ + ${PYTHON_CMD} -m installer --destdir ${WRKDIR}/test-prefix \ + --prefix ${PREFIX} $$wheel; \ + done + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs tests/functional + +# tests as of 4.3.0: 339 passed in 1.83s .include <bsd.port.mk> diff --git a/lang/py-textX/distinfo b/lang/py-textX/distinfo index 3bbc32a3fb12..daf33dc8e339 100644 --- a/lang/py-textX/distinfo +++ b/lang/py-textX/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1676046888 -SHA256 (textX-3.1.1.tar.gz) = e2fb7d090ea4a71f8bf2f0303770275c42a5f73854b4e7f6adfcdbe368fab0fa -SIZE (textX-3.1.1.tar.gz) = 1830865 +TIMESTAMP = 1775885254 +SHA256 (textx-4.3.0.tar.gz) = 0facac8029ad124ef21e5838dd8eb67f10129efcee96ea3548f5fd62428a9880 +SIZE (textx-4.3.0.tar.gz) = 2224357home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d9f66e.398ab.18625447>
