From 9aca68299fcb1534b916d288eca35251755f45e8d3eb39f71460d28c799b7c1f Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 13 May 2025 06:49:23 +0000 Subject: [PATCH] - limit check to tests/functional as upstream does - update to version 4.2.2: - Fixed: - tests for subcommands. Click 8.2.0 now returns exit code 2 when command is not correct. See [433]. - update to version 4.2.1: - Fixed: - regression where textx generate/check command didn't report location info. - removed encoding of unicode strings in textx exceptions. - update to version 4.2.0: - Changed: - Moved from click.echo to logging. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=45 --- python-textX-4.1.0.tar.gz | 3 --- python-textX-4.2.2.tar.gz | 3 +++ python-textX.changes | 16 ++++++++++++++++ python-textX.spec | 6 +++--- 4 files changed, 22 insertions(+), 6 deletions(-) delete mode 100644 python-textX-4.1.0.tar.gz create mode 100644 python-textX-4.2.2.tar.gz diff --git a/python-textX-4.1.0.tar.gz b/python-textX-4.1.0.tar.gz deleted file mode 100644 index aa9df08..0000000 --- a/python-textX-4.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3d4c691880d0c03553ce4a69db40668d099c7272c08e933472a3503b08bd1632 -size 2136599 diff --git a/python-textX-4.2.2.tar.gz b/python-textX-4.2.2.tar.gz new file mode 100644 index 0000000..477e088 --- /dev/null +++ b/python-textX-4.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7849fd40be757115a8f4c71fb80d349d1058f97a23599dd34a618a3776c628ea +size 2136825 diff --git a/python-textX.changes b/python-textX.changes index 6f2fa8d..6c8043f 100644 --- a/python-textX.changes +++ b/python-textX.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue May 13 06:47:45 UTC 2025 - Sebastian Wagner + +- limit check to tests/functional as upstream does +- update to version 4.2.2: + - Fixed: + - tests for subcommands. Click 8.2.0 now returns exit code 2 when command is not + correct. See [433]. +- update to version 4.2.1: + - Fixed: + - regression where textx generate/check command didn't report location info. + - removed encoding of unicode strings in textx exceptions. +- update to version 4.2.0: + - Changed: + - Moved from click.echo to logging. + ------------------------------------------------------------------- Tue Oct 29 20:58:24 UTC 2024 - Dirk Müller diff --git a/python-textX.spec b/python-textX.spec index 5877722..7853d41 100644 --- a/python-textX.spec +++ b/python-textX.spec @@ -1,7 +1,7 @@ # # spec file for package python-textX # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-textX -Version: 4.1.0 +Version: 4.2.2 Release: 0 Summary: Meta-language for DSL implementation inspired by Xtext License: MIT @@ -87,7 +87,7 @@ find tests/functional -name '*.whl' -exec python3 -m installer -d tmp-modules {} %check export LC_ALL=C.UTF-8 export PYTHONPATH=$(ls -1d tmp-modules/usr/lib/python3.*/site-packages) -%pytest +%pytest tests/functional %post %python_install_alternative textx