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 <[email protected]> + +- 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 <[email protected]> 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..aec061de 100644 --- a/tests/functional/registration/projects/flow_dsl/setup.cfg +++ b/tests/functional/registration/projects/flow_dsl/setup.cfg @@ -8,8 +8,8 @@ install_requires = textX [options.package_data] -data_dsl = *.tx +flow_dsl = *.tx [options.entry_points] textx_languages = - flow_dsl = flow_dsl:flow_dsl \ No newline at end of file + flow_dsl = flow_dsl:flow_dsl ++++++ python-textX-2.1.0.tar.gz -> python-textX-2.2.0.tar.gz ++++++ ++++ 5590 lines of diff (skipped)
