14
0
forked from pool/python-textX

Accepting request 783789 from home:pgajdos:python

- version update to 2.1.0
  ### Added
  - Added new function `textx.scoping.is_file_included` ([#197]).
  ### Changed
  - Allow passing kwargs (specially - file_name) argument when loading metamodel
    from string (needed for `textX-LS v0.1.0`) ([#211]).
  - Changed the parser rule for regex matches. Spaces are not stripped any more
    from the beginning and the end of the regexp-pattern. This could be possible
    **BIC** for some special cases [#208].
  - Changed function name `textx.scoping.get_all_models_including_attached_models`
    to `textx.scoping.get_included_models` (marked old function
    as deprecated) ([#197]).
  - Delete all models touched while loading a model, when an error occurs
    while loading in all repositories (strong exception safety guarantee) ([#200]).

OBS-URL: https://build.opensuse.org/request/show/783789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=23
This commit is contained in:
Tomáš Chvátal
2020-03-11 11:46:33 +00:00
committed by Git OBS Bridge
parent 7c8d5d2309
commit edfee96d21
4 changed files with 25 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a2e40b4c5772072b2a7da32e3fa11b950a1233a0852a127819402a6bb8922b6
size 1821512

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70c1439764e2c9eb4eef579d7145fb506975ebfc827d377c1df3d85217225b01
size 1827279

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Mar 11 11:27:12 UTC 2020 - pgajdos@suse.com
- version update to 2.1.0
### Added
- Added new function `textx.scoping.is_file_included` ([#197]).
### Changed
- Allow passing kwargs (specially - file_name) argument when loading metamodel
from string (needed for `textX-LS v0.1.0`) ([#211]).
- Changed the parser rule for regex matches. Spaces are not stripped any more
from the beginning and the end of the regexp-pattern. This could be possible
**BIC** for some special cases [#208].
- Changed function name `textx.scoping.get_all_models_including_attached_models`
to `textx.scoping.get_included_models` (marked old function
as deprecated) ([#197]).
- Delete all models touched while loading a model, when an error occurs
while loading in all repositories (strong exception safety guarantee) ([#200]).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 9 11:53:21 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at> Tue Jul 9 11:53:21 UTC 2019 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-textX # spec file for package python-textX
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 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
@@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-textX Name: python-textX
Version: 2.0.1 Version: 2.1.0
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
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://textx.github.io/textX/stable/ URL: https://textx.github.io/textX/stable/
Source: https://github.com/igordejanovic/textX/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source: https://github.com/igordejanovic/textX/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
@@ -40,7 +40,6 @@ BuildRequires: %{python_module click >= 7.0}
BuildRequires: %{python_module memory_profiler} BuildRequires: %{python_module memory_profiler}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
# /SECTION # /SECTION
%python_subpackages %python_subpackages
%description %description
@@ -115,6 +114,6 @@ export PATH=$PATH:%{buildroot}%{_bindir}
%{python_sitelib}/* %{python_sitelib}/*
%python3_only %{_bindir}/textx %python3_only %{_bindir}/textx
%license LICENSE.txt %license LICENSE.txt
%doc AUTHORS.md CHANGELOG.md README.rst %doc AUTHORS.md CHANGELOG.md README.md
%changelog %changelog