14
0
forked from pool/python-textX

- 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
This commit is contained in:
Sebastian Wagner
2025-05-13 06:49:23 +00:00
committed by Git OBS Bridge
parent bf8fa1e8a1
commit 9aca68299f
4 changed files with 22 additions and 6 deletions

View File

@@ -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