forked from pool/python-textX
- update to version 3.0.0:
- Added: - Added RREL-'fixed name'-extension, allowing to follow model elements given a fixed name (e.g. an object defined in a builtin model). Details described in rrel.md ([#364]). - Added ability to access the full path of named objects traversed while resolving a RREL expression ([#304]). - Added decorator `textx.textxerror_wrap` for object processors to automatically transform non-TextXErrors to TextXErrors in order to indicate the filename and position of the element being processed ([#306]). - Fixed: - `model_param_defs` on `TextXMetaMetaModel` ([#360]). - Interpreting of backslash special chars (e.g. `\n`, `\t`) in grammar string matches ([#323]). Possible **(BIC)** - backslash chars were not interpreted in grammar files and raw Python strings prior to this fix. - Exception/error messages ([#320]) - Relaxed assert in model creation enabling some model changes in user classes ([#311]) - Model export to dot in cases where textX object is replaced in the processor([#301]) - Do not allow "empty" RREL expressions (compare unittests in `test_rrel.py`; [#355]) - Changed: - Inheritance chain calculation. Possible **(BIC)** ([#369]). - Added `def_file_name` attribute to `RefRulePosition` for storing the definition's model file name in case of cross-references between models. ([#313],[#277]) - Migrated from Travis CI to GitHub Actions ([#307]) - Dropped support for deprecated Python versions. The lowest supported version is 3.6. **(BIC)** OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=35
This commit is contained in:
committed by
Git OBS Bridge
parent
88986c68ba
commit
0a1d02a680
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-textX
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-textX
|
||||
Version: 2.3.0
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: Meta-language for DSL implementation inspired by Xtext
|
||||
License: MIT
|
||||
@@ -34,6 +34,7 @@ BuildRequires: python2-xml
|
||||
%endif
|
||||
Requires: python-Arpeggio >= 1.9.0
|
||||
Requires: python-click >= 7.0
|
||||
Requires: python-future
|
||||
Requires: python-setuptools
|
||||
%if "%{python_flavor}" == "python2"
|
||||
Requires: python2-xml
|
||||
@@ -46,6 +47,7 @@ BuildArch: noarch
|
||||
BuildRequires: %{python_module Arpeggio}
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module click >= 7.0}
|
||||
BuildRequires: %{python_module future}
|
||||
BuildRequires: %{python_module html5lib}
|
||||
BuildRequires: %{python_module memory_profiler}
|
||||
BuildRequires: %{python_module pytest}
|
||||
|
Reference in New Issue
Block a user