commit python-textX for openSUSE:Factory
Hello community, here is the log from the commit of package python-textX for openSUSE:Factory checked in at 2020-11-09 13:57:49 Comparing /work/SRC/openSUSE:Factory/python-textX (Old) and /work/SRC/openSUSE:Factory/.python-textX.new.11331 (New) Package is "python-textX" Mon Nov 9 13:57:49 2020 rev:13 rq:846971 version:2.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes 2020-08-18 15:05:41.179907533 +0200 +++ /work/SRC/openSUSE:Factory/.python-textX.new.11331/python-textX.changes 2020-11-09 13:59:01.931752016 +0100 @@ -1,0 +2,47 @@ +Sun Nov 1 17:56:21 UTC 2020 - Sebastian Wagner + +- remove fix_tests_setupcfg.patch, included upstream +- update to version 2.3.0: + - Added: +- `textx generate`. Documented passing in arbitrary parameters which can be + used in the generator function. Also, implemented passing of model + parameters defined in the meta-model (`model_param_defs` and + `_tx_model_params`) ([#299]) +- `get_location` function for producing `line/col/filename` from any textX + object. ([#294]) +- `builtin_models` of type `ModelRepository` to meta-model constructor. Used + to supply pre-loaded models for `ImportURI` based scoping providers as a + fallback to search into. ([#284]) +- Initial implementation of TEP-001 ([#111]) allowing to specify scope + provider behavior within the grammar itself. [#274] and [#287] introduce + the RREL (reference resolving expression language) to define how + references are resolved. Details see `rrel.md`. +- Parameter `should_follow` of callable type to `get_children` and + `get_children_of_type` model API calls to decide if the element should be + traversed. ([#281]) + - Fixed: +- Fixed bug with Falsy user classes in `get_children` ([#288]) +- Fixed bug with unhashable objects during dot export ([#283]) +- Fixed bug where (Ext)RelativeName scope providers accepted any referenced + object that contained the lookup name in its name. Thanks ipa-mdl@GitHub + ([#267]) +- Fixed bug in `flow_dsl` test project causing static files not being included + in package build/installation. Thanks sebix@GitHub ([#272]). +- Fixed bug, where user classes not used in the grammar caused exceptions + ([#270]): now, when passing a list of user classes, you need to use them in + your grammar. You can alternatively also pass a callable (see metamodel.md; + [#273]). Also, using base classes for rules from imported grammars in + conjunction with user classes is not allowed and results in an exception. +- Fixed bug in `export.py` concerning html escaping in the dot export of a + textx meta-model ([#276]). + - Changed: +- `_tx_model_param_definitions` deprecated in favor of `model_param_defs` ([#298]). +- `click` is now an optional dependency, only when CLI is needed ([#292]) +- Make warning about not overwriting generated file more visible + ([01341ec3](https://github.com/textX/textX/commit/01341ec381bfb4c8c27bcec5d2998a34d207f430)) +- Truncate long strings during dot export for better diagram readability ([#282]). +- Changed `unhashable type` exception when a list is used for `name` attributes by + raising a more informative exception and extending docs to document the issue + and a proper way to solve it ([#40], [#266]). + +--- Old: fix_tests_setupcfg.patch python-textX-2.2.0.tar.gz New: python-textX-2.3.0.tar.gz Other differences: -- ++ python-textX.spec ++ --- /var/tmp/diff_new_pack.OstPwg/_old 2020-11-09 13:59:02.423750942 +0100 +++ /var/tmp/diff_new_pack.OstPwg/_new 2020-11-09 13:59:02.423750942 +0100 @@ -18,15 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-textX -Version:2.2.0 +Version:2.3.0 Release:0 Summary:Meta-language for DSL implementation inspired by Xtext License:MIT Group: Development/Languages/Python URL:https://textx.github.io/textX/stable/ -Source: https://github.com/igordejanovic/textX/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM fix_tests_setupcfg.path -- based on https://github.com/textX/textX/pull/272.patch without changelog -Patch0: fix_tests_setupcfg.patch +Source: https://github.com/igordejanovic/textX/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes @@ -42,6 +40,7 @@ BuildRequires: %{python_module Arpeggio}
commit python-textX for openSUSE:Factory
Hello community, here is the log from the commit of package python-textX for openSUSE:Factory checked in at 2020-08-18 15:05:31 Comparing /work/SRC/openSUSE:Factory/python-textX (Old) and /work/SRC/openSUSE:Factory/.python-textX.new.3399 (New) Package is "python-textX" Tue Aug 18 15:05:31 2020 rev:12 rq:825373 version:2.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes 2020-05-19 14:48:57.308132739 +0200 +++ /work/SRC/openSUSE:Factory/.python-textX.new.3399/python-textX.changes 2020-08-18 15:05:41.179907533 +0200 @@ -1,0 +2,38 @@ +Thu Aug 6 13:16:43 UTC 2020 - Sebastian Wagner + +- update to version 2.2.0: + - Added: + - Initial docs for Jinja code generator support (from +[textX-jinja](https://github.com/textX/textX-jinja)) ([#264]). + - Analyzing grammars programmatically as plain textX models +(`grammar_model_from_str/file`) ([#235]) + - Initial `startproject` scaffolding (from +[textX-dev](https://github.com/textX/textX-dev)) docs ([#234]) + - Generator helper functions `get_output_filename` and `gen_file` ([#233]) + - `textx version` command ([#219]) + - Versions for languages/packages in `list-languages` and `list-generators` +commands ([#228]) + - Added the ability to specify extra parameters during `model_from_file` or +`model_from_str` and to define which extra parameters exist in the +meta-model ([#243]). + - Fixed: + - Fixed several instances of invalid truthiness checking. Thanks +markusschmaus@GitHub ([#250]) + - Fixed applying multiple grammar rule modifiers ([#246]) + - Fixed exception on calling `check` CLI command with relative path name. + - Fixed return value of textx generate and check commands: we return a failure +on error now ([#222]) + - Fixed type checking for references to builtin elements ([#218]) + - Changed: + - User classes can now be immutable (e.g. `attr.frozen`) or can use +`__slots__`. Thanks markusschmaus@GitHub ([#256, #260, #261]) + - Cleanup of setup configuration and install scripts [#231] + - Dot/PlantUML rendering of meta-models: remove rendering of base types, +improve rendering of required/optional, render match rules as a single +table. ([#225]) + - Allow passing kwargs in `metamodel_for_file/language` registration API +calls. ([#224]) +- Add patch to fix tests: + * fix_tests_setupcfg.patch + +--- Old: python-textX-2.1.0.tar.gz New: fix_tests_setupcfg.patch python-textX-2.2.0.tar.gz Other differences: -- ++ python-textX.spec ++ --- /var/tmp/diff_new_pack.0SNhu9/_old 2020-08-18 15:05:43.495908491 +0200 +++ /var/tmp/diff_new_pack.0SNhu9/_new 2020-08-18 15:05:43.499908492 +0200 @@ -18,14 +18,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-textX -Version:2.1.0 +Version:2.2.0 Release:0 Summary:Meta-language for DSL implementation inspired by Xtext License:MIT Group: Development/Languages/Python URL:https://textx.github.io/textX/stable/ Source: https://github.com/igordejanovic/textX/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM fix_tests_setupcfg.path -- based on https://github.com/textX/textX/pull/272.patch without changelog +Patch0: fix_tests_setupcfg.patch BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Arpeggio >= 1.9.0 @@ -62,6 +65,7 @@ sed -i '0,/#!\/usr\/bin\/env/ d' examples/hello_world/hello.py # do not hardcode deps sed -i -e 's:click==:click>=:g' setup.py +%patch0 -p1 %build %python_build @@ -98,6 +102,7 @@ pushd tests/functional/registration/projects/flow_codegen %python_install popd +%python_expand install -m 0644 textx/textx.tx %{buildroot}%{$python_sitelib}/textx/ %python_clone -a %{buildroot}%{_bindir}/textx %python_expand %fdupes %{buildroot}%{$python_sitelib}/textx ++ fix_tests_setupcfg.patch ++ >From f804ff0864c65caaf8a3356357024639aa785911 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sat, 8 Aug 2020 10:07:07 +0200 Subject: [PATCH] fix setup.cfg in flow_dsl project to include data copy and paste error causes necessary data to be not included in builds --- CHANGELOG.md | 2 ++ tests/functional/registration/projects/flow_dsl/setup.cfg | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/functional/registration/projects/flow_dsl/setup.cfg b/tests/functional/registration/projects/flow_dsl/setup.cfg index e9e6f366.
commit python-textX for openSUSE:Factory
Hello community, here is the log from the commit of package python-textX for openSUSE:Factory checked in at 2020-05-19 14:48:54 Comparing /work/SRC/openSUSE:Factory/python-textX (Old) and /work/SRC/openSUSE:Factory/.python-textX.new.2738 (New) Package is "python-textX" Tue May 19 14:48:54 2020 rev:11 rq:806971 version:2.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes 2020-03-11 18:56:10.111696938 +0100 +++ /work/SRC/openSUSE:Factory/.python-textX.new.2738/python-textX.changes 2020-05-19 14:48:57.308132739 +0200 @@ -1,0 +2,5 @@ +Mon May 18 09:10:29 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-textX.spec ++ --- /var/tmp/diff_new_pack.UvnhPL/_old 2020-05-19 14:48:58.040134362 +0200 +++ /var/tmp/diff_new_pack.UvnhPL/_new 2020-05-19 14:48:58.052134389 +0200 @@ -31,6 +31,8 @@ Requires: python-Arpeggio >= 1.9.0 Requires: python-click >= 7.0 Requires: python-setuptools +Requires(post): update-alternatives +Requires(postun): update-alternatives Obsoletes: %{name}-doc BuildArch: noarch # SECTION tests @@ -96,13 +98,14 @@ pushd tests/functional/registration/projects/flow_codegen %python_install popd +%python_clone -a %{buildroot}%{_bindir}/textx %python_expand %fdupes %{buildroot}%{$python_sitelib}/textx %check export PYTHONDONTWRITEBYTECODE=1 export LC_ALL=C.UTF-8 -export PATH=$PATH:%{buildroot}%{_bindir} -%pytest +# textx executable is update-alternative'd +%pytest -k 'not test_subcommand' %python_expand rm -r %{buildroot}%{$python_sitelib}/data_dsl* %python_expand rm -r %{buildroot}%{$python_sitelib}/flow_codegen* %python_expand rm -r %{buildroot}%{$python_sitelib}/flow_dsl* @@ -110,9 +113,15 @@ %python_expand rm -r %{buildroot}%{$python_sitelib}/textX_subcommand_test* %python_expand rm -r %{buildroot}%{$python_sitelib}/textx_subcommand_test* +%post +%python_install_alternative textx + +%postun +%python_uninstall_alternative textx + %files %{python_files} %{python_sitelib}/* -%python3_only %{_bindir}/textx +%python_alternative %{_bindir}/textx %license LICENSE.txt %doc AUTHORS.md CHANGELOG.md README.md
commit python-textX for openSUSE:Factory
Hello community, here is the log from the commit of package python-textX for openSUSE:Factory checked in at 2020-03-11 18:54:30 Comparing /work/SRC/openSUSE:Factory/python-textX (Old) and /work/SRC/openSUSE:Factory/.python-textX.new.3160 (New) Package is "python-textX" Wed Mar 11 18:54:30 2020 rev:10 rq:783798 version:2.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes 2019-07-17 13:21:14.327607825 +0200 +++ /work/SRC/openSUSE:Factory/.python-textX.new.3160/python-textX.changes 2020-03-11 18:56:10.111696938 +0100 @@ -1,0 +2,18 @@ +Wed Mar 11 11:27:12 UTC 2020 - pgaj...@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]). + +--- Old: python-textX-2.0.1.tar.gz New: python-textX-2.1.0.tar.gz Other differences: -- ++ python-textX.spec ++ --- /var/tmp/diff_new_pack.HWM5MS/_old 2020-03-11 18:56:11.263697453 +0100 +++ /var/tmp/diff_new_pack.HWM5MS/_new 2020-03-11 18:56:11.263697453 +0100 @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-textX -Version:2.0.1 +Version:2.1.0 Release:0 Summary:Meta-language for DSL implementation inspired by Xtext License:MIT 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 BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -40,7 +40,6 @@ BuildRequires: %{python_module memory_profiler} BuildRequires: %{python_module pytest} # /SECTION - %python_subpackages %description @@ -115,6 +114,6 @@ %{python_sitelib}/* %python3_only %{_bindir}/textx %license LICENSE.txt -%doc AUTHORS.md CHANGELOG.md README.rst +%doc AUTHORS.md CHANGELOG.md README.md %changelog ++ python-textX-2.0.1.tar.gz -> python-textX-2.1.0.tar.gz ++ 2132 lines of diff (skipped)
commit python-textX for openSUSE:Factory
Hello community, here is the log from the commit of package python-textX for openSUSE:Factory checked in at 2019-07-17 13:20:42 Comparing /work/SRC/openSUSE:Factory/python-textX (Old) and /work/SRC/openSUSE:Factory/.python-textX.new.1887 (New) Package is "python-textX" Wed Jul 17 13:20:42 2019 rev:9 rq:715677 version:2.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes 2019-06-17 10:34:25.545231632 +0200 +++ /work/SRC/openSUSE:Factory/.python-textX.new.1887/python-textX.changes 2019-07-17 13:21:14.327607825 +0200 @@ -1,0 +2,5 @@ +Tue Jul 9 11:53:21 UTC 2019 - Sebastian Wagner + +- Fix Tests for Leap 15.1: click requires UTF-8 locale. + +--- Other differences: -- ++ python-textX.spec ++ --- /var/tmp/diff_new_pack.0aEXyK/_old 2019-07-17 13:21:14.875607513 +0200 +++ /var/tmp/diff_new_pack.0aEXyK/_new 2019-07-17 13:21:14.879607511 +0200 @@ -101,7 +101,9 @@ %check export PYTHONDONTWRITEBYTECODE=1 -PATH=$PATH:%{buildroot}%{_bindir} %pytest +export LC_ALL=C.UTF-8 +export PATH=$PATH:%{buildroot}%{_bindir} +%pytest %python_expand rm -r %{buildroot}%{$python_sitelib}/data_dsl* %python_expand rm -r %{buildroot}%{$python_sitelib}/flow_codegen* %python_expand rm -r %{buildroot}%{$python_sitelib}/flow_dsl*
commit python-textX for openSUSE:Factory
Hello community, here is the log from the commit of package python-textX for openSUSE:Factory checked in at 2019-06-17 10:34:09 Comparing /work/SRC/openSUSE:Factory/python-textX (Old) and /work/SRC/openSUSE:Factory/.python-textX.new.4811 (New) Package is "python-textX" Mon Jun 17 10:34:09 2019 rev:8 rq:710112 version:2.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes 2019-06-12 13:13:01.128897234 +0200 +++ /work/SRC/openSUSE:Factory/.python-textX.new.4811/python-textX.changes 2019-06-17 10:34:25.545231632 +0200 @@ -1,0 +2,5 @@ +Sat Jun 8 14:09:51 UTC 2019 - Sebastian Wagner + +- Use documentation page as homepage instead of repository. + +--- Other differences: -- ++ python-textX.spec ++ --- /var/tmp/diff_new_pack.0jqqI1/_old 2019-06-17 10:34:26.073231368 +0200 +++ /var/tmp/diff_new_pack.0jqqI1/_new 2019-06-17 10:34:26.073231368 +0200 @@ -23,7 +23,7 @@ Summary:Meta-language for DSL implementation inspired by Xtext License:MIT Group: Development/Languages/Python -URL:https://github.com/igordejanovic/textX +URL:http://textx.github.io/textX/stable/ Source: https://github.com/igordejanovic/textX/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes
commit python-textX for openSUSE:Factory
Hello community, here is the log from the commit of package python-textX for openSUSE:Factory checked in at 2019-06-12 13:12:58 Comparing /work/SRC/openSUSE:Factory/python-textX (Old) and /work/SRC/openSUSE:Factory/.python-textX.new.4811 (New) Package is "python-textX" Wed Jun 12 13:12:58 2019 rev:7 rq:708274 version:2.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes 2019-04-08 10:40:24.895296580 +0200 +++ /work/SRC/openSUSE:Factory/.python-textX.new.4811/python-textX.changes 2019-06-12 13:13:01.128897234 +0200 @@ -1,0 +2,78 @@ +Thu Jun 6 18:56:06 UTC 2019 - Sebastian Wagner + +- Fix the tests + +--- +Tue Jun 4 14:23:23 UTC 2019 - Tomáš Chvátal + +- Make sure the package actually again gets to the test phase + * the tests are actually failing now + +--- +Sun Jun 2 15:22:59 UTC 2019 - Sebastian Wagner + +- update to version 2.0.1: + - Added: + - [Registration and discovery] of languages and generators ([#187]) + - New textx CLI commands for listing generators and languages +(`list-generators`, `list-languages`) and calling a generator (`generate`) ([#187]) + - Meta-models may now [reference other registered meta-models] using the +`reference` statement ([#187]) + - Adding examples and documentation related to scope providers (related to +model modification through scope providers) ([#168]) + - metamodel export feature for [PlantUML] ([#165]) + - `textx_isinstance` from `textx.scoping.tools` made available in `textx` +([#164], [#157]) + - CLI extensibility ([#162], [#161]) + - An initial version of FAQ page ([#138]). Thanks Aluriak@GitHub + - A version of `calc.py` exercises usage of +`text.scoping.tools.textx_isinstance()` to inspect model objects types +during traversal. ([#136], [#123]). Thanks dkrikun@GitHub + - A version of `calc.py` in expression example that exercises dynamically adding +properties to object classes ([#126]). Thanks dkrikun@GitHub + - python like imports (named import rules, scope providers affected) ([#114]) + - Added `STRICTFLOAT` as buildin type to allow to distinguish ints from floats +in `NUMBER`. Fixed docu link ([#98]). Possible **(BIC)** + - Added [flake8] and [coverage] checking ([#92]) + - Changed: + - All textX commands implemented using textX CLI extensibility. `check` +command reworked to support the new registration feature ([#187]) **(BIC)** + - (Meta-)model visualization reworked as a set of textX generators ([#187]). +**(BIC)** + - Made scope provider implementation of `RelativeName` and `ExtRelativeName` +more readable ([#186]). Minor functional changes, not very probable to have +any impact (only affects model-paths containing a list not at the end of the +path; see [#186]). Possible **(BIC)**. + - Improved handling of abstract rules references. Improved the definition of +rules for various cases. Docs + tests ([#185], [#166]) **(BIC)** + - Changed the time of call of match rule object processors to be during the +model construction. This enable proper override of base types processors and +calls on nested match rules ([#183], [#182], [#96]). Possible **(BIC)** + - CLI migrated to the [click] library ([#162]) + - Docs improvements ([#146], [#153], [#151]). Thanks simkimsia@GitHub. + - `FQN` constuctor param `follow_loaded_models` removed and introduced +callback `scope_rediction_logic` to implement arbitrary logic on FQN +resolution ([#133], [#114], [#103]) **(BIC)** + - Changed attribute name for the meta-model object (from `metamodel._parser` +to `metamodel._parser_blueprint`). ([#93]) **(BIC)** + - Started using _[Keep a Changelog][keepachangelog]_ ([#174]) + - Started using _[Semantic Versioning][semver]_ ([#174]) + - Dropped support for Python 3.3 + - Fixed: + - White-spaces in string matches were erroneously stripped ([#188]) + - Calling of match rule object processors ([#183], [#182], [#96]) + - Circular rule references in grammars ([#173], [#159], [#155]) + - Assertion error while calling object processors with multi meta models +(extended grammars) and custom types ([#141], [#140]) + - Using a sequence of matches and rule reference in an abstract rule choice +alternative, and explicitly disallowing referencing more than one rule in an +abstract rule choice alternative ([#134]) + - Unicode requirement for (meta)-model strings API parameters made strict. +This should prevent common errors with Python 2.x. ([#120]) (related: [#99], +[#105], [#117]). Possible **(BIC)** + - OS incompatibility fixes (path separator). ([#114]) + - Object processors called twice for imported models ([#108], [#1
commit python-textX for openSUSE:Factory
Hello community, here is the log from the commit of package python-textX for openSUSE:Factory checked in at 2019-04-08 10:39:02 Comparing /work/SRC/openSUSE:Factory/python-textX (Old) and /work/SRC/openSUSE:Factory/.python-textX.new.3908 (New) Package is "python-textX" Mon Apr 8 10:39:02 2019 rev:6 rq:691983 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes 2018-12-24 11:45:13.537248237 +0100 +++ /work/SRC/openSUSE:Factory/.python-textX.new.3908/python-textX.changes 2019-04-08 10:40:24.895296580 +0200 @@ -1,0 +2,27 @@ +Fri Apr 5 08:46:58 UTC 2019 - pgaj...@suse.com + +- version update to 1.8.0 + - https://github.com/igordejanovic/textX/pull/71 + - Regular expression with group support + - See [the + docs](http://www.igordejanovic.net/textX/development/grammar/#matches) + for usage. + - https://github.com/igordejanovic/textX/pull/69 + - Added search path feature (issue #66) - search path support for model + files (importURI scope providers; see docs/scoping.md). + - https://github.com/igordejanovic/textX/pull/77 + - New multi meta model support for references-only for better meta model + modularity (referencing models without having access to the grammar, + see docs/multimetamodel.md). + - https://github.com/igordejanovic/textX/pull/79 + - Fixing obj_processors calling. + - https://github.com/igordejanovic/textX/pull/84 + - New contribution guide. + - https://github.com/igordejanovic/textX/pull/81 + - Bugfix: lost encoding for multi meta-model. + - https://github.com/igordejanovic/textX/pull/68 + - changed parser access in metamodel (private attribute "_parser") + - mkdocs documentation now uses [mike](https://github.com/jimporter/mike) for + multiversion support. + +--- Old: v1.7.0.tar.gz New: v1.8.0.tar.gz Other differences: -- ++ python-textX.spec ++ --- /var/tmp/diff_new_pack.pg1Rw5/_old 2019-04-08 10:40:25.679296771 +0200 +++ /var/tmp/diff_new_pack.pg1Rw5/_new 2019-04-08 10:40:25.679296771 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-textX # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-textX -Version:1.7.0 +Version:1.8.0 Release:0 Summary:Meta-language for DSL implementation inspired by Xtext License:MIT @@ -37,7 +37,8 @@ BuildRequires: %{python_module memory_profiler} BuildRequires: %{python_module pytest} # /SECTION -Requires: python-Arpeggio +Requires: python-Arpeggio >= 1.9.0 +Requires: python-setuptools Suggests: %name-doc BuildArch: noarch ++ v1.7.0.tar.gz -> v1.8.0.tar.gz ++ 3674 lines of diff (skipped)
commit python-textX for openSUSE:Factory
Hello community, here is the log from the commit of package python-textX for openSUSE:Factory checked in at 2018-12-24 11:45:12 Comparing /work/SRC/openSUSE:Factory/python-textX (Old) and /work/SRC/openSUSE:Factory/.python-textX.new.28833 (New) Package is "python-textX" Mon Dec 24 11:45:12 2018 rev:5 rq:659717 version:1.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes 2018-11-26 10:29:10.881107141 +0100 +++ /work/SRC/openSUSE:Factory/.python-textX.new.28833/python-textX.changes 2018-12-24 11:45:13.537248237 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:55:15 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-textX.spec ++ --- /var/tmp/diff_new_pack.ABdCxh/_old 2018-12-24 11:45:14.305247557 +0100 +++ /var/tmp/diff_new_pack.ABdCxh/_new 2018-12-24 11:45:14.313247550 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -28,7 +28,6 @@ #Source: https://files.pythonhosted.org/packages/source/t/textX/textX-%%{version}.tar.gz # PyPI release misses docs and tests Source: https://github.com/igordejanovic/textX/archive/v%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros
commit python-textX for openSUSE:Factory
Hello community, here is the log from the commit of package python-textX for openSUSE:Factory checked in at 2018-11-26 10:28:52 Comparing /work/SRC/openSUSE:Factory/python-textX (Old) and /work/SRC/openSUSE:Factory/.python-textX.new.19453 (New) Package is "python-textX" Mon Nov 26 10:28:52 2018 rev:4 rq:651222 version:1.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes 2018-07-18 22:55:21.382679064 +0200 +++ /work/SRC/openSUSE:Factory/.python-textX.new.19453/python-textX.changes 2018-11-26 10:29:10.881107141 +0100 @@ -1,0 +2,6 @@ +Thu Nov 22 14:31:16 UTC 2018 - Bernhard Wiedemann + +- drop indeterministic .dot files to make package build reproducible + (boo#1114571) + +--- Other differences: -- ++ python-textX.spec ++ --- /var/tmp/diff_new_pack.OfNbza/_old 2018-11-26 10:29:11.281106671 +0100 +++ /var/tmp/diff_new_pack.OfNbza/_new 2018-11-26 10:29:11.285106667 +0100 @@ -77,6 +77,7 @@ %check %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} +find examples/ -name \*.dot | xargs rm # drop indeterministic files (boo#1114571) %files %{python_files} %defattr(-,root,root,-)
commit python-textX for openSUSE:Factory
Hello community, here is the log from the commit of package python-textX for openSUSE:Factory checked in at 2018-07-18 22:54:29 Comparing /work/SRC/openSUSE:Factory/python-textX (Old) and /work/SRC/openSUSE:Factory/.python-textX.new (New) Package is "python-textX" Wed Jul 18 22:54:29 2018 rev:3 rq:622800 version:1.7.0 Changes: --- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes 2018-02-26 23:25:31.829517302 +0100 +++ /work/SRC/openSUSE:Factory/.python-textX.new/python-textX.changes 2018-07-18 22:55:21.382679064 +0200 @@ -1,0 +2,71 @@ +Fri Jul 6 20:48:57 UTC 2018 - sebix+novell@sebix.at + +- update to version 1.7.0: + - A major feature of this release is multi-(meta-)model support with +configurable resolving techniques. Thanks Pierre Bayerl (goto40@GitHub)! + +The docs sections are [here](http://www.igordejanovic.net/textX/scoping/) +and [here](http://www.igordejanovic.net/textX/multimetamodel/). + +Details follow: +- added new function textx.get_model.children to search arbritrary children + using a lambda predicate. +- remapped textx.model.get_children_of_type to the new children function +(changed the logic, such that the root node is also checked to be model +object). +- added new metamodel function to register scope providers. Scope providers +are callables, which return the referenced object. +- added optional attribute "_tx_model_repository", see metamodel.py + documentation +- added attribute "scope_provider" like "obj_processors" to organize scope + providers +- added an optional argument to model_from_str and model_from_file: + "pre_ref_resolution_callback": this is required internally to prepare the + loading of other model files. +- changed reference resolution in model.py + - moved default resolution to textx.scoping.py + - select the scope provider based on rule and rule-attribute (see +scoping.py documentation) + - added a Postponed type to postpone the resolution + - introduced a multi-pass resolution (implemented at the end of +parse_tree_to_objgraph; introduced new helper argument, e.g., a new +optional argument "is_this_the_main_model" and +"pre_ref_resolution_callback" (see metamodel.py above) to support +reference resolution in the presence of different model files. +- added a new module textx.scoping, to provide some scope providers (e.g. a + fully qualified name provider) - see scoping.py: + - full qualified names for reference names (e.g. package.package.class) + - global scope (model distributed over different files - loaded globally) + - import scope (model distributed over different files - loaded when +imported) + - relative scopes (e.g. instance.method where method is defined for the +class of the instance in a model of classes, methods and instances) + - selecting the metamodel based on a file pattern when loading models +- added tests (mostly scope related - some of them also test other stuff, + like buildins) +- exceptions where adapted to include a file name (makes errors more + visible) +- The metamodel now allows to specify a global model repository. With this + you can now share models across metamodels (before you could only do this + within one metamodel or language). +- The metamodel clones the parser when parsing a model file. The meta model + holds one parser, which is clone for every model to be parsed. +- TextXModelParser now has a clone method. + (TBC: is the clone ok: see responsibility of the method) +- model.py: the resolution loop logic now mostly moved to a separate object + ReferenceResolver, which holds the parser. + - The reference resolver are build from all model files affected (loaded). +This may involve multiple meta models. + - Then all references are resolved in one loop. + - Finally the helper objects (ReferenceResolver) are purged. +- The MetaModelProvider has a clear-method now (useful for tests). + - Backward incompatible change: match filters and object processors unified. +Now there are only object processors but they are called for any type of +rule and the returned value if exists is used instead of the original +object. See [the +docs](http://www.igordejanovic.net/textX/metamodel/#object-processors). In +order to migrate your match filters just register them as object processors. + - Fixing FLOAT regex. Thanks Boris Marin (borismarin@GitHub)! + - Fixing position info on obj cross ref. Thanks Daniel Elero (danixeee@GitHub)! + +--- Old: v1.6.1.tar.gz New: v1.7.0.tar.gz
commit python-textX for openSUSE:Factory
Hello community, here is the log from the commit of package python-textX for openSUSE:Factory checked in at 2018-02-26 23:25:29 Comparing /work/SRC/openSUSE:Factory/python-textX (Old) and /work/SRC/openSUSE:Factory/.python-textX.new (New) Package is "python-textX" Mon Feb 26 23:25:29 2018 rev:2 rq:579970 version:1.6.1 Changes: --- /work/SRC/openSUSE:Factory/python-textX/python-textX.changes 2018-02-19 13:02:14.051337046 +0100 +++ /work/SRC/openSUSE:Factory/.python-textX.new/python-textX.changes 2018-02-26 23:25:31.829517302 +0100 @@ -1,0 +2,5 @@ +Sun Feb 18 18:52:02 UTC 2018 - jeng...@inai.de + +- Compact description + +--- Other differences: -- ++ python-textX.spec ++ --- /var/tmp/diff_new_pack.13zkes/_old 2018-02-26 23:25:32.885479326 +0100 +++ /var/tmp/diff_new_pack.13zkes/_new 2018-02-26 23:25:32.889479181 +0100 @@ -52,16 +52,13 @@ textX is a meta-language for building Domain-Specific Languages (DSLs) in Python. It is inspired by Xtext. -In a nutshell, textX will help you build your textual language in an easy way. -You can invent your own language or build a support for already existing -textual language or file format. - From a single language description (grammar), textX will build a -parser and a meta-model (a.k.a. abstract syntax) for the language. -See the docs for the details. +parser and a meta-model (a.k.a. abstract syntax) for textual +languages. Own languages can be invented or support for already +existing textual language or file format be built. -textX follows the syntax and semantics of Xtext but differs in some places -and is implemented 100% in Python using Arpeggio PEG parser - no grammar +textX follows the syntax and semantics of Xtext, but differs in some places +and is implemented in Python using the Arpeggio PEG parser - no grammar ambiguities, unlimited lookahead, interpreter style of work. %prep