Compare commits

4 Commits

Author SHA256 Message Date
42e36e2c01 Accepting request 1277023 from devel:languages:python
- 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/request/show/1277023
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-textX?expand=0&rev=20
2025-05-13 18:07:02 +00:00
9aca68299f - 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
2025-05-13 06:49:23 +00:00
318b8c09b7 Accepting request 1219183 from devel:languages:python
- update to 4.1.0:
  * `nchar` attribute to `TextXError` class, which represents the
    substring length for the model object where the error was found.
  * `linetype` parameter to PlantUML generator which controls
    line style. See the tip in the visualization docs
  * Rendering of multiplicities of association in PlantUML
    generator.
  * Meta-model diagram export now raises attributes/references to
    abstract
  * meta-classes along the inheritance chain. See [423].
  * The Python version limit "<3.13" has been removed from the
    pyproject.toml file. The library should run on all Python
    versions starting from 3.8

  * Removed vendored `six` library. We don't need 2.x support anymore. Thanks
  - Added RREL-'fixed name'-extension, allowing to follow model elements
      [#273]). Also, using base classes for rules from imported grammars in

OBS-URL: https://build.opensuse.org/request/show/1219183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-textX?expand=0&rev=19
2024-10-30 16:36:19 +00:00
bf8fa1e8a1 - update to 4.1.0:
* `nchar` attribute to `TextXError` class, which represents the
    substring length for the model object where the error was found.
  * `linetype` parameter to PlantUML generator which controls
    line style. See the tip in the visualization docs
  * Rendering of multiplicities of association in PlantUML
    generator.
  * Meta-model diagram export now raises attributes/references to
    abstract
  * meta-classes along the inheritance chain. See [423].
  * The Python version limit "<3.13" has been removed from the
    pyproject.toml file. The library should run on all Python
    versions starting from 3.8
  * Removed vendored `six` library. We don't need 2.x support anymore. Thanks
  - Added RREL-'fixed name'-extension, allowing to follow model elements
      [#273]). Also, using base classes for rules from imported grammars in

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=43
2024-10-29 20:59:12 +00:00
4 changed files with 42 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e87ea428c22363d6d966042d2f421b3bc8bc8ae9dc1c3d0c4844bf0212b9061
size 1824450

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7849fd40be757115a8f4c71fb80d349d1058f97a23599dd34a618a3776c628ea
size 2136825

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Tue May 13 06:47:45 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
- 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 <dmueller@suse.com>
- update to 4.1.0:
* `nchar` attribute to `TextXError` class, which represents the
substring length for the model object where the error was found.
* `linetype` parameter to PlantUML generator which controls
line style. See the tip in the visualization docs
* Rendering of multiplicities of association in PlantUML
generator.
* Meta-model diagram export now raises attributes/references to
abstract
* meta-classes along the inheritance chain. See [423].
* The Python version limit "<3.13" has been removed from the
pyproject.toml file. The library should run on all Python
versions starting from 3.8
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 5 06:06:27 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com> Fri Apr 5 06:06:27 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-textX # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-textX Name: python-textX
Version: 4.0.1 Version: 4.2.2
Release: 0 Release: 0
Summary: Meta-language for DSL implementation inspired by Xtext Summary: Meta-language for DSL implementation inspired by Xtext
License: MIT License: MIT
@@ -87,7 +87,7 @@ find tests/functional -name '*.whl' -exec python3 -m installer -d tmp-modules {}
%check %check
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
export PYTHONPATH=$(ls -1d tmp-modules/usr/lib/python3.*/site-packages) export PYTHONPATH=$(ls -1d tmp-modules/usr/lib/python3.*/site-packages)
%pytest %pytest tests/functional
%post %post
%python_install_alternative textx %python_install_alternative textx